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.-
Field Summary
Fields inherited from class BacklinkBuilder
METHOD_BACKFields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity -
Constructor Summary
ConstructorsConstructorDescriptionHeatmapInterpolatedColorAxis(HeatmapChart.HeatmapOptions backLink, String instanceId, String classId) -
Method Summary
Modifier and TypeMethodDescriptionAdds one color stop to the gradient.Methods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
HeatmapInterpolatedColorAxis
public HeatmapInterpolatedColorAxis(HeatmapChart.HeatmapOptions backLink, String instanceId, String classId)
-
-
Method Details
-
addStop
Adds one color stop to the gradient. Call this at least twice, typically once atstop0 and once atstop100, to anchor the gradient's endpoints; the color axis interpolates between stops for values in between.- Parameters:
color- the color at this stopstop- the stop's position along the gradient, from 0 to 100- Returns:
- this builder, for chaining further stops
-