Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

How to use PaletteBrushes in drilldown charts

$
0
0
Hi Ragavan,

We can see that you are using RadChart in your example.This control has known issues and limitations. That's why we recommend using the RadChartView suite instead of RadChart. The new charting components have better implementation and improved performance. You can read more about the difference between them in our RadChart vs. RadChartView help article.

As for your case, RadChartView doesn't support drill-down feature out of the box. However, you can implement it with custom code. You can find a runnable project in our GitHub repository which demonstrates how to implement this functionality.

With RadChartView, you can use the BarSeries element to draw bars. There are several ways to colorize bar series as you'll find in our Styling the Chart Series help article. In brief, you might either Create Custom Palette (like in your case) or you can bound each DataPoint item color to a property from your ViewModel which is further described in Binding the Color of Series Items help article.

Please, give the new charting control a try and let us know if you need any further assistance.

Regards,
Dinko
Telerik
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 Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>