From 835410b470af18556cef514ac1a888bc130326cb Mon Sep 17 00:00:00 2001 From: JM <32119686+jiaming743@users.noreply.github.com> Date: Thu, 20 Dec 2018 22:37:14 +0800 Subject: [PATCH] some modify --- src/views/demo/chart.vue | 54 ++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 11 deletions(-) diff --git a/src/views/demo/chart.vue b/src/views/demo/chart.vue index 9f9aa24..14b68a0 100644 --- a/src/views/demo/chart.vue +++ b/src/views/demo/chart.vue @@ -512,29 +512,61 @@ export default { columnChartData1: { data: [ - [180, 290, 420, 200, 350, 219], - [ - [45, 32, 66], - [122, 49, 218], - [40, 129, 216], - [45, 66, 45], - [110, 120, 201], - [23, 40, 12] - ] + { + data: [180, 290, 420, 200, 350, 219] + }, + { + data: [ + [45, 32, 66], + [122, 49, 218], + [40, 129, 216], + [45, 66, 45], + [110, 120, 201], + [23, 40, 12] + ] + } ], x: { data: ['西峡', '周口', '南阳', '驻马店', '郑州', '洛阳'] }, y: { grid: true, + gridType: 'dashed', unit: '次', min: 0, max: 600 }, - columnBG: 'rgba(250, 250, 250, 0.2)', - roundColumn: true + columnType: 'butt', + showColumnBG: true }, + // columnChartData1: { + // data: [ + // [180, 290, 420, 200, 350, 219], + // [ + // [45, 32, 66], + // [122, 49, 218], + // [40, 129, 216], + // [45, 66, 45], + // [110, 120, 201], + // [23, 40, 12] + // ] + // ], + // x: { + // grid: true, + // unit: '次', + // min: 0, + // max: 600 + // }, + // y: { + // data: ['西峡', '周口', '南阳', '驻马店', '郑州', '洛阳'], + // grid: true + // }, + // columnBG: 'rgba(250, 250, 250, 0.2)', + // roundColumn: true, + // horizon: true + // }, + radarChartData1: { data: [ {