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

Change chart palette

2 Answers 115 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Alberto
Top achievements
Rank 1
Alberto asked on 26 Sep 2013, 06:06 PM
Hi,

I was looking the chart appearance demo and I want to implement something like that, I am using a RadChart with PieSeriesDefinition, a RadRadialGauge and a RadChart with AreaSeriesDefinition, I can't find how to apply the palette, I also have a RadPolarChart and a RadCartesianChart and I have no problem assigning the palette.

I don't know if for the first 3 charts is not possible assign a palette or it works in a different way.

Thanks,

Alberto

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Kirov
Telerik team
answered on 01 Oct 2013, 05:31 PM
Hi Alberto,

RadChart, RadChartView(RadCartesianChart, RadPolarChart and RadPieChart) and RadGauge are separate controls with very different internal implementation (they are also from different assemblies). The chart appearance demo uses RadChartView's palette API which is not available with other controls.
I would recommend using only RadChartView for charting needs (if possible) as this is where the majority of our development efforts goes. This way you will have a single API to learn and use.

If you really do need use RadChart, you can use its similar mechanism for applying palettes demonstrated in the attached project.

As for RadGauge - you can find examples of  customizing its appearance in its Theming demo.
 

Regards,
Petar Kirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Alberto
Top achievements
Rank 1
answered on 02 Oct 2013, 04:33 PM
Hi Petar,

Actually, now I am using only RadChartView.

Thanks for the sample project it will be very helpful.

Regards,

Alberto
Tags
Chart
Asked by
Alberto
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Alberto
Top achievements
Rank 1
Share this question
or