禁用extJs图表中特定系列的图例

问题描述 投票:0回答:1

我在图表中有多个系列,但是我不想在图表中显示所有这些图例。如何禁用特定系列的图例。 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"
})

这里我想禁用核心系列的图例。

extjs extjs6
1个回答
0
投票

[Series具有用于隐藏showInLegend中的系列的属性legend

© www.soinside.com 2019 - 2024. All rights reserved.