Hi ChrisWalker,
The ChartItemDataBoundEventArgs object, sent as second parameter to ItemDataBound event handler has a property
DataItem. This property holds a reference to the underlying data, so you can extract any information you need. Here is an example:
protected void RadChart1_ItemDataBound(object sender, Telerik.Charting.ChartItemDataBoundEventArgs e) |
{ |
string tooltip = (e.DataItem as DataRowView)["LabelsColumn"].ToString(); |
e.SeriesItem.ActiveRegion.Tooltip = tooltip; |
} |
Hope this helps.
Best wishes,
Ves
the Telerik team