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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Lose BackgroundColor when i'm using a labelTemplate

Thread ID:





118610 Mar 24,2015 09:12 AM UTC Mar 25,2015 01:33 PM UTC WinRT 2
Tags: SfChart
Asked On March 24, 2015 09:12 AM UTC


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 ?


Replied On March 24, 2015 11:21 AM UTC

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

Suresh S [Syncfusion]
Replied On March 25, 2015 01:33 PM UTC

Hi Aurelin,


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



Suresh S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon