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

PieChart

2 Answers 84 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 02 Jun 2017, 12:54 PM

Hi everyone,

is it possible to remove the gradient from the pie chart control?

Any help would be appreciated.
Christian

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Nenchev
Telerik team
answered on 07 Jun 2017, 08:33 AM
Hello Christian,

I believe the behavior is observed only in the UWP platform and in order to remove the additional effects you need to customize the appearance of the RadPieChart control for this platform. More specifically, you can apply the following Style in the UWP MainPage:

<forms:WindowsPage.Resources>
        <Style TargetType="chart:PieSeries">
            <Setter Property="HighlightBrush" Value="Transparent"/>
        </Style>
</forms:WindowsPage.Resources>
Basically, you need to modify the default styles applied to the control, which are available in the following GitHub repo - Telerik UI for UWP. You can examine the different styles and templates and apply further modifications if needed. I have attached a sample for your reference.

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress 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
0
Christian
Top achievements
Rank 1
answered on 07 Jun 2017, 03:04 PM
Works perfect, thanks.
Tags
Chart
Asked by
Christian
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Christian
Top achievements
Rank 1
Share this question
or