File: README

package info (click to toggle)
jheatchart 0.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 316 kB
  • sloc: java: 641; xml: 55; makefile: 3
file content (49 lines) | stat: -rw-r--r-- 2,006 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
*******************************************************************************

            JHeatChart v.0.6            Tom Castle: www.tc33.org
                                                                           
*******************************************************************************
|                                                                             |
| JHeatChart is made available under a LGPL license, for full details of the  |
| license see the included LICENSE text file.                                 |
|                                                                             |
|-----------------------------------------------------------------------------|

For the latest version of JHeatChart and any tutorials and examples that exist,
see the JHeatChart project pages at http://www.tc33.org. 

Contents of release:

    jheatchart-0.6
        | jheatchart-0.6.jar - the library. Put this anywhere on your class path.
        | src - directory containing all the java source.
            | ...
        | javadoc - directory containing the javadoc for this release.
            | ...
        | README - this file.
        | LICENSE - details of the LGPL license this software is covered by.

Usage:

    Simply put the jheatchart jar file on your class path and then you are free 
    to create instances of HeatChart.
   
Example code:

    // Create some dummy data.
    double[][] data = new double[][]{{3,2,3,4,5,6},
                                     {2,3,4,5,6,7},
                                     {3,4,5,6,7,6},
                                     {4,5,6,7,6,5}};
    
    // Create our heat chart using our data.
    HeatChart chart = new HeatChart(data);
    
    // Customise the chart.
    chart.setTitle("This is my chart title");
    chart.setXAxisLabel("X Axis");
    chart.setYAxisLabel("Y Axis");
    
    // Output the chart to a file.
    chart.saveToFile(new File("my-chart.png"));