hger12345

Render two charts in PHP?

Recommended Posts

I have set up two column2d fusion charts in PHP.  I can confirm they both work independently.

In my code I call them $columnChart1 and $columnChart.

In php if I do:

$columnChart->render();    I can see the first chart.

If I do:

$columnChart1->render();  I can see the second chart.

If I do both renders back to back, it will only render the first chart ie:

$columnChart->render(); 

$columnChart1->render();

In that case only columnChart appears.  If I do it in reverse:

$columnChart1->render();

$columnChart->render();

In this case I only see the second chart, only columnChart1 appears. 

How can I make both charts render on the same page?  Thanks for any assistance!

 

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