FeedData_JS.html
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



FeedData_JS.html Expand / Collapse
Author
Message
Posted 8/21/2007 3:21:59 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #2031
Posted 8/22/2007 1:33:47 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 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

Post #2051
Posted 8/22/2007 7:03:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #2059
Posted 8/23/2007 12:16:01 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 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

Post #2069
Posted 1/9/2008 11:28:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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.
Post #3727
Posted 1/24/2008 1:16:06 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 1:21:47 AM
Posts: 675, Visits: 1,079
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

Post #4052
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 10:13pm


Execution: 0.141.