Sign in to follow this  
Rasmi.Chilakamarri

handling % symbol with xml data

Recommended Posts

Hi ,

I am getting % symbol into my data XML and i am handling it by encoding it to %25. But that is throwing a javascript error when i pass the same encoded value to my javascript.

Could u please help me in finding a solution or workaround

Thanks

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Rasmi,

Could you please send us the sample code that you are using for the same?

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi,

Thanks for the immediate Response

Here is the sample code

<chart caption=' ' xaxisname="Plan" yaxisname="Emp" palette="4"  decimals="0" enableSmartLabels="1" enableRotation="0" bgColor="99CCFF,FFFFFF" bgAlpha="40,100" bgRatio="0,100" showBorder="1" showAboutMenuItem="0" labelDisplay="Rotate" slantLabels="1">

<set toolText="Blue Cross 80%" value="18" link="JavaScript:drillDownJS('Blue Cross 80%','483','wherecdn','paramcdn',' ',' ','html_7977_v');" label="Blue Cro..."/>

</chart>

Share this post


Link to post
Share on other sites

Hi,

I am afraid, I could not replicate the issue after testing the posted XML. :) 

The XML you provided is working fine in our lab.

In case you are still receiving the error, could you please send us the screenshot of the same as an attachment?

Also, please check with the attached screenshot of the rendered chart to find if this is what you are looking for.

Please feel free to revert if you have further queries.

post-8143-128441584641_thumb.jpg

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