By Alexander Haberl - 2 Years Ago
|
Hello! I have this chart:
Both the primary and the secondary y-axes have a content range view set. Is it possible to synchronize the major ticks, so that the gridlines are distributed evenly?
Thanks a lot! Best regards
Alexander
|
By Nevron Support - 2 Years Ago
|
Hi Alexander, There is currently no example on how to achieve this exactly, but you can synchronize axes in response to the ruler range changed event. The following example shows how to align axes based on a relative value: All Examples \ Interactivity \ Tools \ Multiple axes zooming and scrolling The approach you need to take is similar - in response to the ruler, range changed event of the PrimaryY you need to set an appropriate range for the secondary axis so that the ticks align. We hope this helps - let us know if you have any questions or meet any problems.
|
By Alexander Haberl - 2 Years Ago
|
Hi! Thanks for the fast reply. Is the property "FixedTickCount" of the LinearScaleConfigurator implemented yet? Best regards Alexander
|
By Nevron Support - 2 Years Ago
|
Hi Alexander, It is not added yet, however you can emulate it by setting an explicit tick step. Do you need that type of tick mode?
|