I have tried WPF DV and I am a bit deceived that panning won't show the actual data (or at least some approximation).
What I would like would be that after a small delay displayed data would be updated anyway so that the user would have some feedback while scrolling.
If performance is an issue, I might display only part of the information while in that mode (pan, scroll...). This could be either be done by displaying most important series first or by reducing the number of points while scrolling.
You found it ;-)
Pah - WindowResponse!!
Apologies
Hi. Is "immediate mode panning" now available? i can see no reference to it in the docs.
Many thanks
I was able to achieve this (although not with smooth performance) through catching of the zoomChanging event in the datachart's zoombars, and immediately adjust the datachart.
xamDataChart1.HorizontalZoombar.ZoomChanging +=
>(HorizontalZoombar_ZoomChanging);
void
VerticalZoombar_ZoomChanging(object sender, Infragistics.Controls.ZoomChangeEventArgs e)
{
xamDataChart1.WindowPositionVertical = e.NewRange.Minimum;
xamDataChart1.WindowScaleVertical = e.NewRange.Scale;
}
I hope I understood the question correctly.
You can programatically change the pan and zoom of the chart by modifying the WindowRect property of the chart. So technically you could use an external set of zoombars and update this property directly to get more control.
The chart internally has the concept of a PreviewRect that drives the deferred zooming, and shows you the preview of how your zoom is defined. I'm not certain if we publish the value of this currently, however, for external uses.
-Graham