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

TextStyleOverride

Namespace ChartForgeX.Typography

Defines optional overrides that can be resolved over a complete TextStyle.

Inheritance

  • Object
  • TextStyleOverride

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

Resolve(ChartForgeX.Typography.TextStyle arg1) #

Resolves these overrides over a complete text style without mutating the fallback.

Parameters

arg1 ChartForgeX.Typography.TextStyle required
WithColor 2 overloads
WithColor(ChartForgeX.Primitives.ChartColor arg1) #

Sets the text color.

Parameters

arg1 ChartForgeX.Primitives.ChartColor required
WithColor(System.String arg1) #

Sets the text color from hexadecimal notation.

Parameters

arg1 System.String required
WithFontFamily(System.String arg1) #

Sets the CSS font-family.

Parameters

arg1 System.String required
WithFontSize(System.Double arg1) #

Sets the font size.

Parameters

arg1 System.Double required
WithItalic(System.Boolean arg1) #

Sets italic text.

Parameters

arg1 System.Boolean required
WithUnderline(System.Boolean arg1) #

Sets underlined text.

Parameters

arg1 System.Boolean required
WithWeight(System.String arg1) #

Sets the CSS font-weight.

Parameters

arg1 System.String required

Properties

Color #

Gets or sets the optional text color override.

FontFamily #

Gets or sets the optional CSS font-family override.

FontWeight #

Gets or sets the optional CSS font-weight override.

FontSize #

Gets or sets the optional font size override.

Italic #

Gets or sets a value indicating whether text is italic.

Underline #

Gets or sets a value indicating whether text is underlined.

HasOverrides #

Gets a value indicating whether this instance contains explicit overrides.