Class HeatSeries

All Implemented Interfaces:
Series, Serializable

public class HeatSeries extends AbstractSeries
A specialized series for use with HeatMaps
See Also:
  • Constructor Details

    • HeatSeries

      public HeatSeries()
    • HeatSeries

      public HeatSeries(String name)
      Constructs a HeatSeries with the given name
      Parameters:
      name - The name of this data series.
    • HeatSeries

      public HeatSeries(String name, Number[]... values)
      Constructs a HeatSeries with the given name and values
      Parameters:
      name - the name of the series
      values - x-y-heatScore triplets
  • Method Details

    • setData

      public void setData(Number[]... values)
      Sets the numeric data for this series.
      Parameters:
      values - x-y-heatScore triplets
    • getData

      public Number[][] getData()
      Returns:
      the raw data in this series
      See Also:
    • addHeatPoint

      public void addHeatPoint(int x, int y, Number heatScore)
      Add a single data point to the heat series
      Parameters:
      x - the x coordinate of the point
      y - the y coordinate of the point
      heatScore - the heat score of the point
    • clear

      public void clear()