Sub-Objects NULL in 6.0.2

Found a possible bug in LightningChart? Report it here.

Moderator: Queue Moderators

Post Reply
frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

Sub-Objects NULL in 6.0.2

Post by frank » Fri May 23, 2014 6:57 am

Hi,

I don't know if this is really a bug. For me it's usual behaviour, but in previous Vresions of LightningChart I didn't have to care about this.
On e.g. the Axis, sub-objects like MinorGrid, MajorGrid, Units etc. are now NULL. In previous versions they where pre-initialized. Now the code crashes during runtime with NullReferenceExceptions. If this is a wanted behaviour it should be documented in the changes.

Best regards,
Frank

ArctionTero
Posts: 42
Joined: Thu Mar 28, 2013 9:20 am

Re: Sub-Objects NULL in 6.0.2

Post by ArctionTero » Fri May 23, 2014 7:37 am

Hi Frank,

This is most likely a bug and will be fixed in the next release.

If you are using chart constructor with RenderingSettings, try another with your license code:

Code: Select all

String strLicenseKey = "<your license key>";
RenderingSettings rs = new RenderingSettings();
LightningChartUltimate.LightningChartUltimate chart = new LightningChartUltimate.LightningChartUltimate(strLicenseKey, rs);
If that does not help, could you tell us how do you initialize your chart, by code or by xaml?
LightningChart Support Team, TK

frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

Re: Sub-Objects NULL in 6.0.2

Post by frank » Fri May 23, 2014 7:47 am

Hi Tero,

I initialize my chart completely by code. And I think I figured out all the objects which I have to initialize before using. Just wanted to let you know because the behaviour to previous Versions changed and errors just occure during runtime.

Post Reply