codecamp

ECharts图例组件配置 翻页按钮

legend.pageIconColor   |   string

[ default: '#2f4554' ]

legend.type 为 'scroll' 时有效。

翻页按钮的颜色。

参见 滚动图例(垂直) 或 滚动图例(水平)


legend.pageIconInactiveColor   |   string

[ default: '#aaa' ]

legend.type 为 'scroll' 时有效。

翻页按钮不激活时(即翻页到头时)的颜色。

参见 滚动图例(垂直) 或 滚动图例(水平)


legend.pageIconSize   |   number, Array

[ default: 15 ]

legend.type 为 'scroll' 时有效。

翻页按钮的大小。可以是数字,也可以是数组,如 [10, 3],表示 [宽,高]。

参见 滚动图例(垂直) 或 滚动图例(水平)


legend.pageTextStyle   |   Object

legend.type 为 'scroll' 时有效。

图例页信息的文字样式。


legend.animation   |   boolean

图例翻页是否使用动画。


legend.animationDurationUpdate   |   number

[ default: 800 ]

图例翻页时的动画时长。

ECharts图例组件配置 图例控制块的图标
ECharts grid组件配置 图形的zlevel和z值
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定