docs: update documents
This commit is contained in:
parent
eb421892fe
commit
c5d95eae0a
3 changed files with 6 additions and 1 deletions
|
|
@ -78,6 +78,8 @@ func main() {
|
||||||
- `legend.right` legend离容器右侧的距离,其值可以为具体的像素值(20)或百分比(20%)
|
- `legend.right` legend离容器右侧的距离,其值可以为具体的像素值(20)或百分比(20%)
|
||||||
- `series` 图表的数据项列表
|
- `series` 图表的数据项列表
|
||||||
- `series.type` 图表的展示类型,暂支持`line`, `bar`以及`pie`,需要注意`pie`只能单独使用
|
- `series.type` 图表的展示类型,暂支持`line`, `bar`以及`pie`,需要注意`pie`只能单独使用
|
||||||
|
- `series.label.show` 是否显示文本标签(默认为对应的值)
|
||||||
|
- `series.label.distance` 距离图形元素的距离
|
||||||
- `series.yAxisIndex` 该数据项使用的y轴,默认为0,对yAxis的配置对应
|
- `series.yAxisIndex` 该数据项使用的y轴,默认为0,对yAxis的配置对应
|
||||||
- `series.itemStyle.color` 该数据项展示时使用的颜色
|
- `series.itemStyle.color` 该数据项展示时使用的颜色
|
||||||
- `series.data` 数据项对应的数据数组,支持以下形式的数据:
|
- `series.data` 数据项对应的数据数组,支持以下形式的数据:
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 296 KiB After Width: | Height: | Size: 322 KiB |
|
|
@ -19,7 +19,7 @@ var html = `<!DOCTYPE html>
|
||||||
background-color: #e0e0e0;
|
background-color: #e0e0e0;
|
||||||
}
|
}
|
||||||
.charts {
|
.charts {
|
||||||
width: 830px;
|
width: 810px;
|
||||||
margin: 10px auto;
|
margin: 10px auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,9 @@ var html = `<!DOCTYPE html>
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
.grid:nth-child(even) {
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
.grid svg {
|
.grid svg {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue