Sign in to follow this  
Alexandru

Link

Recommended Posts

Hello,

 

I want to know if it is possible to create the label of a category as a link.

 

I have read some topics and I've found something like that:

<category label="<a href='http://www.fusioncharts.com'>'>http://www.fusioncharts.com'> Jan </a>" />

 

One of the problems is that with elipsed labels this doesn't work.

 

There is also another problem; if I add the "target" attribute to the "a" tag, the chart fails to interpret it as HTML code. Exemple:

<category label="<a href='http://www.fusioncharts.com' target=_blank > Jan </a>" />

 

Finally, I want that my href to point to a javascript function. Same problem as above, fails to interpret it as HTML. Example:

<category label="<a href='javascript:alert(\"Hello World!\");' > Jan </a>" />

 

Is there a solution to do all this? If we pass from the flash version to javascript/html5 version, would we have this, very important, features?

 

Thank you,

 

Alexandru

Edited by Alexandru

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Alexandru,

 

Sincere apologies for the delayed response.

 

This is not possible. You can not make a category label as a link.

 

Also, you can not invoke JavaScript functions on the category labels. There is no way to achieve this as of now. sad.gif

 

Thanks for your time and support.

Share this post


Link to post
Share on other sites

Hi Alexandru,

 

Sincere apologies for the delayed response.

 

This is not possible. You can not make a category label as a link.

 

Also, you can not invoke JavaScript functions on the category labels. There is no way to achieve this as of now. sad.gif

 

Thanks for your time and support.

 

Hello,

 

Thank you for your answear.

 

What we would like to know is if this options we'll be any soon available, and if this will be available for the html5 charts?!

 

Thank you,

 

Alexandru

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