VisualThemeBuilder
ChartForgeX.Themes
Builds one immutable paired theme. Mutable values are never retained by the resulting theme.
Inheritance
- object
- VisualThemeBuilder
Usage
Explore 34 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.
Returned or exposed by 2
- Method VisualThemeBuilder.ClearSeries
- Method VisualThemeBuilder.Series
Accepted by parameters 32
- Method ChartExtensions.Theme
- Extension method Chart.Theme
- Extension method ChartGrid.Theme
- Method VisualTheme.Configure
- Extension method TopologyChart.Theme
- Method TopologyChartExtensions.Theme
- Method ActivityTimelineBlock.Theme
- Method BlockLayoutBlock.Theme
- Method ChartList.Theme
- Method ChartTable.Theme
- Method DateStripBlock.Theme
- Method EntityStripBlock.Theme
- Method FactualVisualBlock<T>.Theme
- Method FishboneDiagramBlock.Theme
- Method GitGraphBlock.Theme
- Method HeatmapInsightCard.Theme
- Method JourneyDiagramBlock.Theme
- Method MetricCard.Theme
- Method PacketLayoutBlock.Theme
- Method RadialMetricCard.Theme
- Method RailroadDiagramBlock.Theme
- Method ScheduleTimelineBlock.Theme
- Method SectionHeaderBlock.Theme
- Method SegmentedMetricBlock.Theme
- Method TimelineDiagramBlock.Theme
- Method TreeViewBlock.Theme
- Method VennDiagramBlock.Theme
- Method VisualBlock<T>.Theme
- Extension method VisualGrid.Theme
- Method WardleyMapBlock.Theme
- Method WorkloadListBlock.Theme
- Method VisualsExtensions.Theme
Constructors
public VisualThemeBuilder(VisualTheme theme) #Creates an independent editable copy of an existing theme.
Parameters
- theme ChartForgeX.Themes.VisualTheme
Methods
public VisualTheme Build() #Validates and snapshots all colors, typography, geometry, effects and per-kind series defaults.
Returns
VisualThemepublic VisualThemeBuilder ClearSeries(ChartSeriesKind kind) #Removes the defaults for one series kind, restoring the global theme values for it.
Parameters
- kind ChartForgeX.Core.ChartSeriesKind
- The series kind.
public VisualDesignTokens Colors(ThemeMode mode) #Gets the editable palette for a mode. ThemeMode.Auto edits the light palette, which static output paints for it.
Parameters
- mode ChartForgeX.ThemeMode
Returns
VisualDesignTokenspublic VisualThemeBuilder Series(ChartSeriesKind kind, Action<VisualSeriesDefaults> configure) #Configures the defaults for one series kind, such as the width and markers of every line.
Parameters
- kind ChartForgeX.Core.ChartSeriesKind
- The series kind.
- configure System.Action<ChartForgeX.Themes.VisualSeriesDefaults>
- Edits the kind's defaults; settings that do not apply to the kind fail in VisualThemeBuilder.Build.
Inherited Methods
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 SeriesStrokeWidth { get; set; } #Gets or sets the data-line width.
public double AreaOpacity { get; set; } #Gets or sets the area fill opacity.
public double MaximumBarWidth { get; set; } #Gets or sets the maximum regular bar thickness in drawing pixels, default 64.
public double GridStrokeWidth { get; set; } #Gets or sets the plot-guide 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.