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

[Solved] BarSeriesDefinition and Grouping colors?

1 Answer 135 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Fredrik
Top achievements
Rank 1
Fredrik asked on 28 Sep 2010, 08:23 AM
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

Regards

Fredrik

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 30 Sep 2010, 03:36 PM
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
Tags
Chart
Asked by
Fredrik
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or