Sign in to follow this  
Zulfi

Gantt Chart With Bar Chart

Recommended Posts

Hello!

 

So here is my problem,

I have two tabs on my site page.

One tab shows the bar chart and the other shows the Gantt.

 

Now the Gantt cannot be rendered in JS. I am aware of this but I wasn't when building the bar chart part.

So initially I had set renderer to Javascript and made my chart.

However on building the Gantt I realized that the Gantt cannot be rendered in JS yet.

 

So I removed the line expecting that the charts will now be loaded in Flash.

 

However whatever I do the charts are still attempting to load in JS!

I am using FF.

 

I embed the charts (using JS) using this:

 

For the bar:

var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "95%", "500");

 

and for the Gantt:

var myChart = new FusionCharts("FusionCharts/Gantt.swf", "myChartId", "95%", "500");

 

So the error I get is 'Chart type not supported'

 

The reason I say it is still in JS is because when I right click on the chart I expect it to say 'Adobe Flash' but it just provides me the HTML right click menu.

 

What do I do?

 

Best regards,

Zulfi

 

TL;DR: Initially was rendering chart as JS, realized Gantt is not supported, want to switch back to Flash but attempt is always made to render the Gantt in JS leading to 'Chart type not supported' message.

Edited by Zulfi

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Welcome to the FusionCharts Forum :)

 

Thank you for the post.

 

Can you please confirm that you have removed/commented the "FusionCharts.setCurrentRenderer('javascript');" line of code?

 

Also, please check if you have installed the Adobe Flash player.

 

Once the above checks are done, please try clearing the browser's cache memory before retesting.

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to the FusionCharts Forum :)

 

Thank you for the post.

 

Can you please confirm that you have removed/commented the "FusionCharts.setCurrentRenderer('javascript');" line of code?

 

Also, please check if you have installed the Adobe Flash player.

 

Once the above checks are done, please try clearing the browser's cache memory before retesting.

 

Hope this helps!

 

Hello, yeah I have commented the setCurrentRenderer line for sure.

I checked in IE and the flash graph comes up correctly but not in FF.

I have deleted all the cookies (from the beginning of time) and restarted FF. No change tho.

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

OK....

 

Can you please confirm if the Adobe Flash player plug-in is enabled in Firefox browser?

 

I doubt it is the automatic fall back feature that is trying to render JavaScript charts in the absence of a Flash player.

 

If possible, please provide us the live URL for testing purposes.

Share this post


Link to post
Share on other sites

Hi,

 

OK....

 

Can you please confirm if the Adobe Flash player plug-in is enabled in Firefox browser?

 

I doubt it is the automatic fall back feature that is trying to render JavaScript charts in the absence of a Flash player.

 

If possible, please provide us the live URL for testing purposes.

 

Ok this is embarrassing.

I don't have flash enabled on my FF!

 

Sorry for the problems!

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