mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-15 22:06:50 +08:00
refactor(echarts): 重构 ECharts 使用方式并优化图表配置- 在 main.js 中引入 ECharts 及相关组件,并通过 Vue.prototype.$echarts 使 ECharts 在全局可用
- 修改 echarts.vue 组件,使用全局的 $echarts 替代局部引入的 echarts - 优化 overview.vue 中的图表配置,调整颜色渐变和偏移
This commit is contained in:
@@ -61,13 +61,13 @@ export default {
|
||||
color: '#0694A2'
|
||||
},
|
||||
areaStyle: {
|
||||
color: new echarts.graphic.LinearGradient(0, 0, 0, 2, [
|
||||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
||||
{
|
||||
offset: 0,
|
||||
color: '#F3F9FA'
|
||||
color: '#0694A2'
|
||||
},
|
||||
{
|
||||
offset: 0.2,
|
||||
offset: 1,
|
||||
color: '#F3F9FA'
|
||||
}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user