Sign in to follow this  
dudiq

drill down output parameters problem

Recommended Posts

Hi,

 

I have a problem to receive data, using javascript functions as link.

 

 

 

fusionsCharts examples:

 

 

 

<set label='USA' value='235' link="j-myJS('USA',235)"/>

 

<set label='USA' value='235' link="j-myJS-USA,235"/>

 

 

 

my examples:

 

1. <set label='USA' value='235' link="j-myJS('USA-Canada but space',235)"/>

 

2. <set label='USA' value='235' link="j-myJS-USA-Canada but space,235"/>

 

 

 

I have xml data like of my examples, and when press by any column in chart:

 

 

 

1. FireFox generate exception:

 

unterminated string literal

 

[break on this error] try { __flash__toXML(myJS('USA...)")) ; } catch (e) { "<undefined/>"; }

 

 

 

because "USA-Canada but space" have a "-" character

 

 

 

2. in this case, parameters are cut off by a space, and i have in output "USA-Canada" instead "USA-Canada but space"

 

 

 

What is the problem?

 

In flash or anything else?

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :)

Please try using the format of the link attribute as j:function name(parameters)

I hope this helps. :)

Share this post


Link to post
Share on other sites

So, if I use ":" instead of "-".

 

 

 

"j:function name(parameters)" not like "j-function name(parameters)"

 

 

 

I can't use in parameters ":" character. For example "USA:CANADA", Am I right?

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

As you have already stated, FusionCharts does not support parameter:parameter format JS function as links.

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