[英]Disable the legends of a specific series in extJs chart
我在圖表中有多個系列,但我不想顯示圖表的所有圖例。 如何禁用特定系列的圖例。 有沒有辦法在 extJS 中做到這一點?
series({
axis: "left",
type: "corescatter-series",
xField: "AVG_ACTIVE_USERS",
yField: "AVG_LOAD_AVG",
totalKey: undefined
},{
type: "coreline",
axis: "left",
xField: "AVG_ACTIVE_USERS",
yField: "AVG_USAGE"
})
這里我想禁用coreline系列的圖例。
Series
具有屬性showInLegend 。 你可以將其設置為false
從hidding系列legend
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.