OrdinalColorScale Class
Gives each category a color of a palette, in order.
public sealed class OrdinalColorScale : ColorScale- Inheritance
ColorScaleOrdinalColorScale
Constructors
| Name | Description |
|---|---|
| OrdinalColorScale() |
OrdinalColorScale()
public OrdinalColorScale()No documentation is available.
Properties
| Name | Description |
|---|---|
| Domain | Gets or sets the categories, in order, or null to use the values of the data in the order they first appear. |
| Palette | 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. |
Domain
OrdinalColorScale.csGets 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; }Property value
Palette
OrdinalColorScale.csGets 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; }