diff --git a/src/views/OperationalOverview/components/linearBarChart.vue b/src/views/OperationalOverview/components/linearBarChart.vue index e85aa75a..2fbd7e51 100644 --- a/src/views/OperationalOverview/components/linearBarChart.vue +++ b/src/views/OperationalOverview/components/linearBarChart.vue @@ -94,10 +94,10 @@ export default { data: dataList, itemStyle: { normal: { - // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ - // { offset: 0, color: '#9DD5FF' }, - // { offset: 0.3, color: '#1295FF' } - // ]), + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { offset: 0, color: '#9DD5FF' }, + { offset: 0.3, color: '#1295FF' } + ]), label: { show: true, //开启显示 position: 'top', //在上方显示