JHeatChart is a simple Java library for generating heat map charts for output as image files or use in GUIs. It is open source under an LGPL license.


All new users should download the latest release which is version 0.6. Although still considered a beta release, version 0.6 is stable enough for most production use.

Version Release Release Date
0.6 zip | tar 2010-12-28
0.51 zip | tar 2010-07-29
0.4 zip | tar 2010-02-17

*All versions require Java 1.5 or later.


To install JHeatChart, you simply need to add the included .jar file to your Java classpath.


v.0.6 settable low/high values to impose consistent colouration across a set of charts. Support for transparent backgrounds. Move to LGPL license.

v.0.51 bug fix for issue where non-square datasets fail (thanks to Allie for raising this) and fix for separate bug which prevented the chart title from being drawn correctly.

v.0.5 chart dimensions calculated from individual cell size, fixed issue with positioning title centrally, and added support for both horizontal and vertical axis values. This version is not backwards compatible.

v.0.4 adds support for colouring cells based upon the z-values to a logarithmic or exponential scale as well as linearly.

2 Comments on “Download”

  1. 1 Gil said at 11:47 am on September 21st, 2011:

    It seems that using this class is pretty srtaightforward. However, I would like to display the color scale that matches the z values of the various point in the graph. Is there possible using this class?

  2. 2 Tom Castle said at 11:40 am on September 22nd, 2011:

    Displaying a key/legend isn’t supported currently. If you decide to extend the class to add it, it would be great if you could post your code, because I’m sure others would find that useful.