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

HtmlAssetReferences

Namespace ChartForgeX.Interactivity.Html
Assembly ChartForgeX.Interactivity.Html
Modifiers sealed

Makes generated pages reference the interactive runtimes as shared asset files instead of inlining them, so a bundle of many reports ships one copy of each runtime. Write the files with HtmlInteractiveAssetFiles.

Inheritance

  • Object
  • HtmlAssetReferences

Usage

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

Accepted by parameters 2

Constructors

public HtmlAssetReferences(String basePath) #

Initializes asset references rooted at basePath.

Parameters

basePath System.String requiredposition: 0
The folder or URL the pages load assets from, for example assets/, ../shared/cfx/, or https://reports.example.test/assets/. A trailing slash is added when missing. Only relative paths and http/https URLs are accepted; network paths (//host, \\server), queries, and fragments are rejected.

Properties

public String BasePath { get; } #

Gets the normalized base path, always ending with /.

public Boolean IncludeIntegrity { get; set; } #

Gets or sets a value indicating whether script and stylesheet references carry a Subresource Integrity (sha384) attribute. Off by default because browsers skip integrity-checked assets loaded from file:// pages; enable it for hosted bundles. Integrity-checked assets are requested with crossorigin="anonymous", so assets on another origin must be served with CORS headers.