Hello Telerik team,
I am using a RadCartesianChart to display several series of data. These series are BarSeries created and added in code-behind, which have their ItemsSource set to a ChartDataSource. The ChartDataSources are created programmatically for each BarSeries. The ItemsSource of these ChartDataSources are set to Business objects.
My problem is now that the tooltip, which is defined in XAML, is no longer able to show information that was bound inside the ToolTipTemplate using <TextBlock Text={Binding DataItem.value} />. This was only possible when I assigned each BarSeries a Business object as ItemsSource, instead of using a ChartDataSource (which is necessary for sampling the data).
Can you give me the possibly super-easy solution? Is it only the Binding path that needs to be fixed?
Thanks,
Sven
I am using a RadCartesianChart to display several series of data. These series are BarSeries created and added in code-behind, which have their ItemsSource set to a ChartDataSource. The ChartDataSources are created programmatically for each BarSeries. The ItemsSource of these ChartDataSources are set to Business objects.
My problem is now that the tooltip, which is defined in XAML, is no longer able to show information that was bound inside the ToolTipTemplate using <TextBlock Text={Binding DataItem.value} />. This was only possible when I assigned each BarSeries a Business object as ItemsSource, instead of using a ChartDataSource (which is necessary for sampling the data).
Can you give me the possibly super-easy solution? Is it only the Binding path that needs to be fixed?
Thanks,
Sven