echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] scale

Open zz0v0 opened this issue 2 years ago • 3 comments

What problem does this feature solve?

When drawing the function image, the set scale is always calculated from the leftmost end of the horizontal axis or the bottom of the vertical axis(like the graph as follows), we want the scale to start from 0 to both ends. As shown in the following figure, how to achieve the scale interval is still 6, but display the results of the scale is -18,-12,-6,0,6,12,18? 图片1

What does the proposed API look like?

When drawing the function image, the set scale is always calculated from the leftmost end of the horizontal axis or the bottom of the vertical axis(like the graph as follows), we want the scale to start from 0 to both ends. As shown in the following figure, how to achieve the scale interval is still 6, but display the results of the scale is -18,-12,-6,0,6,12,18?

zz0v0 avatar Jun 09 '23 08:06 zz0v0

If the interval is 6, then it should be 6, 0, -6. How should it decide to be 4, -2?

Ovilia avatar Jun 13 '23 11:06 Ovilia

If the interval is 6, then it should be 6, 0, -6. How should it decide to be 4, -2?

Then I want to know how to solve the bug?

zz0v0 avatar Jun 14 '23 02:06 zz0v0

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.

github-actions[bot] avatar Jun 13 '25 21:06 github-actions[bot]

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!

github-actions[bot] avatar Jun 21 '25 21:06 github-actions[bot]