根据示例,在柱状图里,我要模拟一个透明的点击区域。但是必须要知道Y轴根据series里的数据算出来的刻度最大值,否则会导致透明区域不饱满。我想知道echarts是否有提供这样的参数,或者是在哪个模块计算实现的。
charts.getModel().getComponent('yAxis', 0).axis.scale.getExtent()
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
charts.getModel().getComponent('yAxis', 0).axis.scale.getExtent()