Profile Picture

Synchronize gridlines/major ticks for primary and secondary y-axes

Posted By Alexander Haberl 2 Years Ago

Synchronize gridlines/major ticks for primary and secondary y-axes

Author
Message
Alexander Haberl
Problem Posted 2 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 15, Visits: 48
Hello!
I have this chart:
https://www.nevron.com/forum/uploads/images/612a39e8-5430-420c-af6e-9da9.png

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


Nevron Support
Posted 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
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.


Best Regards,
Nevron Support Team



Alexander Haberl
Posted 2 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 15, Visits: 48
Hi! Thanks for the fast reply. Is the property "FixedTickCount" of the LinearScaleConfigurator implemented yet?
Best regards
Alexander




Nevron Support
Posted 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
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?

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic