ChartGrid
ChartForgeX.Core
Describes a dependency-free small-multiple report made from multiple charts.
Inheritance
- object
- ChartGrid
Usage
Explore 124 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 41
- Method ChartExtensions.Theme
- Extension method ChartGrid.Accessibility
- Extension method ChartGrid.Columns
- Extension method ChartGrid.Gap
- Extension method ChartGrid.Padding
- Extension method ChartGrid.PanelFit
- Extension method ChartGrid.PanelSize
- Extension method ChartGrid.PreserveEmptyColumns
- Extension method ChartGrid.RasterScale
- Extension method ChartGrid.Subtitle
- Extension method ChartGrid.SubtitleStyle
- Extension method ChartGrid.SvgColorVariables
- Extension method ChartGrid.Theme
- Extension method ChartGrid.ThemeMode
- Extension method ChartGrid.Title
- Extension method ChartGrid.TitleStyle
- Extension method ChartGrid.UsePanelThemes
- Method ChartGrid.Add
- Method ChartGrid.Create
- Method ChartGrid.FromFacets``2
- Method ChartGrid.PanelSpan
- Method ChartGrid.ShareAxes
- Method ChartGrid.ShareXAxis
- Method ChartGrid.ShareYAxis
- Method ChartGridFluent.Accessibility
- Method ChartGridFluent.Columns
- Method ChartGridFluent.Gap
- Method ChartGridFluent.Padding
- Method ChartGridFluent.PanelFit
- Method ChartGridFluent.PanelSize
- Method ChartGridFluent.PreserveEmptyColumns
- Method ChartGridFluent.RasterScale
- Method ChartGridFluent.Subtitle
- Method ChartGridFluent.SubtitleStyle
- Method ChartGridFluent.SvgColorVariables
- Method ChartGridFluent.Theme
- Method ChartGridFluent.ThemeMode
- Method ChartGridFluent.Title
- Method ChartGridFluent.TitleStyle
- Method ChartGridFluent.UsePanelThemes
- Property ChartGridPage.Grid
Accepted by parameters 83
- Method ChartExtensions.Save
- Method ChartExtensions.SaveBmp
- Method ChartExtensions.SaveHtml
- Method ChartExtensions.SavePng
- Method ChartExtensions.SavePpm
- Method ChartExtensions.SaveRasterImage
- Method ChartExtensions.SaveSvg
- Method ChartExtensions.SaveTiff
- Method ChartExtensions.Theme
- Method ChartExtensions.ToBmp
- Method ChartExtensions.ToHtmlFragment
- Method ChartExtensions.ToHtmlPage
- Method ChartExtensions.ToPng
- Method ChartExtensions.ToPpm
- Method ChartExtensions.ToRasterImage
- Method ChartExtensions.ToRgbaImage
- Method ChartExtensions.ToSvg
- Method ChartExtensions.ToTiff
- Method ChartExtensions.WriteBmp
- Method ChartExtensions.WritePpm
- Method ChartExtensions.WriteRasterImage
- Method ChartExtensions.WriteTiff
- Method ImageComposition.DrawChartGrid
- Extension method VisualCanvas.AddChartGrid
- Extension method ChartGrid.Accessibility
- Extension method ChartGrid.Columns
- Extension method ChartGrid.Gap
- Extension method ChartGrid.Padding
- Extension method ChartGrid.PanelFit
- Extension method ChartGrid.PanelSize
- Extension method ChartGrid.PreserveEmptyColumns
- Extension method ChartGrid.RasterScale
- Extension method ChartGrid.Save
- Extension method ChartGrid.SaveBmp
- Extension method ChartGrid.SaveHtml
- Extension method ChartGrid.SavePng
- Extension method ChartGrid.SavePpm
- Extension method ChartGrid.SaveRasterImage
- Extension method ChartGrid.SaveSvg
- Extension method ChartGrid.SaveTiff
- Extension method ChartGrid.Subtitle
- Extension method ChartGrid.SubtitleStyle
- Extension method ChartGrid.SvgColorVariables
- Extension method ChartGrid.Theme
- Extension method ChartGrid.Theme
- Extension method ChartGrid.ThemeMode
- Extension method ChartGrid.Title
- Extension method ChartGrid.TitleStyle
- Extension method ChartGrid.ToBmp
- Extension method ChartGrid.ToHtmlFragment
- Extension method ChartGrid.ToHtmlPage
- Extension method ChartGrid.ToPng
- Extension method ChartGrid.ToPpm
- Extension method ChartGrid.ToRasterImage
- Extension method ChartGrid.ToRgbaImage
- Extension method ChartGrid.ToSvg
- Extension method ChartGrid.ToTiff
- Extension method ChartGrid.ToVisualArtifact
- Extension method ChartGrid.UsePanelThemes
- Extension method ChartGrid.WriteBmp
- Extension method ChartGrid.WritePpm
- Extension method ChartGrid.WriteRasterImage
- Extension method ChartGrid.WriteTiff
- Method ChartGridFluent.Accessibility
- Method ChartGridFluent.Columns
- Method ChartGridFluent.Gap
- Method ChartGridFluent.Padding
- Method ChartGridFluent.PanelFit
- Method ChartGridFluent.PanelSize
- Method ChartGridFluent.PreserveEmptyColumns
- Method ChartGridFluent.RasterScale
- Method ChartGridFluent.Subtitle
- Method ChartGridFluent.SubtitleStyle
- Method ChartGridFluent.SvgColorVariables
- Method ChartGridFluent.Theme
- Method ChartGridFluent.ThemeMode
- Method ChartGridFluent.Title
- Method ChartGridFluent.TitleStyle
- Method ChartGridFluent.UsePanelThemes
- Method HtmlChartGridRenderer.RenderFragment
- Method HtmlChartGridRenderer.RenderPage
- Method CompositeArtifactRendering.ToVisualArtifact
- Method VisualsExtensions.AddChartGrid
Constructors
public ChartGrid() #Methods
public ChartGrid Add(Chart chart) #Adds a chart to the grid.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to add.
public ChartGrid Add(Chart chart, int columnSpan, int rowSpan = 1) #Adds a chart to the grid with a panel span.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to add.
- columnSpan int
- The number of columns occupied by the chart panel.
- rowSpan int = 1
- The number of rows occupied by the chart panel.
public static ChartGrid Create() #Creates a new chart grid.
public static ChartGrid FromFacets<T, TKey>(ChartDataset<T?> dataset, Func<T?, TKey?> facet, Func<TKey?, ChartDataset<T?>, Chart> chartFactory, int columns = 2, IEqualityComparer<TKey?>? comparer = null) #Builds a small-multiple grid from deterministic dataset groups.
Type Parameters
- T
- TKey
Parameters
- dataset ChartForgeX.Data.ChartDataset<T?>
- facet System.Func<T?, TKey?>
- chartFactory System.Func<TKey?, ChartForgeX.Data.ChartDataset<T?>, ChartForgeX.Core.Chart>
- columns int = 2
- comparer System.Collections.Generic.IEqualityComparer<TKey?>? = null
Returns
ChartGridpublic IReadOnlyList<ChartGridPage> Paginate(int maximumChartsPerPage = 6) #Splits this grid into ordered pages with at most the specified number of charts.
Parameters
- maximumChartsPerPage int = 6
- The maximum chart count per page, independent of panel spans.
Returns
IReadOnlyList<ChartGridPage> Read-only page metadata and independently configurable grids; an empty grid produces no pages.public ChartGrid PanelSpan(int chartIndex, int columnSpan, int rowSpan = 1) #Sets the panel span for an existing chart in the grid.
Parameters
- chartIndex int
- The zero-based chart index.
- columnSpan int
- The number of columns occupied by the chart panel.
- rowSpan int = 1
- The number of rows occupied by the chart panel.
public PreparedVisual Prepare(VisualRenderContext context) #Prepares all panels once in the supplied fixed viewport and common frame.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
Returns
PreparedVisualInherited Methods
Properties
public int Columns { get; set; } #Gets or sets the preferred number of columns on wide viewports.
public bool PreserveEmptyColumns { get; set; } #Gets or sets whether composed SVG and PNG exports retain columns without charts.
public int Padding { get; set; } #Gets or sets the outer padding around exported grid content in pixels.
public int RasterScale { get; set; } #Gets or sets the output pixel multiplier used by composed PNG grid exports.
public ChartSize? PanelSize { get; set; } #Gets or sets the optional fixed panel size used by composed SVG and PNG grid exports.
public VisualPanelFit PanelFit { get; set; } #Gets or sets how charts fit inside fixed-size grid panels.
public VisualTheme Theme { get; set; } #Gets or sets the paired theme for the grid frame and, by default, every panel.
public ThemeMode ThemeMode { get; set; } #Gets or sets the explicit palette mode for the grid frame and shared panels.
public bool UsePanelThemes { get; set; } #Gets or sets whether each panel retains its chart's authored theme, mode and font request.
public TextStyleOverride TitleStyle { get; set; } #Gets the text style used for the grid title.
public TextStyleOverride SubtitleStyle { get; set; } #Gets the text style used for the grid subtitle.
public IReadOnlyList<ChartGridPanelSpan> PanelSpans { get; } #Gets the panel spans for charts included in the grid.
public VisualAccessibility Accessibility { get; } #Gets the text alternative for the complete chart comparison.
public SvgColorVariables? SvgColorVariables { get; set; } #Gets or sets the CSS custom properties the grid SVG writes for mapped colours (see SvgColorVariables): the grid title, background, and every panel, including charts without their own variables. With ChartGrid.UsePanelThemes enabled, this mapping applies only to the outer frame; each panel retains its chart mapping or literal colours. PNG output always uses literal colours.
Extension Methods
public static ChartGrid Accessibility(ChartGrid chartGrid, Action<VisualAccessibility> configure) #Configures ChartGrid.Accessibility in place: Gets the text alternative for the complete chart comparison.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the value.
public static ChartGrid Columns(ChartGrid chartGrid, int value) #Sets ChartGrid.Columns: Gets or sets the preferred number of columns on wide viewports.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { Columns = value }; chartGrid.Columns(value);public static ChartGrid Gap(ChartGrid chartGrid, int value) #Sets ChartGrid.Gap: Gets or sets the gap between charts in pixels.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { Gap = value }; chartGrid.Gap(value);public static ChartGrid Padding(ChartGrid chartGrid, int value) #Sets ChartGrid.Padding: Gets or sets the outer padding around exported grid content in pixels.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { Padding = value }; chartGrid.Padding(value);public static ChartGrid PanelFit(ChartGrid chartGrid, VisualPanelFit value) #Sets ChartGrid.PanelFit: Gets or sets how charts fit inside fixed-size grid panels.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.Primitives.VisualPanelFit
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { PanelFit = value }; chartGrid.PanelFit(value);public static ChartGrid PanelSize(ChartGrid chartGrid, int width, int height) #Sets a fixed panel size for composed SVG and PNG grid exports.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance to configure.
- width int
- The panel width in pixels.
- height int
- The panel height in pixels.
public static ChartGrid PanelSize(ChartGrid chartGrid, ChartSize? value) #Sets ChartGrid.PanelSize: Gets or sets the optional fixed panel size used by composed SVG and PNG grid exports.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.Primitives.ChartSize?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { PanelSize = value }; chartGrid.PanelSize(value);public static ChartGrid PreserveEmptyColumns(ChartGrid chartGrid, bool value = true) #Sets ChartGrid.PreserveEmptyColumns: Gets or sets whether composed SVG and PNG exports retain columns without charts.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { PreserveEmptyColumns = value }; chartGrid.PreserveEmptyColumns(value);public static ChartGrid RasterScale(ChartGrid chartGrid, int value) #Sets ChartGrid.RasterScale: Gets or sets the output pixel multiplier used by composed PNG grid exports.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { RasterScale = value }; chartGrid.RasterScale(value);public static void Save(ChartGrid grid, string path, RasterImageOptions? rasterOptions = null) #Saves a chart grid using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void SaveBmp(ChartGrid grid, string path, RasterImageOptions? options = null) #Saves a chart grid as a BMP file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void SaveHtml(ChartGrid grid, string path) #Saves a chart grid as a complete HTML file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
public static void SavePng(ChartGrid grid, string path) #Saves a chart grid as a PNG file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
public static void SavePpm(ChartGrid grid, string path, RasterImageOptions? options = null) #Saves a chart grid as a PPM file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void SaveRasterImage(ChartGrid grid, string path, RasterImageFormat format, RasterImageOptions? options = null) #Saves a chart grid as an opaque raster image file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void SaveRasterImage(ChartGrid grid, string path, RasterImageOptions? options = null) #Saves a chart grid as an opaque raster image file using the output path extension to choose the format.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void SaveSvg(ChartGrid grid, string path) #Saves a chart grid as an SVG file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
public static void SaveTiff(ChartGrid grid, string path, RasterImageOptions? options = null) #Saves a chart grid as a TIFF file.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- path string
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static ChartGrid Subtitle(ChartGrid chartGrid, string value) #Sets ChartGrid.Subtitle: Gets or sets the report subtitle.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { Subtitle = value }; chartGrid.Subtitle(value);public static ChartGrid SubtitleStyle(ChartGrid chartGrid, TextStyleOverride value) #Sets ChartGrid.SubtitleStyle: Gets the text style used for the grid subtitle.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.Typography.TextStyleOverride
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { SubtitleStyle = value }; chartGrid.SubtitleStyle(value);public static ChartGrid SubtitleStyle(ChartGrid chartGrid, Action<TextStyleOverride> configure) #Configures a copy of ChartGrid.SubtitleStyle (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for the grid subtitle.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
- Configures the copy.
public static ChartGrid SvgColorVariables(ChartGrid chartGrid, SvgColorVariables? value) #Sets ChartGrid.SvgColorVariables: Gets or sets the CSS custom properties the grid SVG writes for mapped colours (see SvgColorVariables): the grid title, background, and every panel, including charts without their own variables. With ChartGrid.UsePanelThemes enabled, this mapping applies only to the outer frame; each panel retains its chart mapping or literal colours. PNG output always uses literal colours.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.Themes.SvgColorVariables?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { SvgColorVariables = value }; chartGrid.SvgColorVariables(value);public static ChartGrid Theme(ChartGrid grid, Action<VisualThemeBuilder> configure) #Replaces the grid theme with an independently configured immutable snapshot.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to configure.
- configure System.Action<ChartForgeX.Themes.VisualThemeBuilder>
- The theme customization callback.
public static ChartGrid Theme(ChartGrid chartGrid, VisualTheme value) #Sets ChartGrid.Theme: Gets or sets the paired theme for the grid frame and, by default, every panel.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { Theme = value }; chartGrid.Theme(value);public static ChartGrid ThemeMode(ChartGrid chartGrid, ThemeMode value) #Sets ChartGrid.ThemeMode: Gets or sets the explicit palette mode for the grid frame and shared panels.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { ThemeMode = value }; chartGrid.ThemeMode(value);public static ChartGrid Title(ChartGrid chartGrid, string value) #Sets ChartGrid.Title: Gets or sets the report title.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { Title = value }; chartGrid.Title(value);public static ChartGrid TitleStyle(ChartGrid chartGrid, TextStyleOverride value) #Sets ChartGrid.TitleStyle: Gets the text style used for the grid title.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value ChartForgeX.Typography.TextStyleOverride
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { TitleStyle = value }; chartGrid.TitleStyle(value);public static ChartGrid TitleStyle(ChartGrid chartGrid, Action<TextStyleOverride> configure) #Configures a copy of ChartGrid.TitleStyle (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the text style used for the grid title.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
- Configures the copy.
public static byte[] ToBmp(ChartGrid grid, RasterImageOptions? options = null) #Renders a chart grid to BMP bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
byte[] A BMP image.public static string ToHtmlFragment(ChartGrid grid) #Renders a chart grid to a standalone HTML fragment containing inline SVG charts.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
string An HTML fragment.public static string ToHtmlFragment(ChartGrid grid, string idScope) #Renders a chart grid to an HTML fragment with an additional deterministic ID scope.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- idScope string
- A caller-provided scope used to keep IDs unique when embedding equivalent fragments together.
Returns
string An HTML fragment.public static string ToHtmlPage(ChartGrid grid) #Renders a chart grid to a complete HTML document.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
string An HTML page.public static byte[] ToPng(ChartGrid grid) #Renders a chart grid to PNG bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
byte[] A PNG image.public static byte[] ToPpm(ChartGrid grid, RasterImageOptions? options = null) #Renders a chart grid to PPM bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
byte[] A PPM image.public static byte[] ToRasterImage(ChartGrid grid, RasterImageFormat format, RasterImageOptions? options = null) #Renders a chart grid to opaque raster image bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
byte[] Encoded raster image bytes.public static RgbaImage ToRgbaImage(ChartGrid grid) #Renders a chart grid directly to an in-memory RGBA image without encoding it.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
public static string ToSvg(ChartGrid grid) #Renders a chart grid to SVG markup.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
Returns
string SVG markup.public static string ToSvg(ChartGrid grid, string idScope) #Renders a chart grid to SVG markup with an additional deterministic ID scope.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- idScope string
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVG grids in one document.
Returns
string SVG markup.public static byte[] ToTiff(ChartGrid grid, RasterImageOptions? options = null) #Renders a chart grid to TIFF bytes.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
byte[] A TIFF image.public static VisualArtifact ToVisualArtifact(ChartGrid grid, string? id = null, VisualArtifactSourceLanguage sourceLanguage = Native) #Wraps a chart grid in a reusable visual artifact.
Parameters
- grid ChartForgeX.Core.ChartGrid
- id string? = null
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage = Native
Returns
VisualArtifactpublic static ChartGrid UsePanelThemes(ChartGrid chartGrid, bool value = true) #Sets ChartGrid.UsePanelThemes: Gets or sets whether each panel retains its chart's authored theme, mode and font request.
Parameters
- chartGrid ChartForgeX.Core.ChartGrid
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGrid { UsePanelThemes = value }; chartGrid.UsePanelThemes(value);public static void WriteBmp(ChartGrid grid, Stream stream, RasterImageOptions? options = null) #Writes a chart grid to a BMP stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void WritePpm(ChartGrid grid, Stream stream, RasterImageOptions? options = null) #Writes a chart grid to a PPM stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void WriteRasterImage(ChartGrid grid, Stream stream, RasterImageFormat format, RasterImageOptions? options = null) #Writes a chart grid to an opaque raster image stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static void WriteTiff(ChartGrid grid, Stream stream, RasterImageOptions? options = null) #Writes a chart grid to a TIFF stream.
Parameters
- grid ChartForgeX.Core.ChartGrid
- The chart grid to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.