0

是否可以为 SingleAxis 图表上的每个轴设置“内部”数据缩放?

我正在使用以下示例,但添加 dataZoom 对象仅适用于第一个轴。 https://echarts.apache.org/examples/en/editor.html?c=scatter-single-axis

我使用了这个 dataZoom : const options = {
     ...
    dataZoom: [{
        type: 'inside',
    },
     {
        type: 'inside',
     }],
     ...
}

4

1 回答 1

1

的,只需传递给singleAxisIndex每个轴索引的滑块属性数组。

dataZoom: [{
  type: 'slider',
  //...
  singleAxisIndex: [0,1,2,3,4,5,6]
  //...
}
于 2020-05-18T20:47:20.737 回答