Sign in to follow this  
nomori

Category Link Doesn't Work

Recommended Posts

I have just upgraded from FusionCharts v3.1 to 3.2.2.

Category label link does not work correctly.

If one works category.

(Please see "this is work.xml")

I work with two or more categories.

(please see "not work.xml")

 

What should I and how.

Moreover, when two or more categories, after the label has been omitted but will be added "..." Can I choose not to like this.

not work.xml

this is work.xml

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please confirm if you are running the file from your local file system or server?

 

Due to Flash Player security implementation, links from charts would not work if you run the chart from local file system. To make the links work, as well make all the chart API's work, you would need to configure Flash Player Global Security Settings. Flash Player's Global Security implementation blocks JavaScript to interact with charts (Flash charts) when you are running the the web page/application with charts from local file system. To configure Flash Player Global Security Settings (to enable links and chart APIs) and enable JavaScript calls from charts, you would need to add the folder containing the chart SWF files to Flash Player's Trusted Zone.

 

For more details, please visit : http://docs.fusionch...HowToSetup.html

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your post.

 

Could you please confirm if you are running the file from your local file system or server?

 

Due to Flash Player security implementation, links from charts would not work if you run the chart from local file system. To make the links work, as well make all the chart API's work, you would need to configure Flash Player Global Security Settings. Flash Player's Global Security implementation blocks JavaScript to interact with charts (Flash charts) when you are running the the web page/application with charts from local file system. To configure Flash Player Global Security Settings (to enable links and chart APIs) and enable JavaScript calls from charts, you would need to add the folder containing the chart SWF files to Flash Player's Trusted Zone.

 

For more details, please visit : http://docs.fusionch...HowToSetup.html

 

Hope this helps.

 

Thank you for your help.

As you mentioned,ran the chart from local file system.

if I run the chart from web site. It run correctly.

But,carried out a Flash Player Global Security Settings, from local files that do not work properly.

I should have another set available?

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Could you please try once by setting <unescapeLinks='0'> in the <chart> element in order to pass JavaScript functions from links perfectly from a chart ?

 

Hope this helps.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

I am afraid, the category link workaround provided in the forum would work with Flash chart only, as of now.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

I am afraid, the category link workaround provided in the forum would work with Flash chart only, as of now.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Yes, it is possible with data elements of FusionCharts. Instead of using simple links, you can also set JavaScript links using FusionCharts. That is, you can invoke a JavaScript function present in the same page (in which the chart is present) when the end viewer clicks a data element on the chart.

 

For a live example, please visit: http://docs.fusionch.../JSExample.html

 

FusionCharts provides two ways of set JavaScript functions as links:

 

J- Prefix : Just place the function name the j- notation. The function will be evaluated as a standard JavaScript function and anything placed after the function name separated by a - (dash) will be passed as a single String parameter to the function. e.g.,

 

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

 

JavaScript: prefix : provide single or multiple JavaScript functions or statements after JavaScript: prefix. e.g.,

 

<set label='USA' value='235' link="JavaScript: isJavaScriptCall=true; alert('hi JS!'); myJS('USA',235);"/>

 

More details at: http://docs.fusionch...JavaScript.html

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your response.

 

Yes, it is possible with data elements of FusionCharts. Instead of using simple links, you can also set JavaScript links using FusionCharts. That is, you can invoke a JavaScript function present in the same page (in which the chart is present) when the end viewer clicks a data element on the chart.

 

For a live example, please visit: http://docs.fusionch.../JSExample.html

 

FusionCharts provides two ways of set JavaScript functions as links:

 

J- Prefix : Just place the function name the j- notation. The function will be evaluated as a standard JavaScript function and anything placed after the function name separated by a - (dash) will be passed as a single String parameter to the function. e.g.,

 

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

 

JavaScript: prefix : provide single or multiple JavaScript functions or statements after JavaScript: prefix. e.g.,

 

<set label='USA' value='235' link="JavaScript: isJavaScriptCall=true; alert('hi JS!'); myJS('USA',235);"/>

 

More details at: http://docs.fusionch...JavaScript.html

 

Hope this helps.

 

Hi

 

This is on clicking of the bar right...but we need the same behavior when we click on the X-Axis Label. How do we achieve it?

 

Regards

Harini

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Yes, this feature works for data elements only, not for data labels.

 

However, you can provide simple link to the category labels using STYLES features and anchor tags in Flash charts.

 

Hope this helps.

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