My main app page has a chart on it with the following:
<telerikChart:ChartTrackBallBehavior ShowIntersectionPoints="False" ShowInfo="True" TrackInfoUpdated="OnTrackInfoUpdated"> <telerik:ChartTrackBallBehavior.LineStyle> <Style TargetType="Polyline"> <Setter Property="Fill" Value="Transparent" /> </Style> </telerik:ChartTrackBallBehavior.LineStyle></telerikChart:ChartTrackBallBehavior>
If I move my move my mouse around as my app launches, sometimes I hit an unhandled exception with the following stack:
System.ArgumentNullException
at Telerik.UI.Xaml.Controls.Chart.ChartTrackBallBehavior.GetTrackInfoTemplate(DependencyObject instance)
at Telerik.UI.Xaml.Controls.Chart.ChartTrackBallBehavior.BuildIndividualTrackInfos(ChartDataContext context)
at Telerik.UI.Xaml.Controls.Chart.ChartTrackBallBehavior.UpdateTrackInfo(ChartDataContext context)
at Telerik.UI.Xaml.Controls.Chart.ChartTrackBallBehavior.UpdateVisuals()
at Telerik.UI.Xaml.Controls.Chart.ChartTrackBallBehavior.OnChartUIUpdated()
at Telerik.UI.Xaml.Controls.Chart.RadChartBase.NotifyUIUpdated()
at Telerik.UI.Xaml.Controls.Chart.RadChartBase.OnUIUpdated()
at Telerik.UI.Xaml.Controls.Chart.PresenterBase.UpdateUI(ChartLayoutContext context)
at Telerik.UI.Xaml.Controls.Chart.RadChartBase.CallUpdateUI()
at Telerik.UI.Xaml.Controls.Chart.RadChartBase.ArrangeOverride(Size finalSize)
Any ideas how to work around this? I don't have a simple repro case at this point.
Thanks