Combined plot for more than 3 plots

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

Combined plot for more than 3 plots

Postby mfalcon » Tue Feb 06, 2018 8:44 pm


I need to make a combined plot for 6 different plots. I have searched for any tutorial about how to make this. the only tutorial that I found was this: ... tDemo3.htm

but there are 2 problems in this
1- I need 6 plots, 3 in the first row and 3 in the second row, while the tutorial shows only 3 plots in one row.
2- The plots that are made in tutorial are all having same vertical axis name, which is not my case, as every plot has different vertical axis name.

Is there some tutorial to help me in what I want to do? or it is a limitation that is in jFreechart and can not be avoided?
Posts: 1
Joined: Tue Feb 06, 2018 7:08 pm

Re: Combined plot for more than 3 plots

Postby John Matthews » Wed Feb 07, 2018 7:06 pm

Add your charts to a container having a suitable layout: GridPane is shown here, and GridLayout is shown here.
John Matthews
Posts: 401
Joined: Wed Sep 12, 2007 3:18 pm

Return to JFreeChart

Who is online

Users browsing this forum: No registered users and 12 guests