Class
HtmlChartGridRenderer
ChartForgeX.Html
Embeds a prepared chart comparison in dependency-free static HTML.
Inheritance
- object
- HtmlChartGridRenderer
Constructors
public HtmlChartGridRenderer() #Methods
RenderFragment 2 overloads
public string RenderFragment(ChartGrid grid) #Renders a chart grid as an embeddable HTML fragment containing its prepared SVG.
Parameters
- grid ChartForgeX.Core.ChartGrid
Returns
stringpublic string RenderFragment(ChartGrid grid, string idScope) #Renders a chart grid fragment with a deterministic host ID scope.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- idScope string
- A stable scope used to keep IDs unique when embedding equivalent fragments together.
Returns
string An HTML fragment containing the complete prepared chart comparison.public string RenderPage(ChartGrid grid) #Renders a complete script-free HTML document with the same grid layout as static exports.
Parameters
- grid ChartForgeX.Core.ChartGrid
Returns
string