03-10-2009 02:24 PM
Nick -
I gave this technique a try in my app. While the technique does get the job done, for my needs, the performance is woefully inadequate. In my app there could be dozens of graphs that need to be kept in synch on both zoom and pan operations.
Glad to hear you have suggested product enhancements for requirement. Keep up the good work.
If I can help by providing a test harness for my situation, let me know.
Joe
03-10-2009 02:52 PM
Hey Joe,
If you haven't tried this yet, one thing that may significantly improve the performance of the zoom operations is to set the ZoomAnimation property of the graph to false. Because the zooms must take place serially, there may still be some noticible delay between the first and last update - especially if you have dozens of graphs - but the performance should be much better.
Also for all interested, I missed an overload on ZoomXY that makes the programmatic zooming operation much cleaner. Inside your event handler, this is the only method you would need to call:
Where:
NickB
National Instruments
03-17-2009 01:50 PM
Nick -
Works perfectly and performance is great.
Thanks.
Joe