b471code3 Report post Posted April 12, 2007 I am fairly new to Fusion Charts and the 10 charts I have developed I want to display several on a main .php page in a smaller format (thumbnail per say) still with the functionality of the larger chart they would link to. The problem I have is I want only a few items on the chart. I have removed all of the chart labels with the exception of the yAxisMin and Max values. Is there a way to remove those values? Secondly, would like to change the width of the column on the chart. In the image below the top one is the Fusion chart and the other is a JFreeChart converted to a .png format. Thanks Share this post Link to post Share on other sites
Pallav Report post Posted April 13, 2007 Yes - you can remove the y-axis values by setting <chart showYAxisValues='0' ...> And you can easily change the width and height of the chart by specifying it in the JavaScript constructor function of the chart. Share this post Link to post Share on other sites
b471code3 Report post Posted April 13, 2007 (edited) Ok I tried this and it did not work for me, here is what I have so far. $strXML = "<graph numberPrefix='$' showNames='0' showValues='0' showLegend='0' showDivLineValue='0' showYAxisValues='0' canvasBgColor='".$daColor."'>": Sorry, I think I failed to mention I am using version 2.3 not 3.0 if this makes a difference. If this doesn't work then is there a way to export it to a .png or .jpg file? Also, the size of the chart was not by question it was the size of the column on the chart. Say I have a chart that is 200px x 150px. I would like to have the columns more wide than narrow without changing the size of the chart. Edited April 13, 2007 by Guest Share this post Link to post Share on other sites
b471code3 Report post Posted April 13, 2007 I did figure it out, in 2.3 its <graph showLimits='0' > setting. Now I am trying to figure out how to make the chart take up the whole player area. Now the chart is say 125px x 100px and the player is about 175px x 150px. I would like the extra 25px of white space on each side to be chart and still keep the same size. Any ideas on that? Share this post Link to post Share on other sites
Pallav Report post Posted April 14, 2007 If you're using v2.3 (our older version), pls see http://www.fusioncharts.com/FusionCharts23/Site_Doc/HelpDocs/Resize.html Share this post Link to post Share on other sites
b471code3 Report post Posted April 14, 2007 As stated before I understand how to resize the chart, what I want to do is remove the white space around the chart. I have set the margins to 0, removed all the extra text on the outside and now just have the chart itself. I want to make the chart fit within the ouline on the image below. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 16, 2007 Try using various combinations of chartLeftMargin/chartTopMargin/chartRightMargin/chartBottomMargin. to reduce the actual plot area. Share this post Link to post Share on other sites