[splitNumber](https://ecomfe.github.io/echarts-doc/public/en/option.html#yAxis.splitNumber)
 is mainly used to determine the number of displayed label and ticks.

Probably this approach can be tried: 
when changing the size of a chart, 
```js
function onChartContainerDomChange() {
    var height = chart.getHeight();
    var splitNumber = height < 200
        ? 2
        : height < 300
        ? 4
        : null;
    console.log(height, splitNumber);
    chart.setOption({
        yAxis: {splitNumber: splitNumber}
    });
    chart.resize();
}
```




[ Full content available at: 
https://github.com/apache/incubator-echarts/issues/9026 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to