Normally in JFreeCharts the actual image is present with a default margin.
Please help me to draw charts with the actual image drawn for the given width and height without any margin(i.e extra space around the image).
Thanks,
Gopi
How to clear unwanted chart space?
Re: How to clear unwanted chart space?
Try setting the chart's padding and/or the plot's insets.
http://www.jfree.org/jfreechart/api/jav ... gleInsets)
http://www.jfree.org/jfreechart/api/jav ... gleInsets)
http://www.jfree.org/jfreechart/api/jav ... gleInsets)
http://www.jfree.org/jfreechart/api/jav ... gleInsets)
Re: How to clear unwanted chart space?
Hi gengar,
Thanks for your reply.
Setting the chart's padding and/or the plot's insets allow me to adjust the padding but the default spacing of 7 to 8 pixels is not getting removed.Can I get the chart for the exact width and height given?
Thanks again,
Gopi.
Thanks for your reply.
Setting the chart's padding and/or the plot's insets allow me to adjust the padding but the default spacing of 7 to 8 pixels is not getting removed.Can I get the chart for the exact width and height given?
Thanks again,
Gopi.
Re: How to clear unwanted chart space?
Sorry, I've done a mistake. setPadding works well.
Thanks,
Gopi
Thanks,
Gopi