Table of Contents

Enum ChartColorRole

Namespace
TwBlazor.Charting
Assembly
TwBlazor.dll

The job a color does in a chart. The theme maps each role to its classes, so a chart never names a color itself.

public enum ChartColorRole

Fields

Axis = 7

Baselines and axis lines.

Grid = 6

Recessive gridlines.

Ink = 8

High-contrast ink for target markers.

Negative = 2

An unfavourable change, such as a decrease on a waterfall chart.

Positive = 1

A favourable change, such as an increase on a waterfall chart.

Sequential = 4

Magnitude: a single hue whose opacity follows the value.

Series = 0

Identity: one of the categorical series colors, picked by slot.

Total = 3

A neutral summary value, such as the total on a waterfall chart.

Track = 5

The unfilled part of a meter, gauge or bullet range.