HeatMap Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ccapano
Posts: 12
Joined: Mon Sep 12, 2005 9:22 pm
Location: Frederick, Maryland
Contact:

HeatMap Chart

Post by ccapano » Thu Jun 29, 2006 7:56 pm

I've been reading the forums and I see that there is no support for a heatmap currently. I also looked for the countour chart that is mentioned however i do not see it in the demo.

Is it possible to make a heatmap with jfreechart?

angel
Posts: 899
Joined: Thu Jan 15, 2004 12:07 am
Location: Germany - Palatinate

Post by angel » Fri Jun 30, 2006 9:05 am

Do you refer to this thread?
http://www.jfree.org/phpBB2/viewtopic.php?t=17831

Yes, you can make a contour plot with JFreeChart but it isn't supported by the guide nor the demos.

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 Jun 30, 2006 11:10 am

Thanks for the link - I've e-mailed George to ask if he is able and willing to post the source code for his example.
David Gilbert
JFreeChart Project Leader

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

ccapano
Posts: 12
Joined: Mon Sep 12, 2005 9:22 pm
Location: Frederick, Maryland
Contact:

Post by ccapano » Fri Jun 30, 2006 1:55 pm

I actually did not run into that thread, but that is close to what i am looking for and probably acceptable.

I have a mock up of what I need to create but I lack a server to host the image on ... so I can email it to whoever if anyone want to see.

It's basically a grid-like heatmap

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 Jun 30, 2006 2:20 pm

If you e-mail it to me (david.gilbert@object-refinery.com), I'll add it to this thread.
David Gilbert
JFreeChart Project Leader

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

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 Jun 30, 2006 2:33 pm

Image
David Gilbert
JFreeChart Project Leader

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

jsheena
Posts: 2
Joined: Sun Sep 24, 2006 10:21 pm

Sample code?

Post by jsheena » Sun Sep 24, 2006 10:25 pm

Hi, I need to implement a heatmap as well.

Did you ever figure out how to implement it with a contourdataset? If so, would you mind sharing some sample code? That would be very much appreciated.

Thanks,

--Jonathan

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 » Mon Sep 25, 2006 2:51 pm

Take a look at the XYBlockRenderer class in the org.jfree.experimental.chart.renderer.xy.* package. There are a couple of demos too. I need some feedback on this renderer, plus I need to write an appropriate legend class to show the z-value mapping. Once that is done, this class can move out of "experimental" and become part of the standard JFreeChart API.
David Gilbert
JFreeChart Project Leader

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

jsheena
Posts: 2
Joined: Sun Sep 24, 2006 10:21 pm

Post by jsheena » Mon Sep 25, 2006 3:56 pm

Thanks, David - We'll take a look at that.
--Jonathan

Locked