From c4298008f231b73a04203fc64598e2d281cf246d Mon Sep 17 00:00:00 2001
From: jiaming <743192023@qq.com>
Date: Mon, 24 Dec 2018 14:09:40 +0800
Subject: [PATCH] some modify
---
src/views/demo/chart.vue | 499 +++++++++++++++------------------------
1 file changed, 188 insertions(+), 311 deletions(-)
diff --git a/src/views/demo/chart.vue b/src/views/demo/chart.vue
index 2056333..55bdff7 100644
--- a/src/views/demo/chart.vue
+++ b/src/views/demo/chart.vue
@@ -2,39 +2,9 @@
-
- Attention
+
-
- 下列组件颜色配置均绑定在节点的colors属性上
-
-
-
- 若未绑定将自动使用默认配色
-
-
-
- colors所绑变量应为hex十六进制色的数组,示例如下
-
-
-
-<chart :data="data" :colors="color" />
-
-
-
-// 修改默认配色方案 可直接修改./src/config/color.js
-colors: ['#9cf4a7', '#66d7ee', '#eee966', '#a866ee', '#ee8f66', '#ee66aa']
-// 数组内颜色将自动循环使用
-
-
-
- 如在特殊颜色配置属性中使用colors关键字,将自动将该属性配置指向colors
-
-
-
- 下列组件均不再展示colors属性绑定的变量
-
-
+
-
-
-
-
-
Column-Chart
-
-<column-chart :data="data" :colors="colors" />
-
-
-
-// 1111
-
-
-
-
-
-
-
-
-
Column-Chart
-
-<column-chart :data="data" :colors="colors" />
-
-
-
-// 2222
-
-
-
-
-
-
-
-
-
Column-Chart
-
-
-
-
-// 333
-
-
-
-
-
-
-
-
-
Column-Chart
-
-
-
-
-// 44444
-
-
-
-
-
-
-
-
-
Column-Chart
-
-<column-chart :data="data" :colors="colors" />
-
-
-
-// 55555
-
-
-
-
-
-
-
-
-
Column-Chart
-
-<column-chart :data="data" :colors="colors" />
-
-
-
-// 66666
-
-
-
-
-
@@ -581,8 +462,16 @@ data: [