Autosize image size of a Gantt Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).

Autosize image size of a Gantt Chart

Postby toxicity967 » Mon Jul 25, 2016 3:18 pm

Hi everyone,
I'm using the JFreeChart library in order to create a Gantt Chart of a set of activities.
I used this syntax:
Code: Select all
BufferedImage objBufferedImage=objJFreechart.createBufferedImage(1200,800);

in order to create the image on which the chart will be deployed, but I would like to know if there is a way to let the program automatically set the image dimensions in relation of the bars that the dyagram will have.
Thank you
toxicity967
 
Posts: 1
Joined: Mon Jul 25, 2016 3:03 pm

Return to JFreeChart

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 5 guests