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

HtmlInteractiveAssetFiles

Namespace ChartForgeX.Interactivity.Html
Assembly ChartForgeX.Interactivity.Html
Modifiers static

Provides the interactive runtimes as shared asset files for bundles that reference them through HtmlAssetReferences instead of inlining one copy per page.

Inheritance

  • Object
  • HtmlInteractiveAssetFiles

Methods

public static IReadOnlyList<HtmlAssetFile> Charts() #
Returns: IReadOnlyList<HtmlAssetFile>

Returns the files referenced by interactive chart and dashboard pages.

public static IReadOnlyList<HtmlAssetFile> GraphExplorer() #
Returns: IReadOnlyList<HtmlAssetFile>

Returns the files referenced by graph explorer pages.

public static HtmlAssetFile TopologyScript(TopologyRenderOptions? options = null) #
Returns: HtmlAssetFile

Gets the topology interaction runtime for the given render options. The runtime is specialised to the CSS class prefix, so each prefix produces its own file name.

Parameters

options ChartForgeX.Topology.TopologyRenderOptions? = null optionalposition: 0
The topology render options used for the pages; null uses the defaults.

Returns

The topology runtime file.

public static IReadOnlyList<String> WriteTo(String directory, IEnumerable<HtmlAssetFile> files) #
Returns: IReadOnlyList<String>

Writes asset files into directory (created when missing). Files that already exist with the same content are left untouched, so repeated report runs keep one copy per bundle. New content is written to a temporary file and moved into place, so readers never see a partially written runtime and concurrent runs that write the same content succeed.

Parameters

directory System.String requiredposition: 0
The bundle's asset folder, matching HtmlAssetReferences.BasePath.
files System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.Html.HtmlAssetFile> requiredposition: 1
The files to write.

Returns

The full paths of the asset files.

Properties

public static HtmlAssetFile ChartStyle { get; } #

Gets the stylesheet used by interactive chart and dashboard pages.

public static HtmlAssetFile ChartScript { get; } #

Gets the runtime used by interactive chart and dashboard pages.

public static HtmlAssetFile GraphExplorerStyle { get; } #

Gets the stylesheet used by graph explorer pages.

public static HtmlAssetFile GraphExplorerScript { get; } #

Gets the runtime used by graph explorer pages.