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

StorySourceText

Namespace ChartForgeX.Stories

Keeps exact source text together with optional dependency-free syntax spans. Tokenizers live in adapters and map their language-specific tokens into this model.

Inheritance

  • Object
  • StorySourceText

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

AddSpan 2 overloads
AddSpan(System.Int32 arg1, System.Int32 arg2, ChartForgeX.Stories.StorySyntaxKind arg3) #

Adds one ordered syntax span.

Parameters

arg1 System.Int32 required
arg2 System.Int32 required
arg3 ChartForgeX.Stories.StorySyntaxKind required
AddSpan(ChartForgeX.Stories.StorySourceSpan arg1) #

Adds one ordered syntax span.

Parameters

arg1 ChartForgeX.Stories.StorySourceSpan required
Create(System.String arg1, System.String arg2) #

Creates source text without language-specific dependencies.

Parameters

arg1 System.String required
arg2 System.String required
WithLanguage(System.String arg1) #

Sets an optional language identifier used by hosts and accessibility output.

Parameters

arg1 System.String required

Properties

Text #

Gets the exact source text, including whitespace.

Language #

Gets the optional language identifier.

Spans #

Gets ordered, non-overlapping syntax spans.