We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Lose BackgroundColor when i'm using a labelTemplate


When i using a label template in a ChartAdornmentInfo, i lose background color.

    <DataTemplate x:Key="labeltemplate">
        <TextBlock Text="{Binding}" FontSize="20" Padding="5" />

    <charts:ChartAdornmentInfo UseSeriesPalette="True" ConnectorHeight="50" ShowConnectorLine="True" ShowMarker="True"
                                                    ShowLabel="True" SegmentLabelFormat="# €" LabelTemplate="{StaticResource labeltemplate}" />

What is the solution for retrieving the good background color according to the Doughnut section ?


2 Replies

AU Aurélien March 24, 2015 11:21 AM UTC

It's OK.
I've found the solution in your Accumulation Pie example.

SS Suresh S Syncfusion Team March 25, 2015 01:33 PM UTC

Hi Aurelin,


We are glad to know that issue resolved at your end.



Suresh S

Live Chat Icon For mobile
Up arrow icon