codecamp

ECharts图例组件配置 图例类型

legend.type   |   string

图例的类型。可选值:

  • 'plain':普通图例。缺省就是普通图例。
  • 'scroll':可滚动翻页的图例。当图例数量较多时可以使用。

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

当使用 'scroll' 时,这些使用这些设置进行细节配置:

  • legend.scrollDataIndex
  • legend.pageButtonItemGap
  • legend.pageButtonGap
  • legend.pageButtonPosition
  • legend.pageFormatter
  • legend.pageIcons
  • legend.pageIconColor
  • legend.pageIconInactiveColor
  • legend.pageIconSize
  • legend.pageTextStyle
  • legend.animation
  • legend.animationDurationUpdate

legend.show   |   boolean

[ default: true ]

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