davix6666

javascript chart don't works !

Recommended Posts

Hey,

 

Welcome to FusionCharts Forum Post.

 

Please ensure the following:

 

>>Have you set correct path of FusionCharts.js in your code

>>Please ensure the page does not contains any JavaScript error

>> If you are setting the data as XML/JSON String, you might be including new-line characters in the XML/JSON string. New line characters in XML/JSON string cause JavaScript error.

Share this post


Link to post
Share on other sites

"New line characters in XML/JSON string cause JavaScript error"

I need to include New line Character in caption... ( for Java rendering)

 

$StrXML = <Chart caption = I need New line

 

Does not work

 

I can get it to work in Chrome and Firefox, but not on my Ipad and Iphone (Safari),

 

If  I use

 

\\n

 

Thanks

Edited by safadig

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello,

 

Can you please try using {br} pseudo code?

 

Ref. Code:

$StrXML = " <Chart caption = I need {br} New line ..."

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now