The time interval of the coordinate axis scale is given (one quarter), how can I set it to display only three coordinate axis scales? Or make it adaptively uniform?
Question Description
The time interval of the coordinate axis scale is given (one quarter), how can I set it to display only three coordinate axis scales? Or make it adaptively uniform?
Solution
In VChart, there are four types of coordinate axes: linear, band, time, and log. For each type of coordinate axis, you only need to set tick.tickCount=3 or tick.forceTickCount=3 to specify the number of axis ticks.In VChart, there are four types of coordinate axes: linear, band, time, and log. For each type of coordinate axis, you only need to set tick.tickCount=3 or tick.forceTickCount=3 to specify the number of axis ticks.
When tickCount is not specified, adaptive tick count will be used to automatically find the maximum tick count that can prevent overlapping of all axis labels.