multiple thermometer plot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
debanjan
Posts: 4
Joined: Tue Sep 09, 2014 10:46 am
antibot: No, of course not.

multiple thermometer plot

Post by debanjan » Mon Sep 15, 2014 12:11 pm

I'm new to jfree chart, so its little bit complex for me. I am doing a project where I have to shown
two thermometer plot side by side. I know how to generate single thermometer plot and also know combined domain plot.
But combined domain plot will always accept instance of Category plot and thermometer and category are two different types
of plot.So any idea how to use combinedplot for showing two
thermometer plot . plz help.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: multiple thermometer plot

Post by david.gilbert » Wed Sep 17, 2014 8:32 pm

The only way to show multiple thermometer plots is to put each one in its own ChartPanel then use a Swing layout manager to set the panels side by side (or however you want them arranged).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

debanjan
Posts: 4
Joined: Tue Sep 09, 2014 10:46 am
antibot: No, of course not.

Re: multiple thermometer plot

Post by debanjan » Thu Sep 18, 2014 7:50 am

Thanx david.gilbert , its working perfectly. Swing , jpanel , chartpanel all are used for java window application . But I want to make it as a JSP-Servlet application which will refresh after a fixed interval of time using response.setIntHeader . Is it possible ? Plz reply .

Locked