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

I can not create StackingColumnSeries dynamically from code behind

Thread ID:





116978 Jul 14,2014 05:29 PM UTC Jul 16,2014 10:49 AM UTC WPF 3
Tags: SfChart
Dario Quispe
Asked On July 14, 2014 05:29 PM UTC


I have to create chart dynamically for my project (see attached file).
When I create LineSeries or ColumnSeries, it works.
But when I create StackingColumnSeries, Visual Studio says that an "object reference not set to an instance of an object".

What I need to create some StackingColumnSeries ?


Attachment: StackingColumn_Chart_Demo_1febbc31.zip

Sumathi Jayaraj [Syncfusion]
Replied On July 15, 2014 11:27 AM UTC

Hi Dario,
We are able to reproduce the issue “Exception thrown while creating StackingColumnSeries dynamically from code behind”, we have created incident "127350" for this reported issue. Our support engineer will assist you through incident under your Direct Trac account. 

Our Direct Trac support system can be accessed from the following link: 


You can define primary axis and secondary axis for avoid this null reference exception in StackingColumnSeries. 

Please let us know if you require further assistance on this.


Dario Quispe
Replied On July 15, 2014 03:49 PM UTC

Thanks, it works when I define primary axis and secondary axis.

Mohammed Azarudeen [Syncfusion]
Replied On July 16, 2014 10:49 AM UTC

Hi Dario,


Thanks for your update. We are glad that the issue has been resolved at your end.


Could you please let us know whether you are in need of any other assistance from us?



Mohammed Azarudeen.


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

This page will automatically be redirected to the 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