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

HtmlInteractiveChartRenderer

Namespace ChartForgeX.Interactivity.Html

Renders a ChartForgeX chart as a self-contained interactive HTML document.

Inheritance

  • Object
  • HtmlInteractiveChartRenderer

Methods

BuildFragmentStyle() #

Builds the stylesheet used by embeddable interactive chart fragments.

Returns

CSS ready to register once in a host document.

BuildInteractionScript() #

Builds the JavaScript runtime used by embeddable interactive chart fragments.

Returns

JavaScript ready to register once in a host document.

RenderFragment 2 overloads
RenderFragment(ChartForgeX.Core.Chart chart) #

Renders the specified chart to a self-contained embeddable interactive HTML fragment.

Parameters

chart ChartForgeX.Core.Chart required
The chart to render.

Returns

An embeddable interactive HTML fragment.

RenderFragment(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #

Renders the specified chart to a self-contained embeddable interactive HTML fragment.

Parameters

chart ChartForgeX.Core.Chart required
The chart to render.
configure System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} required
An optional configuration callback for the HTML interaction adapter.

Returns

An embeddable interactive HTML fragment.

RenderFragmentWithoutAssets 2 overloads
RenderFragmentWithoutAssets(ChartForgeX.Core.Chart chart) #

Renders the specified chart to an embeddable interactive HTML fragment without stylesheet or script assets.

Parameters

chart ChartForgeX.Core.Chart required
The chart to render.

Returns

An embeddable interactive HTML fragment that expects the caller to register interactive chart assets.

RenderFragmentWithoutAssets(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #

Renders the specified chart to an embeddable interactive HTML fragment without stylesheet or script assets.

Parameters

chart ChartForgeX.Core.Chart required
The chart to render.
configure System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} required
An optional configuration callback for the HTML interaction adapter.

Returns

An embeddable interactive HTML fragment that expects the caller to register interactive chart assets.

RenderPage 2 overloads
RenderPage(ChartForgeX.Core.Chart chart) #

Renders the specified chart to a complete interactive HTML document.

Parameters

chart ChartForgeX.Core.Chart required
The chart to render.

Returns

A complete HTML document.

RenderPage(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #

Renders the specified chart to a complete interactive HTML document.

Parameters

chart ChartForgeX.Core.Chart required
The chart to render.
configure System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} required
An optional configuration callback for the HTML interaction adapter.

Returns

A complete HTML document.