API Reference
InteractiveChartExtensions
Provides convenience methods for rendering charts with opt-in HTML interactivity.
Inheritance
- Object
- InteractiveChartExtensions
Methods
SaveInteractiveHtml(ChartForgeX.Core.Chart chart, System.String path) #Saves 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.
SaveInteractiveHtml(ChartForgeX.Core.Chart chart, System.String path, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #Saves 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.
SaveInteractiveHtmlDashboard(System.Collections.Generic.IEnumerable{ChartForgeX.Core.Chart} charts, System.String path) #Saves 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.
SaveInteractiveHtmlDashboard(System.Collections.Generic.IEnumerable{ChartForgeX.Core.Chart} charts, System.String path, System.Action{ChartForgeX.Interactivity.Html.HtmlInteractiveDashboardOptions} configure) #Saves 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.
ToInteractiveHtmlDashboardPage(System.Collections.Generic.IEnumerable{ChartForgeX.Core.Chart} charts) #Renders 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.
ToInteractiveHtmlDashboardPage(System.Collections.Generic.IEnumerable{ChartForgeX.Core.Chart} charts, System.Action{ChartForgeX.Interactivity.Html.HtmlInteractiveDashboardOptions} configure) #Renders 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.
ToInteractiveHtmlFragment(ChartForgeX.Core.Chart chart) #Renders 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.
ToInteractiveHtmlFragment(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #Renders 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.
ToInteractiveHtmlFragmentWithoutAssets(ChartForgeX.Core.Chart chart) #Renders 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.
ToInteractiveHtmlFragmentWithoutAssets(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #Renders 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.
ToInteractiveHtmlPage(ChartForgeX.Core.Chart chart) #Renders a chart to a self-contained interactive HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
A complete interactive HTML document.
ToInteractiveHtmlPage(ChartForgeX.Core.Chart chart, System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions} configure) #Renders 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.