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

Remove bar gradient

2 Answers 39 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Craig Mellon
Top achievements
Rank 1
Craig Mellon asked on 04 May 2012, 10:30 AM
Please provide me the code to remove the gradient effect on bar charts, I understand I have to create a custom style to get rid of the default mask but every example on here is either for pie charts or I haven't been able to get them to work.

Telerik WPF 2012_1_0326

Many thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 08 May 2012, 08:21 AM
Hello Craig,

I have attached to this post a project that contains the code needed to remove the masks of the bars. I have also attached a snapshot of the result that I get when I run this project. As you have specified I have used assemblies from 2012.03.26 so you should get the exact same behavior on your side. 

Let us know if this works as you expect.

Greetings,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Craig Mellon
Top achievements
Rank 1
answered on 08 May 2012, 09:52 AM
Thanks.
Tags
Chart
Asked by
Craig Mellon
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Craig Mellon
Top achievements
Rank 1
Share this question
or