Hello Carlos Perez,
You can use the same approach (with the BackgroundImage) to customize the series item label that is placed above the bars like this:
protected void RadChart1_ItemDataBound(object sender, ChartItemDataBoundEventArgs e) |
{ |
if ((double)e.DataItem <= 5) |
{ |
e.SeriesItem.Label.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Image; |
e.SeriesItem.Label.Appearance.FillStyle.FillSettings.BackgroundImage = "green.jpg"; |
} |
else |
{ |
e.SeriesItem.Label.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Image; |
e.SeriesItem.Label.Appearance.FillStyle.FillSettings.BackgroundImage = "red.jpg"; |
} |
} |
Hope this will work for your scenario.
Best wishes,
Manuel
the Telerik team