title | page_title | description | type | slug | position | tags | ticketid | res_type |
---|---|---|---|---|---|---|---|---|
How to Display DataTable DataRow Information in TrackBallInfoTemplate |
Displaying DataTable DataRow Data in Series's TrackBallInfoTemplate |
This article explains how to bind DataRow information in TrackBallInfoTemplate. |
how-to |
kb-chartview-datarow-info-in-trackballinfotemplate |
0 |
chartview, trackballinfotemplate, datarow |
1588674 |
kb |
Product Version | 2022.3.1109 |
Product | RadChartView for WPF |
How to display DataTable
DataRow
information in the TrackBallInfoTemplate
properties of the [chart view series]({%slug radchartview-series-chartseries%}).
To display the values of the DataRow, you can use the DataItem
property of the DataPoint
instance. The DataPoint comes from the DataPointInfo
object that is generated for each series entry. The DataItem will be of type DataRow and you can use the square brackets syntax to choose which values are going to be displayed.
{{region kb-chartview-datarow-info-in-trackballinfotemplate-0}} <telerik:PointSeries ItemsSource="{Binding DataTable.DefaultView}"> telerik:PointSeries.TrackBallInfoTemplate </telerik:PointSeries.TrackBallInfoTemplate> </telerik:PointSeries> {{endregion}}