ECharts圖例組件配置 圖例類型

2018-04-19 17:10 更新

legend.type   |   string

圖例的類型??蛇x值:

  • 'plain':普通圖例。缺省就是普通圖例。
  • 'scroll':可滾動(dòng)翻頁(yè)的圖例。當(dāng)圖例數(shù)量較多時(shí)可以使用。

參見 滾動(dòng)圖例(垂直) 或 滾動(dòng)圖例(水平)。

當(dāng)使用 'scroll' 時(shí),這些使用這些設(shè)置進(jìn)行細(xì)節(jié)配置:

  • 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 ]

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)