I'm currently trying to template the TrackBallInfo popup and in doing so I hoped to be able to use the behavior's "TrackInfoUpdated" event.
This is the XAML:
... and here's the code behing event handler ...
When I build this I get this errors from the compiler:
The first two are quite surprising. So far as I've seen they only show up when I try using this event. The third error is just weird. I checked and double checked and the method seem to fully comply with the expected event handler signature.
Any assistance would be greatly appreciated!
This is the XAML:
<
chart:RadCartesianChart.Behaviors
>
<
chartView:ChartPanAndZoomBehavior
ZoomMode
=
"Horizontal"
/>
<
chartView:ChartTrackBallBehavior
ShowTrackInfo
=
"True"
ShowIntersectionPoints
=
"True"
TrackInfoUpdated
=
"trackBallInfoUpdated"
/>
</
chart:RadCartesianChart.Behaviors
>
... and here's the code behing event handler ...
private void trackBallInfoUpdated(object sender, TrackBallInfoEventArgs e)
{
// exploring TrackBallInfoUpdated event ...
foreach (var info in e.Context.DataPointInfos)
{
info.DisplayContent = "DataItem=" + info.DataPoint.DataItem;
}
e.Header = "Test Header";
}
When I build this I get this errors from the compiler:
-----
Error 5 The type or namespace name 'Windows' does not exist in the namespace 'Spike.Telerik' (are you missing an assembly reference?) C:\Users\Jesper\Documents\Visual Studio 2010\Projects\Spike.Telerik.RadChartView\GvsDefectsChartControl.xaml 66 23 Spike.Telerik.RadChartView
-----
Error 6 The type or namespace name 'Windows' does not exist in the namespace 'Spike.Telerik' (are you missing an assembly reference?) C:\Users\Jesper\Documents\Visual Studio 2010\Projects\Spike.Telerik.RadChartView\GvsDefectsChartControl.xaml 66 135 Spike.Telerik.RadChartView
-----
Error 7 No overload for 'EventHandler' matches delegate 'System.EventHandler<
Windows.Controls.ChartView.TrackBallInfoEventArgs
>' C:\Users\Jesper\Documents\Visual Studio 2010\Projects\Spike.Telerik.RadChartView\GvsDefectsChartControl.xaml 66 103 Spike.Telerik.RadChartView
The first two are quite surprising. So far as I've seen they only show up when I try using this event. The third error is just weird. I checked and double checked and the method seem to fully comply with the expected event handler signature.
Any assistance would be greatly appreciated!