Autosize image size of a Gantt Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
toxicity967
Posts: 1
Joined: Mon Jul 25, 2016 3:03 pm
antibot: No, of course not.

Autosize image size of a Gantt Chart

Post by 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

Post Reply