阅读(2510) (0)

ECharts配置项还原

2017-09-22 11:26:28 更新

toolbox.feature.restore   |   Object

ECharts 配置项还原工具。

toolbox.feature.restore.show   |   boolean

[ default: true ]

是否显示配置项还原工具。

toolbox.feature.restore.title   |   boolean

[ default: '还原' ]

配置项还原工具的标题。

toolbox.feature.restore.icon   |   *

Icon 的 path 字符串,ECharts 3 中支持使用自定义的 svg path 作为 icon,格式参见 SVG PathData。可以从 Adobe Illustrator 等工具编辑导出。

toolbox.feature.restore.iconStyle   |   Object

配置项还原的 icon 样式设置。