From dfb95a220896d51a67ce26af5d546ea811b8872e Mon Sep 17 00:00:00 2001 From: JM <32119686+jiaming743@users.noreply.github.com> Date: Sun, 23 Dec 2018 22:34:54 +0800 Subject: [PATCH] some modify --- src/views/demo/chart.vue | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/views/demo/chart.vue b/src/views/demo/chart.vue index 669949f..2056333 100644 --- a/src/views/demo/chart.vue +++ b/src/views/demo/chart.vue @@ -634,24 +634,22 @@ export default { columnChartData1: { data: [ { - data: [180, 290, 420, 200, 350, 219], - fillColor: ['#247efc', '#ff2fdb'] + data: [10, 290, 420, 200, 350, 219], + fillColor: ['#247efc', '#ff2fdb'], + type: 'leftEchelon' }, { - data: [ - [30, 110, 75], - [66, 80, 15], - [125, 136, 116], - [110, 66, 67], - [84, 20, 50], - [69, 28, 45] - ], - fillColor: ['#47bf97', '#e3b4a2', '#fafb5d'] + data: [150, 280, 370, 160, 277, 188], + fillColor: ['#47bf97', '#e3b4a2'], + type: 'rightEchelon' }, { data: [11, 17, 19, 30, 20, 25], - type: 'polyline', - againstAxis: true + // fillColor: ['red', 'orange'], + type: 'smoothline', + againstAxis: true, + lineType: 'dashed', + lineDash: [2, 2] } ], x: { @@ -671,6 +669,7 @@ export default { }, spaceBetween: true, // horizon: true, + // roundColumn: true, localGradient: true },