Interactive key problem

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Prashant Dikonda on 27th December 2012
Hi,

I am using interactive key in pie chart.This pie chart I am using in Win 8 App.The data in pie chart is from database.If I am clicking interactive key it returns null because ,the related data or part is not present in pie chart.But I want to handle this null exception by something showing 0 or NULL value message in app window.But it stopping my App because of NULL reference of interactive key.Please help on this...
Posted by RGraph support on 28th December 2012
Hi,

Do you mean you have null values in your data? Like this:

[2,4,null,null,4,5]

PS If you could link to the RGraph website I'd appreciate it - thanks.

Richard, RGraph Support
Posted by Prashant Dikonda on 28th December 2012
In data, NULL is not present ,
e.g. [2,2,0]

but it gives:-

Unhandled exception at line 525, column 41 in ms-appx://6cb0b181-daf4-4e90-838c-8079a5be792e/js/RGraph.common.key.js

0x800a138f - JavaScript runtime error: Unable to get property '2' of undefined or null reference


I want to handle interactive key click exception.Because in my data 0 can be present.In this interactive key click event,0 value of passing data to pie chart value taking as NULL.

Posted by RGraph support on 28th December 2012
Hi,

Ok try the following test page - which has zero values:

dev.rgraph.net/tests/pie/pie3.html

The fix will be present in the next beta

PS If you could link to the RGraph website I'd appreciate it - thanks.

Richard, RGraph Support
Posted by Prashant Dikonda on 4th January 2013
Hi Richard,

Thank you...

Prashant

Add a reply




« Back to message list