Javascript Embedding for IS?
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


««12

Javascript Embedding for IS? Expand / Collapse
Author
Message
Posted 6/14/2007 4:38:09 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/7/2007 2:55:31 PM
Posts: 6, Visits: 10
Thanks Pallav. That helped me track it down.

It turns out that the IS charts don't like newlines in the data xml. (If you're using setDataXML())

# this works (gsub deletes the newlines from the data XML string)
renderChart("FI2_Angular.swf", "", getGaugeStr(val).gsub(/\n/, ''), 'gauge_'+id, 160, 80, false, false)

# this does not
renderChart("FI2_Angular.swf", "", getGaugeStr(val), 'gauge_'+id, 160, 80, false, false)


Works now.
Post #1321
« Prev Topic | Next Topic »

««12

Permissions Expand / Collapse

All times are GMT -7:00, Time now is 9:23pm


Execution: 0.125.