ant-design-charts
ant-design-charts copied to clipboard
🧐[问题] Is there a way to obtain the coordinate accuracy of the y-axis of a bar chart?
🧐 问题描述 [详细地描述问题,让大家都能理解]
Is there a way to obtain the coordinate accuracy of the y-axis of a bar chart?
💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]
For example, in this figure, I want to obtain a value ranging from 50000 to 25000. In fact, the value of the Y axis is dynamically generated. How can I determine the distance of each coordinate?
![image](![image](
🚑 其他信息 [如截图等其他信息可以贴在这里]
https://charts.ant.design/zh/docs/manual/faq#4%E6%80%8E%E4%B9%88%E8%AE%BE%E7%BD%AE%E6%A8%AA%E8%BD%B4%E4%BB%8E-0-%E5%BC%80%E5%A7%8B
@lxfu1 Thank you, but my question is not how the coordinates start from 0, but how to get the difference between the two coordinates.
yAxis: {
tickInterval: 5000
}