|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/18/2007 1:38:27 PM
Posts: 2,
Visits: 3
|
|
The example FeedData_JS.html provided in today's download of FusionGadgets v3 does not work.
It includes a js method call on the chart object named feedData.
That method does not appear in FusionCharts.js.
What's up?
Kevin Clougherty
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
| Kevin, Just make sure that you're running the files from behind a server (localhost or remote).
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/18/2007 1:38:27 PM
Posts: 2,
Visits: 3
|
|
Doesn't appear yoy bothered to read my question in its entirety - just shot off a stock answer - incredibly unhelpful.
In FusionCharts.js in v3 there is NO METHOD named feedData. NONE, NADA, NOT THERE.
Thus, things that call feedData DO NOT WORK.
Based on your response, it is no surprise that your demos call non-existent methods.
So, do you support the method feedData, and, if not, why not??????????
Kevin Clougherty
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/2/2008 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
| I'm sorry for the confusion. feedData is not a method in FusionCharts.js. It's a method in a few of the FusionGadgets charts. The charts from FusionGadgets expose serialized JS APIs, which do not need a reference in FusionCharts.js. They're directly accessible from JS, as long as you're able to get a reference to the chart object in DOM.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/1/2008 4:38:50 AM
Posts: 2,
Visits: 8
|
|
I still get the error message 'feedData() not a function'. I just ran the example at http://www.fusioncharts.com/gadgets/docs/ -> feeding data using javascript.
Mozilla is reporting that 'chartRef.feedData is not a function'.
I think this feedData() function is still confusing many.
As I used the example as such, there is no question of registering the object with '1' (the last argument in 'new FusionChart()'). Moreover I am running the script behind a server (Apache).
Hope to get some useful clarification.
Thanks in advance.
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 9:19:06 AM
Posts: 679,
Visits: 1,083
|
|
| hi, feedData is not a JavaScript function. Its a method of the Gadget (Angular, Linear, Bulb, Thermoemter,Led and Cylinder) itself which can be called by JavaScript. To call the function you need to registerWithJS the gauge while defining using new FusionCharts() method.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|