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.
Unfortunately, activation email could not send to your email. Please try again.

Lose BackgroundColor when i'm using a labelTemplate

Thread ID:

Created:

Updated:

Platform:

Replies:

118610 Mar 24,2015 05:12 AM Mar 25,2015 09:33 AM WinRT 2
loading
Tags: SfChart
Aurélien
Asked On March 24, 2015 05:12 AM

Hi,

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

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

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

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

Regards,
Aurélien

Aurélien
Replied On March 24, 2015 07:21 AM

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

Suresh S [Syncfusion]
Replied On March 25, 2015 09:33 AM

Hi Aurelin,

 

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

 

Regards,

Suresh S


CONFIRMATION

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.

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.

;