A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
javydreamercsw
- Posts: 15
- Joined: Fri Oct 07, 2005 2:32 pm
Post
by javydreamercsw » Fri Oct 07, 2005 2:35 pm
I'm trying to figure out hoe to create those since no ChartFactory method are availabel for them.
I thought JThermometer was a Plot but it didn't work. I tried the following:
Code: Select all
JFreeChart chart = new JFreeChart(new JThermometer());
but didn't work. I think I can work with the javadocs about settings and stuff but need to get it up first.
Any idea?
-
pmlb
- Posts: 31
- Joined: Thu Aug 25, 2005 5:18 pm
- Location: France
Post
by pmlb » Fri Oct 07, 2005 4:01 pm
The plot is ThermometerPlot
Pierre-Marie
-
javydreamercsw
- Posts: 15
- Joined: Fri Oct 07, 2005 2:32 pm
Post
by javydreamercsw » Fri Oct 07, 2005 7:26 pm
I'll try that out.
Isn't there a way to create a JThermometer chart with chart factory? Or maybe an example from both (JThermometer and Meter) will be great!
-
javydreamercsw
- Posts: 15
- Joined: Fri Oct 07, 2005 2:32 pm
Post
by javydreamercsw » Mon Oct 17, 2005 2:59 pm
Tried your solution but something's missing. I've never tried to build a graph from scratch, always used ChartFactory. Any help/idea?