Styling the chart control (Pie)

2 posts, 0 answers
  1. Shaun
    Shaun avatar
    18 posts
    Member since:
    May 2012

    Posted 11 May 2012 Link to this post

    I've done a considerable amount of research, but I just can't seem to figure out how to modify the look of the Chart control - specifically with PieSeriesDefinition.

    Currently, my pie chart looks like the pie chart on this page:

    I would like to remove the 'bevel' effect and make it look more like this:

    My current guess is that I can do that with a theme.   Is there a relatively straightforward to way to do it without adding a theme?  I believe this link is supposed to help me:

    However, setting PieSeriesDefinition.ItemStyle to a style targetting "Shape":
        <Style TargetType="Shape">
            <Setter Property="Fill" Value="Orange" />

    Results in a runtime error:

    System.CrossAppDomainMarshaledException was unhandled
    Message: System.NotImplementedException: The method or operation is not implemented.
  2. Sia
    Sia avatar
    692 posts

    Posted 16 May 2012 Link to this post

    Hello Shaun,

    You can use the exposed "MaskVisibility" property of the pie series definition. Setting it to collapsed will hide the masks over the pie series.
        <telerik:PieSeriesDefinition MaskVisibility="Collapsed" />

    Please try it and let us know how it works on your end.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top