Skip to content

DonutChartTheme

Namespace: Hex1b.Theming

Assembly: Hex1b.dll

Theme elements for DonutChart widgets.

csharp
public static class DonutChartTheme

Inheritance

ObjectDonutChartTheme

Fields

LegendDimColor

The color used for dim legend text (values, percentages).

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> LegendDimColor

LegendLabelColor

The color used for legend labels.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> LegendLabelColor

Remarks

DonutChartTheme provides customization for the legend text colors used alongside the donut chart visualization.

Examples

Customize donut chart appearance:

csharp
var theme = new Hex1bThemeBuilder()
    .Set(DonutChartTheme.LegendLabelColor, Hex1bColor.White)
    .Set(DonutChartTheme.LegendDimColor, Hex1bColor.Gray)
    .Build();

Released under the MIT License.