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

RadChart - can I set a style for brushes in PaletteBrushes

1 Answer 34 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 30 May 2016, 09:36 AM

Hello,

I have a flollowing problem in the RadChart control. I've defined brushes like this  

                    <telerik:RadChart.PaletteBrushes>
                        <SolidColorBrush Color="Green" />
                        <SolidColorBrush Color="Gray" />
                        <SolidColorBrush Color="Orange" />
                    </telerik:RadChart.PaletteBrushes>

which works fine,but I wanted to reuse this in many places if possible. How can I do it?

Alternatively can I set a Brush for each slice via Binding? My viewmodel for the slice has a Brush property let's say MyBrush. Is there a way to bind it in a series definition?

 

Thanks in advance!

Krzysztof

 

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 02 Jun 2016, 06:08 AM
Hi Jon,

Thank you for contacting us.

Let me start with that RadChart is our old charting component which has many known issues and limitation. Some of them are resolved in our new RadChartView suite which also have a better implementation and improved performance. The new charts are also quite flexible and easier to set up. You can read about the differences between the components in the RadChart vs. RadChartView help article. 

I recommend you to give the new chart a try and let me know if it works for you. In addition, you can see the following resources that could be useful for your scenario.
Regards,
Dinko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Chart
Asked by
Krzysztof
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or