Class HeatSeries

    • Constructor Detail

      • 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 Detail

      • setData

        public void setData​(Number[]... values)
        Sets the numeric data for this series.
        Parameters:
        values - x-y-heatScore triplets
      • 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()