API Reference
Class
ApexHeatmapColorScale
Represents heatmap color scale definition with value ranges.
Inheritance
- Object
- ApexHeatmapColorScale
Constructors
public ApexHeatmapColorScale() #Methods
public ApexHeatmapColorScale AddRange(Double from, Double to, String color, String name = null) #Returns:
ApexHeatmapColorScaleAdds a range that maps values to a specific color.
Parameters
- from System.Double
- Inclusive lower bound of the range.
- to System.Double
- Inclusive upper bound of the range.
- color System.String
- CSS color value used for the range.
- name System.String = null
- Optional display label for the range.
Returns
The same ApexHeatmapColorScale instance for chaining.
public ApexHeatmapColorScale SetInverse(Boolean inverse) #Returns:
ApexHeatmapColorScaleSets whether the heatmap color scale is inverted.
Parameters
- inverse System.Boolean
- True to invert the scale; otherwise false.
Returns
The same ApexHeatmapColorScale instance for chaining.
Inherited Methods
Properties
public Nullable<Boolean> Inverse { get; set; } #JsonPropertyName("inverse") JsonIgnore(Condition = 3)Gets or sets whether the heatmap color scale should be inverted.
public List<ApexHeatmapRange> Ranges { get; set; } #JsonPropertyName("ranges") JsonIgnore(Condition = 3)Gets the collection of value ranges used to colorize the heatmap.