Skip to content
ChartForgeX

API Reference

Class

VisualThemeBuilder

Namespace ChartForgeX.Themes
Assembly ChartForgeX
Modifiers sealed

Builds one immutable paired theme. Mutable values are never retained by the resulting theme.

Inheritance

  • Object
  • VisualThemeBuilder

Usage

Explore 28 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 28

Constructors

VisualThemeBuilder 2 overloads
public VisualThemeBuilder() #

Creates a builder from the canonical theme.

public VisualThemeBuilder(VisualTheme theme) #

Creates an independent editable copy of an existing theme.

Parameters

theme ChartForgeX.Themes.VisualTheme requiredposition: 0

Methods

public VisualTheme Build() #
Returns: VisualTheme

Validates and snapshots all colors, typography, geometry and effects.

public VisualDesignTokens Colors(VisualThemeMode mode) #
Returns: VisualDesignTokens

Gets the editable palette for an explicit mode.

Parameters

mode ChartForgeX.Themes.VisualThemeMode requiredposition: 0

Properties

public VisualDesignTokens Light { get; } #

Gets the independently editable light color palette.

public VisualDesignTokens Dark { get; } #

Gets the independently editable dark color palette.

public VisualTypography Typography { get; set; } #

Gets or sets the complete shared font scale.

public Double Spacing { get; set; } #

Gets or sets the standard layout gap.

public Double SeriesStrokeWidth { get; set; } #

Gets or sets the data-line width.

public Double MarkerRadius { get; set; } #

Gets or sets the point radius.

public Double AreaOpacity { get; set; } #

Gets or sets the area fill opacity.

public Double BarRadius { get; set; } #

Gets or sets the bar corner radius.

public Double GridStrokeWidth { get; set; } #

Gets or sets the plot-guide width.

public Double AxisStrokeWidth { get; set; } #

Gets or sets the axis width.

public Double CardRadius { get; set; } #

Gets or sets the outer card corner radius.

public Double PlotRadius { get; set; } #

Gets or sets the plot surface corner radius.

public Double CardShadowOpacity { get; set; } #

Gets or sets the card shadow opacity.

public ChartColor CardShadowColor { get; set; } #

Gets or sets the card shadow color, retaining alpha.

public Double GaugeStrokeWidth { get; set; } #

Gets or sets the gauge value and track width.

public Double GaugeBandWidth { get; set; } #

Gets or sets the gauge threshold band width.