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

Creating column summary labels in StackingColumnSeries


I'm using an SfChart control to display some stacking columns, and I'm adding each series dynamically in the code-behind, similar to the method described here: https://www.syncfusion.com/forums/106302/create-stackingcolumnseries-dynamically

My questions are: 
  1. How do I add a summary label at the top of each column, showing the total value for all the stacked elements?
  2. I need to periodically refresh the data in this chart.  Currently I'm attempting to do this by using the SfChart.Series.Clear() method, but that doesn't seem to be affecting the actual chart as it is displayed in the UI (despite actually removing the Series elements).  Currently when I do this and re-add the series values, it just appends those new series values without removing the existing ones (leading to duplicate series elements being displayed, if that makes sense).  How should I be doing this?

1 Reply

SA Santhiya Arulsamy Syncfusion Team November 2, 2015 02:45 PM UTC

Hi Cameron,

Thanks for contacting Syncfusion support.

Query 1: How to add a label at the top of each column?

You can achieve your requirement by using the Adornments in series.

Please refer to the following link for further information.


Query 2: Need to refresh the data.

You can achieve your requirement by implementing the INotifyPropertyChanged instead of removing the series and enable the ListenPropertyChange property in series.

Please refer to the UG link for further information.


We have prepared the sample based on your requirement. Please find the sample from the following location.

Sample: StackingColumn_120982


Santhiya A.

Live Chat Icon For mobile
Up arrow icon