OrdinalColorScale Class

Gives each category a color of a palette, in order.

public sealed class OrdinalColorScale : ColorScale
Inheritance
ColorScale OrdinalColorScale

Constructors

NameDescription
OrdinalColorScale()

OrdinalColorScale()

public OrdinalColorScale()

No documentation is available.

Properties

NameDescription
DomainGets or sets the categories, in order, or null to use the values of the data in the order they first appear.
PaletteGets or sets the colors, or null for the palette of the theme (ChartTheme.Palette). They are reused when there are more categories than colors.

Gets or sets the categories, in order, or null to use the values of the data in the order they first appear.

public IReadOnlyList<string>? Domain { get; set; }

Gets or sets the colors, or null for the palette of the theme (ChartTheme.Palette). They are reused when there are more categories than colors.

public IReadOnlyList<ChartColor>? Palette { get; set; }