Table of Contents

Class TwChartColor

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

One chart color, declared once per place it can be painted so Tailwind can see and compile every class.

[ExcludeFromCodeCoverage]
public class TwChartColor
Inheritance
TwChartColor
Inherited Members

Constructors

TwChartColor()

public TwChartColor()

Properties

Background

Gets or sets the background classes, used by bars, dots, legend swatches and tooltip keys.

public required string Background { get; set; }

Property Value

string

Fill

Gets or sets the SVG fill classes, used by areas, sectors and other filled paths.

public required string Fill { get; set; }

Property Value

string

Stroke

Gets or sets the SVG stroke classes, used by lines.

public required string Stroke { get; set; }

Property Value

string

Text

Gets or sets the text color classes, used by icons. Labels never use it: chart text stays in neutral ink.

public required string Text { get; set; }

Property Value

string