Sign in to follow this  
cuno

Special Characters In Tooltext

Recommended Posts

Hi,

 

First of all, I'm getting happier every day with your wonderful product. It has a lot of features which come very useful and a lot of tweaking can be done.

I use the MSLine chart with a Mysql database and php. The database contains the data for the graph and the text I want to use for the tooltext of certain points.

I'm having great difficulty with the XML structure as the text in the database contains single and double quotes and special characters like % & ? <>.

I've read something about urlencode (http://www.the-art-of-web.com/javascript/escape/) but that alone doesn't seem to do the trick.

How can i be sure that i've covered all special characters that can make my XML incorrect?

 

Thanks in advance for your reply.

 

Kind regards,

 

Cuno

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

In FusionCharts, you can directly embed most of the special characters and punctuation marks in the XML/JSON data source of your chart. However, &, <, >, ' (apostrophe) and "(quote) need to be specially encoded when providing the same as a part of the chart data. Apart from this, there is no need to encode any other special character.

 

More details at: http://www.fusioncha...unctuation.html

 

Hope this helps.smile.gif

 

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
Sign in to follow this