BarSeriesDefinition and Grouping colors?

2 posts, 0 answers
  1. Fredrik
    Fredrik avatar
    54 posts
    Member since:
    Sep 2010

    Posted 28 Sep 2010 Link to this post

    Hello !!!

    We are evalutating this product and having some questions.
    I´m having a BarChart that is showing data from two different years using the GroupingSettings.

    First question:

    Can I set a different fill color on the barcharts then the default ones. I have tryied to set the fill appearance on the seriesdeffinition, but that will change the fill color for both the bars to the same color?

    Second question:

    If I would like to use the above grouped barchart as a drilldown and click one of the bars, how can I get the fillcolor for the bar that I was hitting to show the new grid with a barfill that has the same color as the one that i clicked in the grouped one?

    Hope you understands what I´m looking for


  2. Yavor
    Yavor avatar
    401 posts

    Posted 30 Sep 2010 Link to this post

    Hello Fredrik,

    You can try to adopt the MVVM pattern. By using this pattern the background color can be in your ViewModel and you can easily access it. You can read more on MVVM support in RadChart in this topic in our help system. Using MVVM with RadChart is demonstrated in our demo here. You can find more information on how to create drill down chart in this topic.

    All the best,
    Yavor Ivanov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top