菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻

ECharts图例组件配置 翻页按钮

原创
05/13 14: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 ]

图例翻页时的动画时长。

综合评分:9.9 评分 请对本文进行纠错,及学习过程中有困难疑惑可在此进行讨论