heatMapDataset -- with what chart to use

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
develop
Posts: 296
Joined: Wed Mar 23, 2005 10:01 pm

heatMapDataset -- with what chart to use

Post by develop » Thu May 28, 2009 10:34 pm

i am trying to write some sample program that uses heatmap dataset. (i really want to create heatmaps)
what chart should i use ?
does any one has sample program ?

Thanks

develop
Posts: 296
Joined: Wed Mar 23, 2005 10:01 pm

Re: heatMapDataset -- with what chart to use

Post by develop » Fri May 29, 2009 3:03 pm

pdf documentation says that HeatMapChartDemo1.java is included in demo source code.
but i am not able to find it. (its not included)

David can you help me with this ??

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

Re: heatMapDataset -- with what chart to use

Post by david.gilbert » Tue Jun 02, 2009 11:31 pm

Sorry for the delayed response - I wrote a long reply to this a day or so ago, but I don't know why it didn't show up in the forum.

Basically the HeatMapDataset has been written specifically for a client. They're using it with the HeatMapUtilities class to create a BufferedImage representing (typically) around 500,000 data samples. Then they put this buffered image into the background of a chart using the XYDataImageAnnotation class...because this is redrawn as an image instead of being replotted every time, chart performance is improved, particularly for their use case which involves overlaying other data plus crosshairs etc. See CrossSectionDemo1.java for an example (in JFreeChart 1.0.13) of something similar to what this client is doing.

I'll fix the reference to HeatMapDatasetDemo1 when I get back from JavaOne. Sorry for the confusion.
David Gilbert
JFreeChart Project Leader

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

develop
Posts: 296
Joined: Wed Mar 23, 2005 10:01 pm

Re: heatMapDataset -- with what chart to use

Post by develop » Wed Jun 03, 2009 11:56 am

thanks for reply, i will take a look at that demo, basically i want to create heatmap charts similar to what smart money has. right now we are using different approach to create such charts.but i would like to use Jfreechart for that as well, that is the purpose i was looking.

Good luck for JavaOne.

gil.stelzer
Posts: 2
Joined: Tue Sep 20, 2011 4:33 pm
antibot: No, of course not.

Re: heatMapDataset -- with what chart to use

Post by gil.stelzer » Tue Sep 20, 2011 5:16 pm

I would really be interested in seeing example code for drawing a heatmap (with an accompanying color scale).
Tried to look for this over the web with no success.
I'm so frustrated...
Please help
Thanks
Gil

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

Re: heatMapDataset -- with what chart to use

Post by david.gilbert » Wed Sep 21, 2011 6:41 am

I cannot find the HeatMapDatasetDemo1 either, right now. There is another chart XYBlockChartDemo1.java using a different renderer that might be useful to look at. I'll do some further looking for the HeatMap demo when I get a chance.
David Gilbert
JFreeChart Project Leader

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

jonathanliu
Posts: 1
Joined: Thu Oct 13, 2011 6:37 pm
antibot: No, of course not.

Re: heatMapDataset -- with what chart to use

Post by jonathanliu » Thu Oct 13, 2011 6:39 pm

I would also be interested in any available demo code, as I intend to be using the heat map feature soon for a project. Thanks.

aav
Posts: 3
Joined: Fri May 04, 2012 6:58 pm
antibot: No, of course not.

Re: heatMapDataset -- with what chart to use

Post by aav » Fri May 04, 2012 7:22 pm

Hi David,

Request you to please provide the HeatMap example. It will help a number of people who want to implement it.

The example is not present in the demo 13.jar nor is it in demo 14. jar

Locked