Posted by nunni
on May 26, 2008 at 5:51 AM PDT
I am a newbie trying out jMaki charting in a struts/jsp application. I am able to get the sample charts (jMaki.charting.area and jMaki.charting.line) working in my jsp page when no "value" attribute is specified for the same. But if I add a valid value attribute (even using the sample app's value), it says 'Unable to load widget'. I have tracked down the error to the following:
a.v has no properties
The widget is used like below and the template data loads if I omit the value attribute as mentioned:
I have ajax-wrapper-comp-1.8.0.jar and org.json-0.0.2.jar along with a lot of struts and other dependent jars in my WEB-INF/lib folder.
Any pointers as to what could be causing this issue and how to resolve it?