Class HeatmapChart.HeatmapInterpolatedColorAxis

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

public static class HeatmapChart.HeatmapInterpolatedColorAxis extends BacklinkBuilder<HeatmapChart.HeatmapOptions>
Builder for a HeatmapChart's continuous color gradient (ColorAxisType.INTERPOLATED), obtained from HeatmapChart.HeatmapOptions.withInterpolatedColorAxis() rather than instantiated directly.
  • Constructor Details

  • Method Details

    • addStop

      Adds one color stop to the gradient. Call this at least twice, typically once at stop 0 and once at stop 100, to anchor the gradient's endpoints; the color axis interpolates between stops for values in between.
      Parameters:
      color - the color at this stop
      stop - the stop's position along the gradient, from 0 to 100
      Returns:
      this builder, for chaining further stops