Jump to content
Software FX Community

Zoom on the Multi panel chart


Recommended Posts

I try to realise the zoom functionality in my application used ChartFX.
Actualy I need something (little bit) more complicated than Magnifier.
First of all, I have number of different charts in my application, part of them have one panel with different series, and one is multipanel chart.
If on the one panel chart I can use ZoomStyle = ZoomStyle.Strip (or Auto) mode and it works satisfactory,
but on the multipanel char If I'll set the next mode:
myChart.Zoom.Style = ZoomStyle.Strip; // or Auto
myChart.Zoom.Mode = ZoomMode.Selection; 
myChart.Zoom.ViewStyle = ZoomViewStyle.Selection; 
After a first selection I'll get the ArgumentException: An item with the same key has  already been added.
If I use Zoom.Style = ZoomStyle.Scroll,  I could select only once, after then I get the scroll bars and can't select more. My customer want to make sequence of nested zooms and option to zoom out.

How could I make sequenced selection and get the min and max points of the selected area after each selection ( I need zoom only by axes X has date/time format )



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...