Class HeatmapChart.HeatmapRangedColorAxis

Object
ObjectIdentity
BacklinkBuilder<HeatmapChart.HeatmapOptions>
HeatmapRangedColorAxis
Enclosing class:
HeatmapChart

public static class HeatmapChart.HeatmapRangedColorAxis extends BacklinkBuilder<HeatmapChart.HeatmapOptions>
Builder for a HeatmapChart's discrete, banded color axis (ColorAxisType.RANGED), obtained from HeatmapChart.HeatmapOptions.withRangedColorAxis() rather than instantiated directly.
  • Constructor Details

  • Method Details

    • addRange

      public HeatmapChart.HeatmapRangedColorAxis addRange(String color, BigDecimal from, BigDecimal to)
      Adds one discrete color band covering the given value range. Call this once per band; bands are typically added in ascending order to cover the color axis measure's full range.
      Parameters:
      color - the color to use for cells whose color axis value falls in this band
      from - the band's lower bound
      to - the band's upper bound
      Returns:
      this builder, for chaining further bands