Type log axis cant control axisTick interval
One-line summary [问题简述]
Log axis sets ticks equal distance apart instead of equal numeric change and this cannot be over-ridden.
Explanation
For Candlestick chart, log axis is better, but none of these properties:
- splitNumber
- interval
- logBase
- axisTick.interval
Can make the y-axis have set intervals, e.g. 5 - 10 - 15- 20 or control number of intervals. Echarts makes the axisTicks force to be equal distance apart so they go 1 - 10 - 100 axisTicks. http://echarts.baidu.com/examples/editor.html?c=line-log
Can log chart have y-axis like log chart on right in this picture? https://i.investopedia.com/inv/articles/site/logvslinear.gif
The axis tick distance is lowered instead of changing the numeric interval.
I see the interval property maybe can do this, but I cant get it to work. https://ecomfe.github.io/echarts-doc/public/en/option.html#yAxis.interval
Version & Environment [版本及环境]
Latest version
+1 on this. I'd like to use a log Y axis on your candlestick example. However, if I add to the YAxis section, so that I have:
yAxis: [ { scale: true, splitArea: { show: true }, type: "log", min: 15000, max: 25000, interval: 2000 },
to the first YAxis section, I get just two axis labels: 15000 and 25000. In this case, I believe it should be five.
Has anyone solved this yet? I need something similar--my log axis won't update with new values no matter what setting I use for the interval. I'm using a custom chart if that makes any difference. Thanks
+1 We need this too (but for regular line charts)
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
Up :arrow_up: Faced with the same issue
same issue here, any news?
Same issue, any updates?
+1 Highcharts for example have this feature
interval在对数轴下设置不起作用啊