Interactive key problem

Share RGraph:   Share or Like RGraph on Facebook!

« 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]


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,

The fix [for zero values] will be present in the next beta


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

Thank you...

Prashant

Add a reply




« Back to message list