ECharts图例组件配置 翻页按钮

2018-04-19 17:22 更新

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 ]

图例翻页时的动画时长。

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号