This is a migrated thread and some comments may be shown as answers.

Vary the color of the Bars in Bar Chart

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hiren
Top achievements
Rank 1
Hiren asked on 15 Mar 2012, 11:44 AM
Hello,

I need to vary the color of the Bars in bar chart in silverlight telerik report.

I have attached the screen shot which provide more idea what i need.

Thanks,
Hiren

3 Answers, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 15 Mar 2012, 12:45 PM
All items in one series are the same color. So either create different series (for different colors) or create the items programmatically, then you will be able to set a color for each item. 
0
Hiren
Top achievements
Rank 1
answered on 15 Mar 2012, 12:57 PM
Hello Mr. Hadib,

How can i create the different series for one datable ?

or from where i can create the items programmatically and set each item with different color ?

Can you please provide code if possible ?


Thanks,
Hiren

0
Hadib Ahmabi
Top achievements
Rank 1
answered on 15 Mar 2012, 01:04 PM
It depends on your data but most probably you will need to do the things in code.
Here are some good code examples:
http://www.telerik.com/help/reporting/buildingprogrammaticcreate.html 
http://www.telerik.com/help/reporting/buildingprogrammaticcreate2.html 
Tags
General Discussions
Asked by
Hiren
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Hiren
Top achievements
Rank 1
Share this question
or