API Reference
HtmlInteractiveChartRenderer
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(ChartForgeX.Core.Chart chart) #Renders the specified chart to a self-contained embeddable interactive HTML fragment.
Parameters
- chart ChartForgeX.Core.Chart
- 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
- 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.
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
- 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
- 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 caller to register interactive chart assets.
RenderPage(ChartForgeX.Core.Chart chart) #Renders the specified chart to a complete interactive HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- 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
- The chart to render.
- configure System.Action{ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions}
- An optional configuration callback for the HTML interaction adapter.
Returns
A complete HTML document.