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.-
Field Summary
Fields inherited from class BacklinkBuilder
METHOD_BACKFields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity -
Constructor Summary
ConstructorsConstructorDescriptionHeatmapRangedColorAxis(HeatmapChart.HeatmapOptions backLink, String instanceId, String classId) -
Method Summary
Modifier and TypeMethodDescriptionaddRange(String color, BigDecimal from, BigDecimal to) Adds one discrete color band covering the given value range.Methods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
HeatmapRangedColorAxis
public HeatmapRangedColorAxis(HeatmapChart.HeatmapOptions backLink, String instanceId, String classId)
-
-
Method Details
-
addRange
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 bandfrom- the band's lower boundto- the band's upper bound- Returns:
- this builder, for chaining further bands
-