API Reference
InteractiveChartExtensions
Provides convenience methods for rendering charts with opt-in HTML interactivity.
Inheritance
- Object
- InteractiveChartExtensions
Methods
public static Void SaveInteractiveHtml(Chart chart, String path) #VoidSaves a chart as a self-contained interactive HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
public static Void SaveInteractiveHtml(Chart chart, String path, Action<HtmlChartInteractionOptions>? configure) #VoidSaves a chart as a self-contained interactive HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions>?
- An optional configuration callback for the HTML interaction adapter.
public static Void SaveInteractiveHtmlDashboard(IEnumerable<Chart> charts, String path) #VoidSaves several charts as one self-contained interactive dashboard HTML document.
Parameters
- charts System.Collections.Generic.IEnumerable<ChartForgeX.Core.Chart>
- The charts to render.
- path System.String
- The output file path.
public static Void SaveInteractiveHtmlDashboard(IEnumerable<Chart> charts, String path, Action<HtmlInteractiveDashboardOptions>? configure) #VoidSaves several charts as one self-contained interactive dashboard HTML document.
Parameters
- charts System.Collections.Generic.IEnumerable<ChartForgeX.Core.Chart>
- The charts to render.
- path System.String
- The output file path.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlInteractiveDashboardOptions>?
- An optional configuration callback for the HTML dashboard adapter.
public static String ToInteractiveHtmlDashboardPage(IEnumerable<Chart> charts) #StringRenders several charts to one self-contained interactive dashboard HTML document.
Parameters
- charts System.Collections.Generic.IEnumerable<ChartForgeX.Core.Chart>
- The charts to render.
Returns
A complete interactive dashboard document.
public static String ToInteractiveHtmlDashboardPage(IEnumerable<Chart> charts, Action<HtmlInteractiveDashboardOptions>? configure) #StringRenders several charts to one self-contained interactive dashboard HTML document.
Parameters
- charts System.Collections.Generic.IEnumerable<ChartForgeX.Core.Chart>
- The charts to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlInteractiveDashboardOptions>?
- An optional configuration callback for the HTML dashboard adapter.
Returns
A complete interactive dashboard document.
public static String ToInteractiveHtmlFragment(Chart chart) #StringRenders a chart to a self-contained interactive HTML fragment that can be embedded in a host page.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
An embeddable interactive HTML fragment.
public static String ToInteractiveHtmlFragment(Chart chart, Action<HtmlChartInteractionOptions>? configure) #StringRenders a chart to a self-contained interactive HTML fragment that can be embedded in a host page.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions>?
- An optional configuration callback for the HTML interaction adapter.
Returns
An embeddable interactive HTML fragment.
public static String ToInteractiveHtmlFragmentWithoutAssets(Chart chart) #StringRenders a chart to an interactive HTML fragment without stylesheet or script assets.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
An embeddable interactive HTML fragment that expects the host document to register interactive chart assets.
public static String ToInteractiveHtmlFragmentWithoutAssets(Chart chart, Action<HtmlChartInteractionOptions>? configure) #StringRenders a chart to an interactive HTML fragment without stylesheet or script assets.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions>?
- An optional configuration callback for the HTML interaction adapter.
Returns
An embeddable interactive HTML fragment that expects the host document to register interactive chart assets.
public static String ToInteractiveHtmlPage(Chart chart) #StringRenders a chart to a self-contained interactive HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
A complete interactive HTML document.
public static String ToInteractiveHtmlPage(Chart chart, Action<HtmlChartInteractionOptions>? configure) #StringRenders a chart to a self-contained interactive HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions>?
- An optional configuration callback for the HTML interaction adapter.
Returns
A complete interactive HTML document.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?