Balloonchart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
CyberMaarten
Posts: 6
Joined: Sun Oct 21, 2012 5:27 pm
antibot: No, of course not.

Balloonchart

Post by CyberMaarten » Sun Oct 21, 2012 5:39 pm

I don't know if it's the official word for it, but I mean something like this:

Image

More exactly, I'm looking for a chart class which you can add transparent 3D balloons to, with position, size, and color as parameters. I've searched this forum and googled for it, but I didn't find it.

Does it already exist? If not, any ideas how to develop it (which class to extend, how to create a balloon)?

Tia!

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: Balloonchart

Post by John Matthews » Mon Oct 22, 2012 1:22 am


ascharnweber
Posts: 2
Joined: Thu Apr 01, 2010 12:35 pm
antibot: No, of course not.

Re: Balloonchart

Post by ascharnweber » Tue Oct 30, 2012 8:55 am

This may also be of interest: 4D BubbleChart with JFreeChart
http://www.plainagile.com/archives/215

Kind regards,
Alexander

CyberMaarten
Posts: 6
Joined: Sun Oct 21, 2012 5:27 pm
antibot: No, of course not.

Re: Balloonchart

Post by CyberMaarten » Tue Oct 30, 2012 3:17 pm

Thank you both for your response!

The 4D bubblechart is exactly what the result should be. Unfortunetaly, the chart has to be produced on a previous version of Websphere, which runs JDK 1.5. The 3D (or 4D :P ) bubbles are painted with the RadialGradientPaint class, which is JDK 1.6. But of course I can try to find a workaround - the most important thing is that the circles are semi-transparent.

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: Balloonchart

Post by John Matthews » Tue Oct 30, 2012 5:13 pm

RadialGradientPaint class, which is JDK 1.6
The class java.awt.RadialGradientPaint is JDK 1.6; org.gcs.kinetic.RadialGradientPaint is JDK 1.5; the license was recently changed to LGPL for compatibility with JFreeChart.

CyberMaarten
Posts: 6
Joined: Sun Oct 21, 2012 5:27 pm
antibot: No, of course not.

Re: Balloonchart

Post by CyberMaarten » Wed Oct 31, 2012 5:07 pm

John, that's great. I looked at your code and it's neat.

I'll do as you say and try it to use it with XYBubbleRenderer.

Locked