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

remove extra color in bar series

5 Answers 98 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Masoud
Top achievements
Rank 1
Masoud asked on 08 Jul 2015, 09:02 AM

hi i can change color but still i have any color in my bar series

i want remove white color and Be consistent colors

just blue color

remove gradient color

5 Answers, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 09 Jul 2015, 01:09 PM
Hello Masoud,

You can achieve this by retemplating the Style of the bar series and remove the masks from it. You can see how to do this in the following forum post: Remove gradient from bar chart.

I hope this helps.

Regards,
Milena
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Masoud
Top achievements
Rank 1
answered on 09 Jul 2015, 02:08 PM

hello milena

thank you for helps

i want to change color and i cant accessible to template itemstyle

how i can accessible it ?

0
Milena
Telerik team
answered on 14 Jul 2015, 08:01 AM
Hello Masoud,

You can set the ItemStyle of the series in its constructor and change its color as it is shown in our help article Styling the Chart Series:
BarSeriesDefinition barDefinition = new BarSeriesDefinition()
{
    ItemStyle = this.Resources["MyBarStyle"] as Style
};

barDefinition.Appearance.Fill = new SolidColorBrush(Colors.Orange);

I hope this information will help you to customize the chart per your requirements. 

Regards,
Milena
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Masoud
Top achievements
Rank 1
answered on 19 Jul 2015, 09:28 AM

hi

thank you milena

i want change Gray line

but i cant find location for this here

 

 

0
Milena
Telerik team
answered on 20 Jul 2015, 08:26 AM
Hi Masoud,

You can see how to change the Background of the Plot Area in our help article Styling the Plot Area. You can use PlotAreaStyle  property of the chart to achieve this. 

In addition, I would ask you to keep the communication for a particular topic in a single thread. This way we will be able to track the issue easier, organize our communication history better and assist you in a more convenient manner. If you have another questions, not related to the current topic - the "extra color in bar series", I would ask you to open a new thread. We appreciate your understanding in this matter.

Regards,
Milena
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Masoud
Top achievements
Rank 1
Answers by
Milena
Telerik team
Masoud
Top achievements
Rank 1
Share this question
or