Jump to content
Software FX Community

Possible to keep "zero" point of multiple Y-axes synchronized as user scrolls?


Recommended Posts

I have a chart with two Y-axes.  The scales are completely independent.  For example, one Y-axis could be -1000 to 1000 and the other Y-axis could be -100 to 100.  When the user zooms in on the chart and scrolls one Y-axis I want the other Y-axis to automatically scroll such that the zero points of both axes stay aligned.  Is there any easy way to do that short of trapping the scroll event for each axis and doing a bunch of calculations to force the other axis to scroll the right amount?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...