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

Class

VisualTypography

Namespace ChartForgeX.Themes
Assembly ChartForgeX
Modifiers sealed

The shared logical typography scale; the default follows the chart look specification.

Inheritance

  • Object
  • VisualTypography

Usage

Explore 4 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 1

Accepted by parameters 3

Constructors

public VisualTypography(String family = "Calibri, Carlito, Segoe UI, system-ui, sans-serif", Double titleSize = 17, Double subtitleSize = 13.5, Double axisSize = 12, Double legendSize = 13, Double dataLabelSize = 12, Double scalarValueSize = 34, Double centerValueSize = 20) #

Creates a validated immutable font scale.

Parameters

family System.String = "Calibri, Carlito, Segoe UI, system-ui, sans-serif" optionalposition: 0
titleSize System.Double = 17 optionalposition: 1
subtitleSize System.Double = 13.5 optionalposition: 2
axisSize System.Double = 12 optionalposition: 3
legendSize System.Double = 13 optionalposition: 4
dataLabelSize System.Double = 12 optionalposition: 5
scalarValueSize System.Double = 34 optionalposition: 6
centerValueSize System.Double = 20 optionalposition: 7

Properties

public String Family { get; } #

Gets the fallback family stack.

public Double TitleSize { get; } #

Gets the title size.

public Double SubtitleSize { get; } #

Gets the subtitle size.

public Double AxisSize { get; } #

Gets the axis size.

public Double LegendSize { get; } #

Gets the legend size.

public Double DataLabelSize { get; } #

Gets the data-label size.

public Double ScalarValueSize { get; } #

Gets the primary value size for scalar charts.

public Double CenterValueSize { get; } #

Gets the value size inside a radial chart.