Good Morning
I am using the XAMZoombar in conjuction with a XAMDataChart
It works well however I have had some user feedback that is asking for the scale on the chart to change instantly rather than waiting for the mouse button to be released, in a kind of "Live Update" fashion.
This is so that they can accurately see what effect the XAMZoombar is having
I have been experimenting and trawling through the internet and cannot for the life of me see how this might be accomplished.
Excellent, glad I could help :)
-Graham
Thanks Graham that works absolutely perfectly
Steven,
Ah, now what you are seeing makes more sense. I believe this behavior is due to XamZoombar only updating its range after the user interaction has completed. It does, however raise some events during the interaction, notably: ZoomChanging, which is what the chart listens to, and will drive the immediate reaction if WindowResponse = Immediate with the built in zoombars. With an external zoombar you can achieve the effect in a similar fashion:
https://gist.github.com/gmurray81/fba0ff9bad7abebe9694
If you'd like to see a property added to the zoombar which can be used to observe the intermediate zoom level changes, please request this product idea at ideas.infragistics.com.
Hope this helps!
Hi Graham
The difference is I have a stack panel of XamDatacharts which are all synchronised together. I then add a XamZoombar control (not using a specific charts zoombar) and bind each charts HorizontalZoombar.Range property to the Zoombar.Range property.
So instead of using an inbuilt zoombar for a given datachart I use one XamZoombar control to manipulate the scales of all of the charts displayed
Thanks
Steve
Steve,
When I do this:
https://gist.github.com/gmurray81/ec075167de5e1ce5a03d
The zoombar will immediately update the state of the chart, which is driven by the WindowResponse="Immediate" setting. Could you describe how your scenario is configured differently?