echarts [Feature] scale

xn1cxnb4  于 4个月前  发布在  Echarts
关注(0)|答案(2)|浏览(111)

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?

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?

axr492tv

axr492tv1#

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

b5lpy0ml

b5lpy0ml2#

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?

相关问题