Entering the third dimension

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
thomaha
Posts: 2
Joined: Mon Jun 16, 2003 4:00 pm
Location: Oslo
Contact:

Entering the third dimension

Post by thomaha » Thu Dec 04, 2014 2:48 pm

Hi.

Lets say I have a nice two dimensional dataset of fruits in different colours like this:

Grapes: 2 green, 3 blue, 4 red..
Apples: 3 green, 10 red, 17 yellow..

No issue making this into bar or line charts.

But how to get this kind of data in to a monthly chart, in any nice way, so that I can compare consumption of fruit with colour per month?

January: Grapes : 1 green, 2 blue, 2 red : Apples 1 green, 2 red, 3 yellow..
February: ...

Only ways I can think of, is to make one chart per month or "merging" two of the dimensions by making labels like: Grapes January, Grapes February.. but that does not look very good.
Is there any other way that I am overlooking?

I have been looking at the various XYZ dataset classes, but I do not find any renderer that fit this usage by going through the recently purchased Developer Guide.

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

Re: Entering the third dimension

Post by david.gilbert » Sun Dec 14, 2014 7:09 pm

I wrote a 3D chart library but I did not make it free:

http://www.object-refinery.com/orsoncharts/

It might be what you are looking for.
David Gilbert
JFreeChart Project Leader

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

Locked