Class HTMLHeatmapChart

java.lang.Object
com.amalgamasimulation.desktop.html.HTMLTag
com.amalgamasimulation.desktop.html.charts.HTMLHeatmapChart
All Implemented Interfaces:
HTMLConvertable

public class HTMLHeatmapChart extends HTMLTag
The HTMLHeatmapChart class represents an HTML-based heatmap chart.
Author:
Alexey Glazyrin
  • Constructor Details

    • HTMLHeatmapChart

      public HTMLHeatmapChart(HeatmapVisualSet visualSet)
      Constructs a new HTMLHeatmapChart instance with specified visual set.
      Parameters:
      visualSet - heatmap chart visual set
  • Method Details

    • xAxisTitle

      public HTMLHeatmapChart xAxisTitle(String title)
      Sets the title for the X-axis.
      Parameters:
      title - axis label text
      Returns:
      this HTMLChart instance for method chaining
    • yAxisTitle

      public HTMLHeatmapChart yAxisTitle(String title)
      Sets the title for the Y-axis.
      Parameters:
      title - axis label text
      Returns:
      this HTMLChart instance for method chaining
    • cellHeightInPx

      public void cellHeightInPx(double height)
      Sets the height of each heatmap cell in pixels.
      Parameters:
      height - the cell height in pixels
    • cellWidthInPx

      public void cellWidthInPx(double width)
      Sets the width of each heatmap cell in pixels.
      Parameters:
      width - the cell width in pixels
    • toHTML

      public String toHTML(Set<String> outStrings)
      Description copied from interface: HTMLConvertable
      Converts the object to an HTML string.
      Specified by:
      toHTML in interface HTMLConvertable
      Overrides:
      toHTML in class HTMLTag
      Parameters:
      outStrings - set of unique strings of text content
      Returns: