DivergingColorScale Class

Maps numbers to the colors of a diverging ramp: the middle of the ramp is DivergingColorScale.Midpoint, and each half covers one side of it.

public sealed class DivergingColorScale : ColorScale
Inheritance
ColorScale DivergingColorScale

Constructors

NameDescription
DivergingColorScale()

DivergingColorScale()

DivergingColorScale.cs
public DivergingColorScale()

No documentation is available.

Properties

NameDescription
MaximumGets or sets the value of the end of the ramp, or null for the largest value of the data.
MidpointGets or sets the value of the middle of the ramp. The default is 0.
MinimumGets or sets the value of the start of the ramp, or null for the smallest value of the data.
SchemeGets or sets the ramp. The default is ColorScheme.RedBlue.
TickFormatGets or sets the format of the labels of the legend, or null for the default format.

Gets or sets the value of the end of the ramp, or null for the largest value of the data.

public double? Maximum { get; set; }

Property value

double?

Gets or sets the value of the middle of the ramp. The default is 0.

public double Midpoint { get; set; }

Property value

double

Gets or sets the value of the start of the ramp, or null for the smallest value of the data.

public double? Minimum { get; set; }

Property value

double?

Gets or sets the ramp. The default is ColorScheme.RedBlue.

public ColorScheme Scheme { get; set; }

Property value

ColorScheme

Gets or sets the format of the labels of the legend, or null for the default format.

public Func<double, string>? TickFormat { get; set; }

Property value

Func<double, string>?