Sign in to follow this  
plywood

Quick Questions

Recommended Posts

I'm thinking about upgrading from FusionCharts Free to v3. Before I do, I just have a few questions:

 

 

 

(1) Is it possible to add more than 1 vertical line () to a 2D Line Graph? If so, what PHP method(s) could I use to add, say, 3 vertical lines?

 

 

 

(2) Is it possible to output the graphs to an image file of my specification? If so, what types of image files can I choose from? Also, what would the PHP code look like? Anything like this:

 

 

 

$imagePNG = $fusionChart->ExportToPng();

 

$imageJPG = $fusionChart->ExportToJpg();

 

 

 

Thanks!

 

bubonic

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

(1) Is it possible to add more than 1 vertical line () to a 2D Line Graph? If so, what PHP method(s) could I use to add, say, 3 vertical lines?

Please try setting the value for the attribute "<vLine/>" element in your XML code for the same.

Ref.- http://www.fusioncharts.com/docs?/AttDesc/VLines.html

(2) Is it possible to output the graphs to an image file of my specification? If so, what types of image files can I choose from? Also, what would the PHP code look like?

Starting FusionCharts v3.0.7, you could export your charts as images. And FusionCharts v3.1 adds new dimensions to it, by allowing you to export as PDFs as well, and also lets you choose whether to export the charts at client-side or server-side.

For further details please refer to the "Exporting as Image/PDF" section of the online documentation.

Ref.- Exporting as Image/PDF --> http://www.fusioncharts.com/docs

Hope this helps. :)

Share this post


Link to post
Share on other sites

Thank you for your answers! I just need clarification on one of them, as well as the answer to another quick question.

 

 

 

Going back to the vLine question, I just need confirmation:

 

(1) Is it possible to have more than one vLine on a single 2D Line Graph (Single Series)? If so, what would the XML look like, and how would I create them dynamically in PHP?

 

 

 

Also, I thought of another question:

 

(2) Is it possible to get rid of labels on my data points? My graph has to be be bound between 0 and 100 (y-axis values). Some times when I have a data point that is 0, the label "0.00" gets drawn over the label for the x-axis div. The perfect solution would be to just turn data point labels off. Can I? If so, how?

 

 

 

Thanks for all your help!

 

plywood

Edited by Guest

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