diff --git a/doc/docs/guide/charts.md b/doc/docs/guide/charts.md index bf443319..a04aa39a 100644 --- a/doc/docs/guide/charts.md +++ b/doc/docs/guide/charts.md @@ -241,3 +241,15 @@ 数据格式和柱线、多柱线都是类似的,注意实际作为name的字段,比如时间字段,有且只能有1个,数据集选择时选择名称,其余是顶点字段,不明白可以看静态数据格式。
![img27](../picture/charts/img_27.png)
![img28](../picture/charts/img_28.png)
+ + +## 柱线堆叠图 + +图表的基本操作和柱状堆叠图、折线堆叠并无大区别,需要在意的是数据格式的区别,绑定动态数据的时候,需要你数据集有4个字段,其中俩个字段作为x,y区分字段,另外俩个作为数值字段。
+![img29](../picture/charts/img_29.png)
+![img30](../picture/charts/img_30.png)
+ +### 数据格式 + +和另外俩个堆叠图相比,多了查询的一列数据,比如 "select a,b,sum(c),sum(d) from aa group by a,b" +![img31](../picture/charts/img_31.png)
diff --git a/doc/docs/picture/charts/img_29.png b/doc/docs/picture/charts/img_29.png new file mode 100644 index 00000000..a954ba5f Binary files /dev/null and b/doc/docs/picture/charts/img_29.png differ diff --git a/doc/docs/picture/charts/img_30.png b/doc/docs/picture/charts/img_30.png new file mode 100644 index 00000000..33d0987b Binary files /dev/null and b/doc/docs/picture/charts/img_30.png differ diff --git a/doc/docs/picture/charts/img_31.png b/doc/docs/picture/charts/img_31.png new file mode 100644 index 00000000..03cc553f Binary files /dev/null and b/doc/docs/picture/charts/img_31.png differ