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.

Set border colour of square adornment

Thread ID:





110885 Aug 29,2013 05:27 AM Sep 11,2013 12:48 AM WinRT 3
Tags: SfChart
Asked On August 29, 2013 05:27 AM

Hi all,

Just wondering if there is a property to set the border colour (or even turn the border off) for a Square Adornment of a column series? I assume the template needs to be overridden if not? Below is the code I use to view the adornments.

<Syncfusion:ColumnSeries x:Name="AveragesSeries" EnableAnimation="True" AnimationDuration="0:0:2" StrokeThickness="0" SegmentSelectionBrush="Gray" Interior="#FFF78A09" Label="Daily Averages" XBindingPath="iText" YBindingPath="iUsage">


<Syncfusion:ChartAdornmentInfo ShowLabel="True" SegmentLabelContent="YValue" SegmentLabelFormat="#" AdornmentsPosition="Top" Symbol="Square" SymbolInterior="#6c6d6e" SymbolHeight="30" SymbolWidth="30"/>



Muneesh Kumar G [Syncfusion]
Replied On September 4, 2013 03:22 AM

Hi Leigh,

Thanks for using Syncfusion products.

We have analyzed your query.  We would like to inform you that if we would like to change the border color of the Adornment symbol then use we need to use Data Template as shown in the below code snippet.

Code Snippet [XAML]:

<DataTemplate x:Key="adornment">
<Rectangle  Fill="#FFF78A09" StrokeThickness="0" Height="30" Width="40">
<TextBlock Text="{Binding LabelContent}" Foreground="Black"  FontSize="16"/>
<chart:ChartAdornmentInfo ShowLabel="True" SegmentLabelContent="YValue"  SegmentLabelFormat="#"
AdornmentsPosition="Top"  SymbolTemplate="{StaticResource adornment}"/>

We have prepared a sample based on this and it can be downloaded from the following location.

Please let us know if you have any queries.


Muneesh Kumar G.


Replied On September 9, 2013 01:58 AM

Worked perfect, thanks heaps!

Muneesh Kumar G [Syncfusion]
Replied On September 11, 2013 12:48 AM

Hi Leigh,

Thanks for your update.

Please let us know if you need further assistance.

Muneesh Kumar G.


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.