StackedAreaChart with TimeSeries

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
lars_ohlen
Posts: 2
Joined: Fri May 13, 2005 4:06 pm

StackedAreaChart with TimeSeries

Post by lars_ohlen » Fri May 13, 2005 4:10 pm

Hi forum,

Newbi question:
is it possible to use create a StackedAreaChart using TimeSeries?


/L

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

Post by david.gilbert » Fri May 13, 2005 4:47 pm

You can, but you need to make sure your dataset implements the TableXYDataset interface (e.g. you can use the TimeTableXYDataset class).
David Gilbert
JFreeChart Project Leader

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

Sanix
Posts: 9
Joined: Fri Dec 01, 2006 4:25 pm

Post by Sanix » Mon Dec 04, 2006 3:52 pm

How would this looks like?

I created now 4 TimeSeries. But I don't know how to add them. Is there an example code anywhere?
I looked into the API doc but I don't get what I should do.

Locked