Nevron Forum

Custom axes on Cartesian Chart

https://www.nevron.com/Forum/Topic12428.aspx

By Manal Goyal - Wednesday, May 9, 2018

I am trying to add custom axes to a cartesiannChart but it gives me a run time exception " System.NullReferenceException".
Interestingly this exception get vanished if I do "NChartControl.Panels.Add(cartesianChart)" before creating custom axis. 

Any idea why is that? what is the correlation between these steps!!

Thanks and Regards
Manal
By Nevron Support - Wednesday, May 9, 2018

Hi Manal,
Some operations in the chart rely on the chart element being connected to the document tree - in this particular case the axis is trying to connect to a chart without success and that's why it throws this exception. This issue will be fixed in the upcoming SP of the control (coming up until the end of the week). Let us know if you meet any problems or have any questions.

By Manal Goyal - Wednesday, May 9, 2018

Hi Team,

where can can I find the latest SP of the control when its released?

Thanks and regrads
Manal
By Nevron Support - Thursday, May 10, 2018

When the SP is available for download, you will be able to find it in the public download page (as a new build version).