3 Answers, 1 is accepted
0
Hi Carlos Perez,
We have attached a sample application that demonstrates how you could customize the bar series items depending on the series item value.
Hope this helps.
Greetings,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have attached a sample application that demonstrates how you could customize the bar series items depending on the series item value.
Hope this helps.
Greetings,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Carlos
Top achievements
Rank 1
answered on 05 Jun 2008, 08:05 PM
thank you very much by example.
It is possible that I could put a picture at the top of each column?.
Example
| O
| O __
| __ | |
| | | | |
| | | | |
|----------
Where O means the picture.
Thanks you very much.
Capa
It is possible that I could put a picture at the top of each column?.
Example
| O
| O __
| __ | |
| | | | |
| | | | |
|----------
Where O means the picture.
Thanks you very much.
Capa
0
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:
Hope this will work for your scenario.
Best wishes,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
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
Instantly find answers to your questions at the new Telerik Support Center