PieChart

3 posts, 1 answers
  1. Christian
    Christian avatar
    2 posts
    Member since:
    Aug 2016

    Posted 02 Jun 2017 Link to this post

    Hi everyone,

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

    Any help would be appreciated.
    Christian

  2. Answer
    Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 07 Jun 2017 Link to this post

    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
  3. Christian
    Christian avatar
    2 posts
    Member since:
    Aug 2016

    Posted 07 Jun 2017 in reply to Stefan Nenchev Link to this post

    Works perfect, thanks.
Back to Top