hi there,
Maybe it is interesting for some developers how a RadialGradientPaint can be used in a special renderer for a 4D bubble chart created with jfreechart. I posted a small howto here: http://www.plainagile.com/archives/215
It uses an enhanced XYZDataset and a bubble renderer that takes into account the two additional dimensions.
regards
Mats
4D bubble chart using RadialGradientPaint
Re: 4D bubble chart using RadialGradientPaint
It looks really nice Mats, it remind me of this presentation by Hans Rosling:
http://www.ted.com/talks/hans_rosling_s ... _seen.html
http://www.ted.com/talks/hans_rosling_s ... _seen.html
Creator of Glotaran, a software program developed for global and target analysis of time-resolved spectroscopy and microscopy data. Big fan of JFreeChart.
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: 4D bubble chart using RadialGradientPaint
Hi Mats,
nice work indeed!
Some time ago, I needed something similar: multi-dimensional datasets (or, as I have called them, datasets with multiple z-ranges) and appropriate renderers (the link)
One major motivation behind this work was to ensure that the z-range of the dataset and the z-range which is displayed by a suitable legend (such as a PaintScaleLegend but later generalized to a ZRangeLegend) is the same, and that the way by which a renderer displays the z ranges (e. g. as color, shape size, shape type,...) is correctly shown in the legend.
Maybe it is time to clean up the code and then make it available in an updated version.
nice work indeed!
Some time ago, I needed something similar: multi-dimensional datasets (or, as I have called them, datasets with multiple z-ranges) and appropriate renderers (the link)
One major motivation behind this work was to ensure that the z-range of the dataset and the z-range which is displayed by a suitable legend (such as a PaintScaleLegend but later generalized to a ZRangeLegend) is the same, and that the way by which a renderer displays the z ranges (e. g. as color, shape size, shape type,...) is correctly shown in the legend.
Maybe it is time to clean up the code and then make it available in an updated version.