RadChart - can I set a style for brushes in PaletteBrushes

2 posts, 0 answers
  1. Krzysztof
    Krzysztof avatar
    1 posts
    Member since:
    Nov 2015

    Posted 30 May 2016 Link to this post


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

                            <SolidColorBrush Color="Green" />
                            <SolidColorBrush Color="Gray" />
                            <SolidColorBrush Color="Orange" />

    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!



  2. Dinko
    Dinko avatar
    416 posts

    Posted 02 Jun 2016 Link to this post

    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.
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top