JHeatChart - Java热图图表库


GPLv3
跨平台
Java

软件简介

JHeatChart 是一个 Java 类,用来创建热图图表。

示例代码:

Example heat chart

 // 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"));