Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

ChartBrandKit

Namespace ChartForgeX.Themes

Defines reusable brand tokens that can be applied to charts, grids, and themes.

Inheritance

  • Object
  • ChartBrandKit

Usage

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

Accepted by parameters

Methods

Accessible() #

Creates a high-contrast colorblind-friendly brand kit.

Returns

An accessible brand kit.

ApplyTo(ChartForgeX.Themes.ChartTheme theme) #

Applies this brand kit to a theme.

Parameters

theme ChartForgeX.Themes.ChartTheme required
The theme to update.

Returns

The updated theme.

Create() #

Creates an empty brand kit.

Returns

A brand kit.

Editorial() #

Creates a publication-oriented editorial brand kit.

Returns

An editorial brand kit.

Executive() #

Creates a restrained executive report brand kit.

Returns

An executive brand kit.

PeopleInfographic() #

Creates a clean cyan and magenta people-infographic brand kit.

Returns

A people-infographic brand kit.

Product() #

Creates a vivid product-dashboard brand kit.

Returns

A product brand kit.

WithFontFamily(System.String fontFamily) #

Applies a CSS font-family stack.

Parameters

fontFamily System.String required
The CSS font-family stack.

Returns

The current brand kit.

WithGuideColors(ChartForgeX.Primitives.ChartColor grid, ChartForgeX.Primitives.ChartColor axis) #

Applies grid and axis guide colors.

Parameters

grid ChartForgeX.Primitives.ChartColor required
The grid line color.
axis ChartForgeX.Primitives.ChartColor required
The axis line color.

Returns

The current brand kit.

WithPalette 2 overloads
WithPalette(ChartForgeX.Primitives.ChartColor[] colors) #

Applies a brand palette.

Parameters

colors ChartForgeX.Primitives.ChartColor[] required
The palette colors.

Returns

The current brand kit.

WithPalette(System.String[] colors) #

Applies a brand palette from hexadecimal color strings.

Parameters

colors System.String[] required
The color strings in #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.

Returns

The current brand kit.

WithSemanticColors(ChartForgeX.Primitives.ChartColor positive, ChartForgeX.Primitives.ChartColor warning, ChartForgeX.Primitives.ChartColor negative) #

Applies semantic status colors.

Parameters

positive ChartForgeX.Primitives.ChartColor required
The positive status color.
warning ChartForgeX.Primitives.ChartColor required
The warning status color.
negative ChartForgeX.Primitives.ChartColor required
The negative status color.

Returns

The current brand kit.

WithSurfaceColors(ChartForgeX.Primitives.ChartColor background, ChartForgeX.Primitives.ChartColor cardBackground, ChartForgeX.Primitives.ChartColor plotBackground, ChartForgeX.Primitives.ChartColor cardBorder, ChartForgeX.Primitives.ChartColor plotBorder) #

Applies background and surface colors.

Parameters

background ChartForgeX.Primitives.ChartColor required
The full chart background.
cardBackground ChartForgeX.Primitives.ChartColor required
The outer card background.
plotBackground ChartForgeX.Primitives.ChartColor required
The plot area background.
cardBorder ChartForgeX.Primitives.ChartColor required
The outer card border.
plotBorder ChartForgeX.Primitives.ChartColor required
The plot area border.

Returns

The current brand kit.

WithSurfaceStyle(ChartForgeX.Themes.ChartSurfaceStyle style) #

Applies a surface style preset.

Parameters

style ChartForgeX.Themes.ChartSurfaceStyle required
The surface style preset.

Returns

The current brand kit.

WithTextColors(ChartForgeX.Primitives.ChartColor text, ChartForgeX.Primitives.ChartColor mutedText) #

Applies primary and secondary text colors.

Parameters

text ChartForgeX.Primitives.ChartColor required
The primary text color.
mutedText ChartForgeX.Primitives.ChartColor required
The secondary text color.

Returns

The current brand kit.

Properties

Palette #

Gets or sets the optional series palette.

FontFamily #

Gets or sets the optional CSS font-family stack.

SurfaceStyle #

Gets or sets the optional surface style preset.