[英]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.