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.

I can not create StackingColumnSeries dynamically from code behind

Thread ID:





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


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 07:27 AM

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 11:49 AM

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

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

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.

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.