Shwoing a heat map in red
Source code name: "xchart_heat2.java"
Programming language: Java
Topic: Plots/Graph
DMelt Version 3. Last modified: 04/05/1977. License: Pro
https://datamelt.org/code/cache/xchart_heat2_4852.java
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


import java.awt.Color;
import java.awt.Font;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.knowm.xchart.HeatMapChart;
import org.knowm.xchart.HeatMapChartBuilder;
import org.knowm.xchart.SwingWrapper;
import org.knowm.xchart.style.Styler.LegendLayout;
import org.knowm.xchart.style.Styler.LegendPosition;

/**
 * HeatMap X-Axis Data Date Type
 *
 * 

Demonstrates the following: * *


You see the box below because you did not login.