Project

ChartForgeX

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

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Struct

SvgColorVariable

Namespace ChartForgeX.Themes
Assembly ChartForgeX
Base ValueType
Modifiers sealed

One colour mapped to a CSS custom property by SvgColorVariables.

Inheritance

  • ValueType
  • SvgColorVariable

Usage

Explore 2 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.

Properties

public String Name { get; } #

Gets the custom property name, for example --brand-series-1.

public ChartColor Color { get; } #

Gets the colour the property stands for; its literal value is the fallback.

public SvgColorRole Role { get; } #

Gets the role of the colour. Paints written for a role prefer variables of that role; SvgColorRole.Surface variables are never used for the fill of text, so text that happens to have a surface colour (such as white labels on dark marks) stays literal instead of following the surface into another theme.