API Reference
Chart
Represents a renderer-independent chart definition.
Inheritance
- Object
- Chart
Usage
Explore 362 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 287
- Method ChartExtensions.ConfigureTheme
- Method ChartExtensions.WithBrandKit
- Method ChartExtensions.WithPalette
- Extension method Chart.ConfigureTheme
- Extension method Chart.WithBrandKit
- Extension method Chart.WithPalette
- Method Chart.AddAdaptiveArea
- Method Chart.AddAdaptiveLine
- Method Chart.AddAdaptiveScatter
- Method Chart.AddArea
- Method Chart.AddArea``1
- Method Chart.AddBar
- Method Chart.AddBarAreaCombo
- Method Chart.AddBarLineCombo
- Method Chart.AddBar``1
- Method Chart.AddBoxPlot
- Method Chart.AddBubble
- Method Chart.AddBullet
- Method Chart.AddCalendarHeatmap
- Method Chart.AddCandlestick
- Method Chart.AddChord
- Method Chart.AddCircle
- Method Chart.AddColumnAreaCombo
- Method Chart.AddColumnLineCombo
- Method Chart.AddDecimatedArea
- Method Chart.AddDecimatedLine
- Method Chart.AddDecimatedScatter
- Method Chart.AddDonut
- Method Chart.AddDottedMap
- Method Chart.AddDumbbell
- Method Chart.AddErrorBar
- Method Chart.AddFunnel
- Method Chart.AddGanttLane
- Method Chart.AddGanttMilestone
- Method Chart.AddGanttTask
- Method Chart.AddGauge
- Method Chart.AddHeatmapCategoryRow
- Method Chart.AddHeatmapRow
- Method Chart.AddHeatmapRows
- Method Chart.AddHexbinHeatmapRow
- Method Chart.AddHexbinHeatmapRows
- Method Chart.AddHistogram
- Method Chart.AddHistogram``1
- Method Chart.AddHorizontalBand
- Method Chart.AddHorizontalBar
- Method Chart.AddHorizontalLine
- Method Chart.AddHourWeekdayHeatmap
- Method Chart.AddLayeredRadial
- Method Chart.AddLine
- Method Chart.AddLinearGauge
- Method Chart.AddLine``1
- Method Chart.AddLollipop
- Method Chart.AddMapBaseLayer
- Method Chart.AddMapBoundaryLayer
- Method Chart.AddMapConnector
- Method Chart.AddMapConnectorBetweenPoints
- Method Chart.AddMapRoute
- Method Chart.AddMapRouteBetweenPoints
- Method Chart.AddMeanLine
- Method Chart.AddMedianLine
- Method Chart.AddOhlc
- Method Chart.AddPareto
- Method Chart.AddPictorial
- Method Chart.AddPie
- Method Chart.AddPointCallout
- Method Chart.AddPolar
- Method Chart.AddPolarArea
- Method Chart.AddProgressBars
- Method Chart.AddProgressRing
- Method Chart.AddPyramid
- Method Chart.AddRadar
- Method Chart.AddRadarArea
- Method Chart.AddRadarLine
- Method Chart.AddRadialBar
- Method Chart.AddRadialColumn
- Method Chart.AddRangeArea
- Method Chart.AddRangeBand
- Method Chart.AddRangeBar
- Method Chart.AddRegionHeatmap
- Method Chart.AddRegionMap
- Method Chart.AddSankey
- Method Chart.AddScatter
- Method Chart.AddScatterLineCombo
- Method Chart.AddScatter``1
- Method Chart.AddSeries``1
- Method Chart.AddSlope
- Method Chart.AddSmoothArea
- Method Chart.AddSmoothLine
- Method Chart.AddSmoothStackedArea
- Method Chart.AddStackedArea
- Method Chart.AddStandardDeviationBand
- Method Chart.AddStateTimelineLane
- Method Chart.AddStepArea
- Method Chart.AddStepLine
- Method Chart.AddSunburst
- Method Chart.AddTileHeatmap
- Method Chart.AddTileMap
- Method Chart.AddTimelineItem
- Method Chart.AddTimelineRange
- Method Chart.AddTree
- Method Chart.AddTreemap
- Method Chart.AddTrendLine
- Method Chart.AddVerticalBand
- Method Chart.AddVerticalLine
- Method Chart.AddWaterfall
- Method Chart.AddWordCloud
- Method Chart.AsDecorative
- Method Chart.ClearHighlightedXAxisLabels
- Method Chart.ConfigureAccessibility
- Method Chart.ConfigureAxisTitleStyle
- Method Chart.ConfigureBarVisualStyle
- Method Chart.ConfigureBubble
- Method Chart.ConfigureChord
- Method Chart.ConfigureDataLabelStyle
- Method Chart.ConfigureFunnel
- Method Chart.ConfigureGauge
- Method Chart.ConfigureGridStyle
- Method Chart.ConfigureHeatmapColorDimension
- Method Chart.ConfigureLabels
- Method Chart.ConfigureLegendStyle
- Method Chart.ConfigureLineVisualStyle
- Method Chart.ConfigureMapColorDimension
- Method Chart.ConfigurePyramid
- Method Chart.ConfigureSankey
- Method Chart.ConfigureSecondaryYAxis
- Method Chart.ConfigureSubtitleStyle
- Method Chart.ConfigureSunburst
- Method Chart.ConfigureTextStyle
- Method Chart.ConfigureTickLabelStyle
- Method Chart.ConfigureTitleStyle
- Method Chart.ConfigureTreemap
- Method Chart.ConfigureWaterfall
- Method Chart.ConfigureXAxis
- Method Chart.ConfigureYAxis
- Method Chart.Create
- Method Chart.WithAutomaticSecondaryYAxisBounds
- Method Chart.WithAutomaticXAxisBounds
- Method Chart.WithAutomaticYAxisBounds
- Method Chart.WithAxes
- Method Chart.WithAxisLines
- Method Chart.WithBarMode
- Method Chart.WithBarStyle
- Method Chart.WithBarVisualStyle
- Method Chart.WithCalendarHeatmapCells
- Method Chart.WithCard
- Method Chart.WithCircleRadiusScale
- Method Chart.WithCircleStatusLabel
- Method Chart.WithCircleStrokeScale
- Method Chart.WithDashboardBarPanelStyle
- Method Chart.WithDashboardBarStyle
- Method Chart.WithDashboardCartesianStyle
- Method Chart.WithDashboardPanelStyle
- Method Chart.WithDashboardStackedRowStyle
- Method Chart.WithDashboardTrendFocus
- Method Chart.WithDashboardTrendPanelStyle
- Method Chart.WithDataLabelConnectorColor
- Method Chart.WithDataLabelConnectorOpacity
- Method Chart.WithDataLabelConnectorStrokeWidth
- Method Chart.WithDataLabelConnectorStyle
- Method Chart.WithDataLabelPlacement
- Method Chart.WithDataLabels
- Method Chart.WithDesignTokens
- Method Chart.WithDonutCenterLabel
- Method Chart.WithDonutCenterText
- Method Chart.WithDonutInnerRadiusRatio
- Method Chart.WithFocusedXAxisCategory
- Method Chart.WithFontFamily
- Method Chart.WithGanttLaneNow
- Method Chart.WithGanttToday
- Method Chart.WithGrid
- Method Chart.WithGridStyle
- Method Chart.WithGroupedBars
- Method Chart.WithHeader
- Method Chart.WithHeatmapCellGap
- Method Chart.WithHeatmapCellRadius
- Method Chart.WithHeatmapColorScale
- Method Chart.WithHeatmapColumnLabels
- Method Chart.WithHeatmapScale
- Method Chart.WithHeatmapScaleLegend
- Method Chart.WithHeatmapValueTextMode
- Method Chart.WithHighlightedXAxisLabel
- Method Chart.WithHighlightedXAxisRange
- Method Chart.WithHostFrame
- Method Chart.WithLegend
- Method Chart.WithLegendBudget
- Method Chart.WithLegendPosition
- Method Chart.WithLineMarkers
- Method Chart.WithLineVisualStyle
- Method Chart.WithLuminousLineStyle
- Method Chart.WithMapColorScale
- Method Chart.WithMapLabels
- Method Chart.WithMapRegionStroke
- Method Chart.WithMapScaleLegend
- Method Chart.WithMapScaleLegendPosition
- Method Chart.WithMapSurface
- Method Chart.WithMapViewport
- Method Chart.WithMarkBackdrop
- Method Chart.WithOverlay
- Method Chart.WithPadding
- Method Chart.WithPictorialColumns
- Method Chart.WithPictorialEmptyOpacity
- Method Chart.WithPictorialMaximum
- Method Chart.WithPictorialShape
- Method Chart.WithPictorialSvgPath
- Method Chart.WithPictorialSymbolScale
- Method Chart.WithPictorialValuePerSymbol
- Method Chart.WithPictorialValues
- Method Chart.WithPieOutsideLabelDistance
- Method Chart.WithPieSliceLabelContent
- Method Chart.WithPieSliceLabelFormatter
- Method Chart.WithPlainLineStyle
- Method Chart.WithPlotBackground
- Method Chart.WithPlotClipping
- Method Chart.WithPngFont
- Method Chart.WithPngOutputScale
- Method Chart.WithPngSupersampling
- Method Chart.WithPointLegend
- Method Chart.WithProgressBarThickness
- Method Chart.WithProgressHandles
- Method Chart.WithProgressMaximum
- Method Chart.WithProgressRingCenterLabel
- Method Chart.WithProgressTrackOpacity
- Method Chart.WithProgressValues
- Method Chart.WithRadialGeometry
- Method Chart.WithRadialProgressRadiusScale
- Method Chart.WithRadialProgressStrokeScale
- Method Chart.WithRegionMapBounds
- Method Chart.WithRegionMapCoordinateBounds
- Method Chart.WithSecondaryYAxis
- Method Chart.WithSecondaryYAxisBounds
- Method Chart.WithSecondaryYAxisScale
- Method Chart.WithSeriesState
- Method Chart.WithSize
- Method Chart.WithSparkline
- Method Chart.WithStackedBars
- Method Chart.WithStackedHorizontalBars
- Method Chart.WithStackTotals
- Method Chart.WithStateCategories
- Method Chart.WithStateColorsPinnedInForcedColors
- Method Chart.WithSubtitle
- Method Chart.WithSvgColorVariables
- Method Chart.WithTheme
- Method Chart.WithTickCount
- Method Chart.WithTitle
- Method Chart.WithTransparentBackground
- Method Chart.WithValueFormat
- Method Chart.WithValueFormatter
- Method Chart.WithWordCloudAngles
- Method Chart.WithWordCloudDensity
- Method Chart.WithWordCloudFontRange
- Method Chart.WithWordCloudMaximumTerms
- Method Chart.WithXAxis
- Method Chart.WithXAxisBounds
- Method Chart.WithXAxisLabelAngle
- Method Chart.WithXAxisLabelDensity
- Method Chart.WithXAxisScale
- Method Chart.WithXAxisTimeScale
- Method Chart.WithXAxisValueFormatter
- Method Chart.WithXAxisVisible
- Method Chart.WithXDateLabels
- Method Chart.WithXLabels
- Method Chart.WithYAxis
- Method Chart.WithYAxisBounds
- Method Chart.WithYAxisLabelDensity
- Method Chart.WithYAxisScale
- Method Chart.WithYAxisVisible
- Property ChartGrid.Charts
- Property MarkupChartDocument.Chart
- Extension method MermaidGanttDocument.ToChart
- Method MermaidGanttRendering.ToChart
- Extension method MermaidJourneyDocument.ToChart
- Method MermaidJourneyRendering.ToChart
- Extension method MermaidPieDocument.ToChart
- Method MermaidPieRendering.ToChart
- Extension method MermaidQuadrantDocument.ToChart
- Method MermaidQuadrantRendering.ToChart
- Extension method MermaidRadarDocument.ToChart
- Method MermaidRadarRendering.ToChart
- Extension method MermaidSankeyDocument.ToChart
- Method MermaidSankeyRendering.ToChart
- Extension method MermaidTimelineDocument.ToChart
- Method MermaidTimelineRendering.ToChart
- Extension method MermaidTreemapDocument.ToChart
- Method MermaidTreemapRendering.ToChart
- Extension method MermaidXYChartDocument.ToChart
- Method MermaidXYChartRendering.ToChart
- Property VisualGridItem.Chart
Accepted by parameters 75
- Method ChartExtensions.ConfigureTheme
- Method ChartExtensions.GetPngFontInfo
- 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.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.WithBrandKit
- Method ChartExtensions.WithPalette
- Method ChartExtensions.WriteBmp
- Method ChartExtensions.WritePpm
- Method ChartExtensions.WriteRasterImage
- Method ChartExtensions.WriteTiff
- Method ImageComposition.DrawChart
- Extension method VisualCanvas.AddChart
- Extension method Chart.ConfigureTheme
- Extension method Chart.GetPngFontInfo
- Extension method Chart.Save
- Extension method Chart.SaveBmp
- Extension method Chart.SaveHtml
- Extension method Chart.SaveInteractiveHtml
- Extension method Chart.SavePng
- Extension method Chart.SavePpm
- Extension method Chart.SaveRasterImage
- Extension method Chart.SaveSvg
- Extension method Chart.SaveTiff
- Extension method Chart.ToBmp
- Extension method Chart.ToHtmlFragment
- Extension method Chart.ToHtmlPage
- Extension method Chart.ToInteractiveHtmlFragment
- Extension method Chart.ToInteractiveHtmlFragmentWithoutAssets
- Extension method Chart.ToInteractiveHtmlPage
- Extension method Chart.ToPng
- Extension method Chart.ToPpm
- Extension method Chart.ToRasterImage
- Extension method Chart.ToRgbaImage
- Extension method Chart.ToSvg
- Extension method Chart.ToTiff
- Extension method Chart.ToVisualArtifact
- Extension method Chart.WithBrandKit
- Extension method Chart.WithPalette
- Extension method Chart.WriteBmp
- Extension method Chart.WritePpm
- Extension method Chart.WriteRasterImage
- Extension method Chart.WriteTiff
- Method ChartGrid.Add
- Method ChartGrid.FromFacets``2
- Method HtmlChartRenderer.RenderFragment
- Method HtmlChartRenderer.RenderPage
- Method HtmlInteractiveChartRenderer.RenderFragment
- Method HtmlInteractiveChartRenderer.RenderFragmentWithoutAssets
- Method HtmlInteractiveChartRenderer.RenderPage
- Method HtmlInteractiveDashboardRenderer.RenderPage
- Method InteractiveChartExtensions.SaveInteractiveHtml
- Method InteractiveChartExtensions.SaveInteractiveHtmlDashboard
- Method InteractiveChartExtensions.ToInteractiveHtmlDashboardPage
- Method InteractiveChartExtensions.ToInteractiveHtmlFragment
- Method InteractiveChartExtensions.ToInteractiveHtmlFragmentWithoutAssets
- Method InteractiveChartExtensions.ToInteractiveHtmlPage
- Method ChartArtifactRendering.ToVisualArtifact
- Method VisualGrid.Add
- Method VisualGridItem.FromChart
- Method VisualsExtensions.AddChart
Constructors
public Chart() #Methods
public Chart AddAdaptiveArea(String name, IEnumerable<ChartPoint> points, Double viewportWidth, ChartResolutionPolicy? policy = null, ChartColor? color = null) #ChartAdds an area series that is decimated only when its source exceeds the width-aware policy budget.
Parameters
- name System.String
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- viewportWidth System.Double
- policy ChartForgeX.Core.ChartResolutionPolicy? = null
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddAdaptiveLine(String name, IEnumerable<ChartPoint> points, Double viewportWidth, ChartResolutionPolicy? policy = null, ChartColor? color = null) #ChartAdds a line series that is decimated only when its source exceeds the width-aware policy budget.
Parameters
- name System.String
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- viewportWidth System.Double
- policy ChartForgeX.Core.ChartResolutionPolicy? = null
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddAdaptiveScatter(String name, IEnumerable<ChartPoint> points, Double viewportWidth, ChartResolutionPolicy? policy = null, ChartColor? color = null) #ChartAdds a scatter series that is decimated only when its source exceeds the width-aware policy budget.
Parameters
- name System.String
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- viewportWidth System.Double
- policy ChartForgeX.Core.ChartResolutionPolicy? = null
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddArea(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds an area series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddArea<T>(String name, IEnumerable<T?> rows, Func<T?, Double> x, Func<T?, Double> y, ChartColor? color = null) #ChartAdds an area series from typed source rows.
Type Parameters
- T
Parameters
- name System.String
- rows System.Collections.Generic.IEnumerable<T?>
- x System.Func<T?, System.Double>
- y System.Func<T?, System.Double>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddBar(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a bar series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddBarAreaCombo(String barName, IEnumerable<ChartPoint> barPoints, String areaName, IEnumerable<ChartPoint> areaPoints, ChartColor? barColor = null, ChartColor? areaColor = null, Boolean smoothArea = true, ChartAxisSide areaAxis = Primary) #ChartAdds a vertical bar series and an area series for a combo chart.
Parameters
- barName System.String
- The bar series name.
- barPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The bar series data points.
- areaName System.String
- The area series name.
- areaPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The area series data points.
- barColor ChartForgeX.Primitives.ChartColor? = null
- An optional bar series color.
- areaColor ChartForgeX.Primitives.ChartColor? = null
- An optional area series color.
- smoothArea System.Boolean = true
- True to render the area boundary as a smoothed curve; otherwise false.
- areaAxis ChartForgeX.Core.ChartAxisSide = Primary
- The y-axis used by the area series.
Returns
The current chart.
public Chart AddBarLineCombo(String barName, IEnumerable<ChartPoint> barPoints, String lineName, IEnumerable<ChartPoint> linePoints, ChartColor? barColor = null, ChartColor? lineColor = null, Boolean smoothLine = false, ChartAxisSide lineAxis = Primary) #ChartAdds a vertical bar series and a line series for a shared-axis combo chart.
Parameters
- barName System.String
- The bar series name.
- barPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The bar series data points.
- lineName System.String
- The line series name.
- linePoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The line series data points.
- barColor ChartForgeX.Primitives.ChartColor? = null
- An optional bar series color.
- lineColor ChartForgeX.Primitives.ChartColor? = null
- An optional line series color.
- smoothLine System.Boolean = false
- True to render the line as a smoothed curve; otherwise false.
- lineAxis ChartForgeX.Core.ChartAxisSide = Primary
- The y-axis used by the line series.
Returns
The current chart.
public Chart AddBar<T>(String name, IEnumerable<T?> rows, Func<T?, Double> x, Func<T?, Double> y, ChartColor? color = null) #ChartAdds a bar series from typed source rows.
Type Parameters
- T
Parameters
- name System.String
- rows System.Collections.Generic.IEnumerable<T?>
- x System.Func<T?, System.Double>
- y System.Func<T?, System.Double>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddBoxPlot(String name, Double x, IEnumerable<Double> values, ChartColor? color = null) #ChartAdds a box plot series from raw sample values.
Parameters
- name System.String
- The series name.
- x System.Double
- The horizontal coordinate.
- values System.Collections.Generic.IEnumerable<System.Double>
- The raw sample values used to compute the five-number summary.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddBoxPlot(String name, IEnumerable<ChartBoxPlot> boxes, ChartColor? color = null) #ChartAdds a box plot series.
Parameters
- name System.String
- The series name.
- boxes System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartBoxPlot>
- The box plot summaries to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddBubble(String name, IEnumerable<ChartBubble> bubbles, ChartColor? color = null) #ChartAdds a bubble chart series.
Parameters
- name System.String
- The series name.
- bubbles System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartBubble>
- The bubble values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddBullet(String name, Double value, Double target, Double min = 0, Double max = 100, IEnumerable<Double>? rangeEnds = null, ChartColor? color = null) #ChartAdds a bullet series showing a value, target marker, and qualitative range bands.
Parameters
- name System.String
- The bullet row label.
- value System.Double
- The measured value.
- target System.Double
- The target marker value.
- min System.Double = 0
- The minimum scale value.
- max System.Double = 100
- The maximum scale value.
- rangeEnds System.Collections.Generic.IEnumerable<System.Double>? = null
- Optional qualitative range end values. Values are clamped to the scale.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional value accent color.
Returns
The current chart.
public Chart AddCalendarHeatmap(String name, IEnumerable<ChartCalendarHeatmapItem> items, ChartColor? color = null, DayOfWeek firstDayOfWeek = Sunday, IReadOnlyList<String>? dayNames = null, IReadOnlyList<String>? monthNames = null) #ChartAdds a contribution-style calendar heatmap chart.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartCalendarHeatmapItem>
- The dated values to render. Duplicate dates are summed.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell color.
- firstDayOfWeek System.DayOfWeek = Sunday
- The weekday shown in the top row; weeks run from it.
- dayNames System.Collections.Generic.IReadOnlyList<System.String>? = null
- Optional localized weekday names: seven entries indexed by DayOfWeek (Sunday first). Null uses the invariant abbreviations Sun through Sat.
- monthNames System.Collections.Generic.IReadOnlyList<System.String>? = null
- Optional localized month names: twelve entries, January first. Null uses the invariant abbreviations Jan through Dec.
Returns
The current chart.
public Chart AddCandlestick(String name, IEnumerable<ChartCandlestick> candles, ChartColor? color = null) #ChartAdds a candlestick series.
Parameters
- name System.String
- The series name.
- candles System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartCandlestick>
- The open, high, low, and close values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddChord(String name, IEnumerable<ChartNode> nodes, IEnumerable<ChartFlowLink> links, ChartColor? color = null) #ChartAdds copied, directed flows with explicit node and link IDs as a weighted chord chart.
Parameters
- name System.String
- nodes System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartNode>
- links System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartFlowLink>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddCircle(String name, Double value, Double min = 0, Double max = 100, ChartColor? color = null) #ChartAdds a single-value circular progress chart.
Parameters
- name System.String
- The circle label.
- value System.Double
- The circle value.
- min System.Double = 0
- The minimum circle value.
- max System.Double = 100
- The maximum circle value.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional circle accent color.
Returns
The current chart.
public Chart AddColumnAreaCombo(String columnName, IEnumerable<ChartPoint> columnPoints, String areaName, IEnumerable<ChartPoint> areaPoints, ChartColor? columnColor = null, ChartColor? areaColor = null, Boolean smoothArea = true, ChartAxisSide areaAxis = Primary) #ChartAdds a vertical column series and an area series for a combo chart.
Parameters
- columnName System.String
- The column series name.
- columnPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The column series data points.
- areaName System.String
- The area series name.
- areaPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The area series data points.
- columnColor ChartForgeX.Primitives.ChartColor? = null
- An optional column series color.
- areaColor ChartForgeX.Primitives.ChartColor? = null
- An optional area series color.
- smoothArea System.Boolean = true
- True to render the area boundary as a smoothed curve; otherwise false.
- areaAxis ChartForgeX.Core.ChartAxisSide = Primary
- The y-axis used by the area series.
Returns
The current chart.
public Chart AddColumnLineCombo(String columnName, IEnumerable<ChartPoint> columnPoints, String lineName, IEnumerable<ChartPoint> linePoints, ChartColor? columnColor = null, ChartColor? lineColor = null, Boolean smoothLine = false, ChartAxisSide lineAxis = Primary) #ChartAdds a vertical column series and a line series for a combo chart.
Parameters
- columnName System.String
- The column series name.
- columnPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The column series data points.
- lineName System.String
- The line series name.
- linePoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The line series data points.
- columnColor ChartForgeX.Primitives.ChartColor? = null
- An optional column series color.
- lineColor ChartForgeX.Primitives.ChartColor? = null
- An optional line series color.
- smoothLine System.Boolean = false
- True to render the line as a smoothed curve; otherwise false.
- lineAxis ChartForgeX.Core.ChartAxisSide = Primary
- The y-axis used by the line series.
Returns
The current chart.
public Chart AddDecimatedArea(String name, IEnumerable<ChartPoint> points, Int32 maximumPoints, ChartDecimationMode mode = LargestTriangleThreeBuckets, ChartColor? color = null) #ChartAdds an explicitly decimated area series and records its source-point provenance.
Parameters
- name System.String
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- maximumPoints System.Int32
- mode ChartForgeX.Core.ChartDecimationMode = LargestTriangleThreeBuckets
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddDecimatedLine(String name, IEnumerable<ChartPoint> points, Int32 maximumPoints, ChartDecimationMode mode = LargestTriangleThreeBuckets, ChartColor? color = null) #ChartAdds an explicitly decimated line series and records its source-point provenance.
Parameters
- name System.String
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- maximumPoints System.Int32
- mode ChartForgeX.Core.ChartDecimationMode = LargestTriangleThreeBuckets
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddDecimatedScatter(String name, IEnumerable<ChartPoint> points, Int32 maximumPoints, ChartDecimationMode mode = LargestTriangleThreeBuckets, ChartColor? color = null) #ChartAdds an explicitly decimated scatter series and records its source-point provenance.
Parameters
- name System.String
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- maximumPoints System.Int32
- mode ChartForgeX.Core.ChartDecimationMode = LargestTriangleThreeBuckets
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddDonut(String name, IEnumerable<ChartPoint> points) #ChartAdds a donut series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The slice values. The x values are used for optional slice labels.
Returns
The current chart.
public Chart AddDottedMap(String name, IEnumerable<ChartMapPoint> points, ChartColor? color = null) #ChartAdds a dotted world map with highlighted longitude/latitude points.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapPoint>
- The labeled map points to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional point color. When null, the positive theme color is used.
Returns
The current chart.
public Chart AddDumbbell(String name, IEnumerable<ChartDumbbell> values, ChartColor? color = null) #ChartAdds a dumbbell comparison series.
Parameters
- name System.String
- The series name.
- values System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartDumbbell>
- The paired values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddErrorBar(String name, IEnumerable<ChartErrorBar> errorBars, ChartColor? color = null) #ChartAdds an error-bar series.
Parameters
- name System.String
- The series name.
- errorBars System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartErrorBar>
- The point estimates and bounds to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddFunnel(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a funnel series for descending stage or conversion values.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The stage/value points. The x values identify stages and the y values set segment width.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional base color. When null, the theme palette colors the segments.
Returns
The current chart.
public Chart AddGanttLane(String name, IEnumerable<ChartGanttLaneItem> items, String? group = null, String? summary = null) #ChartAdds a Gantt lane: an entity, such as a service or domain controller, with its time-bounded items (for example incidents). Items are coloured through ChartOptions.StateCategories; overlapping items stack into sub-rows. Lanes render in the order they are added, and consecutive lanes with the same group are listed under one group header. Call Chart.WithGanttLaneNow to draw a "Now" line and end open items there.
Parameters
- name System.String
- The lane label.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartGanttLaneItem>
- The lane items. They are ordered by start, then end, then input order.
- group System.String? = null
- Optional group header, for example a site.
- summary System.String? = null
- Optional text for the summary column, for example 3 incidents.
Returns
The current chart.
public Chart AddGanttMilestone(String name, DateTime when, Int32 dependsOn = -1, ChartColor? color = null) #ChartAdds a Gantt milestone at the specified date.
Parameters
- name System.String
- when System.DateTime
- dependsOn System.Int32 = -1
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddGanttMilestone(String name, Double when, Int32 dependsOn = -1, ChartColor? color = null) #ChartAdds a Gantt milestone at the specified numeric schedule value.
Parameters
- name System.String
- when System.Double
- dependsOn System.Int32 = -1
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddGanttTask(String name, DateTime start, DateTime end, Double progress = 0, Int32 dependsOn = -1, ChartColor? color = null) #ChartAdds a Gantt task with a start date, end date, progress value, and optional dependency.
Parameters
- name System.String
- start System.DateTime
- end System.DateTime
- progress System.Double = 0
- dependsOn System.Int32 = -1
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddGanttTask(String name, Double start, Double end, Double progress = 0, Int32 dependsOn = -1, ChartColor? color = null) #ChartAdds a Gantt task with numeric start and end schedule values.
Parameters
- name System.String
- start System.Double
- end System.Double
- progress System.Double = 0
- dependsOn System.Int32 = -1
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddGauge(String name, Double value, Double min = 0, Double max = 100, ChartColor? color = null) #ChartAdds a single-value gauge series.
Parameters
- name System.String
- The gauge label.
- value System.Double
- The gauge value.
- min System.Double = 0
- The minimum gauge value.
- max System.Double = 100
- The maximum gauge value.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional gauge accent color.
Returns
The current chart.
public Chart AddHeatmapCategoryRow(String name, IEnumerable<ChartHeatmapCell?> cells, String? group = null) #ChartAdds a categorical heatmap row. Each cell's state is coloured through ChartOptions.StateCategories (see Chart.WithStateCategories), so status colours never come from a numeric ramp. Cells are assigned to columns one through N; null cells are masked and keep their column position. A row may have no visible cells, for an entity nothing is known about: it keeps its label and an empty row.
Parameters
- name System.String
- The row name.
- cells System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartHeatmapCell?>
- The row cells in column order.
- group System.String? = null
- Optional group the row is listed under. Consecutive rows with the same group share one header row; a row without a group after a grouped one is set apart by a small gap.
Returns
The current chart.
public Chart AddHeatmapCategoryRow(String name, IEnumerable<ChartHeatmapCell> cells, String? group = null) #ChartAdds a categorical heatmap row with every column filled.
Parameters
- name System.String
- The row name.
- cells System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartHeatmapCell>
- The row cells in column order.
- group System.String? = null
- Optional group the row is listed under.
Returns
The current chart.
public Chart AddHeatmapCategoryRow(String name, params ChartHeatmapCell?[] cells) #ChartAdds a categorical heatmap row from cells in column order; null cells are masked.
Parameters
- name System.String
- The row name.
- cells ChartForgeX.Core.ChartHeatmapCell?[]
- The row cells in column order.
Returns
The current chart.
public Chart AddHeatmapRow(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a heatmap row series.
Parameters
- name System.String
- The row name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The cell values. The x values identify columns and the y values set cell intensity.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell color.
Returns
The current chart.
public Chart AddHeatmapRow(String name, IEnumerable<Double> values, ChartColor? color = null) #ChartAdds a heatmap row series from one-based cell values.
Parameters
- name System.String
- The row name.
- values System.Collections.Generic.IEnumerable<System.Double>
- The cell intensities. Values are assigned to columns one through N.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell color.
Returns
The current chart.
public Chart AddHeatmapRow(String name, IEnumerable<Double?> values, ChartColor? color = null) #ChartAdds a heatmap row series from one-based optional cell values.
Parameters
- name System.String
- The row name.
- values System.Collections.Generic.IEnumerable<System.Double?>
- The cell intensities. Null cells reserve their column position but do not render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell color.
Returns
The current chart.
public Chart AddHeatmapRows(IEnumerable<String> rowNames, IEnumerable<IEnumerable<Double>> rows, ChartColor? color = null) #ChartAdds multiple heatmap rows from row names and one-based value rows.
Parameters
- rowNames System.Collections.Generic.IEnumerable<System.String>
- The row names.
- rows System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<System.Double>>
- The row values. Each inner sequence is assigned to columns one through N.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell color.
Returns
The current chart.
public Chart AddHeatmapRows(IEnumerable<ChartHeatmapRow> rows, ChartColor? color = null) #ChartAdds multiple heatmap rows from reusable row models.
Parameters
- rows System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartHeatmapRow>
- The heatmap rows.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell color.
Returns
The current chart.
public Chart AddHexbinHeatmapRow(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a hexbin heatmap row series.
Parameters
- name System.String
- The row name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The cell values. The x values identify columns and the y values set hexagon intensity.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity hexagon color.
Returns
The current chart.
public Chart AddHexbinHeatmapRow(String name, IEnumerable<Double> values, ChartColor? color = null) #ChartAdds a hexbin heatmap row series from one-based cell values.
Parameters
- name System.String
- The row name.
- values System.Collections.Generic.IEnumerable<System.Double>
- The hexagon intensities. Values are assigned to columns one through N.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity hexagon color.
Returns
The current chart.
public Chart AddHexbinHeatmapRow(String name, IEnumerable<Double?> values, ChartColor? color = null) #ChartAdds a hexbin heatmap row series from one-based optional cell values.
Parameters
- name System.String
- The row name.
- values System.Collections.Generic.IEnumerable<System.Double?>
- The hexagon intensities. Null cells reserve their column position but do not render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity hexagon color.
Returns
The current chart.
public Chart AddHexbinHeatmapRows(IEnumerable<String> rowNames, IEnumerable<IEnumerable<Double>> rows, ChartColor? color = null) #ChartAdds multiple hexbin heatmap rows from row names and one-based value rows.
Parameters
- rowNames System.Collections.Generic.IEnumerable<System.String>
- The row names.
- rows System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<System.Double>>
- The row values. Each inner sequence is assigned to columns one through N.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity hexagon color.
Returns
The current chart.
public Chart AddHexbinHeatmapRows(IEnumerable<ChartHeatmapRow> rows, ChartColor? color = null) #ChartAdds multiple hexbin heatmap rows from reusable row models.
Parameters
- rows System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartHeatmapRow>
- The heatmap rows.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity hexagon color.
Returns
The current chart.
public Chart AddHistogram(String name, IEnumerable<Double> values, Int32 binCount = 10, ChartColor? color = null) #ChartAdds a histogram series in equal-width bins aligned to a nice decimal step that covers the data.
Parameters
- name System.String
- The series name.
- values System.Collections.Generic.IEnumerable<System.Double>
- The raw numeric values to bin.
- binCount System.Int32 = 10
- The number of histogram bins.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddHistogram(String name, IEnumerable<Double> values, ChartHistogramBinLayout layout, ChartColor? color = null) #ChartAdds a histogram series using a reusable layout, allowing multiple series to share exact bin bounds.
Parameters
- name System.String
- The series name.
- values System.Collections.Generic.IEnumerable<System.Double>
- The raw numeric values to bin.
- layout ChartForgeX.Core.ChartHistogramBinLayout
- The shared bin layout.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddHistogram(String name, IEnumerable<Double> values, ChartHistogramBinLayout layout, ChartHistogramEncoding encoding, ChartColor? color = null) #ChartAdds observation counts using an explicit layout and value or density heights. Empty input retains every bin.
Parameters
- name System.String
- The series name.
- values System.Collections.Generic.IEnumerable<System.Double>
- The finite measurements to bin.
- layout ChartForgeX.Core.ChartHistogramBinLayout
- The immutable measurement intervals; observations outside intervals are rejected.
- encoding ChartForgeX.Core.ChartHistogramEncoding
- Value heights or count per measurement unit with full-bin rectangular area.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddHistogram(String name, IEnumerable<ChartPoint> observations, ChartHistogramBinLayout layout, ChartHistogramAggregation aggregation, ChartHistogramEncoding encoding = Value, ChartColor? color = null) #ChartAdds histogram aggregates from measurements in X and signed quantities in Y, preserving source observations and empty bins.
Parameters
- name System.String
- The series name.
- observations System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- Finite measurement/quantity observations. Sum and Mean use Y; Count counts rows.
- layout ChartForgeX.Core.ChartHistogramBinLayout
- The shared measurement intervals; outside observations and gaps are rejected.
- aggregation ChartForgeX.Core.ChartHistogramAggregation
- Count, signed Sum, or arithmetic Mean. Empty means are undefined.
- encoding ChartForgeX.Core.ChartHistogramEncoding = Value
- Value heights or quantity per actual measurement width.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddHistogram<T>(String name, ChartDataset<ChartDataBin<T?>> bins, ChartColor? color = null) #ChartAdds one histogram count per interval, preserving the layout, empty bins and original source identities.
Type Parameters
- T
Parameters
- name System.String
- bins ChartForgeX.Data.ChartDataset<ChartForgeX.Data.ChartDataBin<T?>>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddHistogram<T>(String name, ChartDataset<ChartDataBin<T?>> bins, ChartHistogramEncoding encoding, ChartColor? color = null) #ChartAdds a typed dataset's counts with value or full-interval density encoding.
Type Parameters
- T
Parameters
- name System.String
- bins ChartForgeX.Data.ChartDataset<ChartForgeX.Data.ChartDataBin<T?>>
- encoding ChartForgeX.Core.ChartHistogramEncoding
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddHorizontalBand(Double start, Double end, String label = "", ChartColor? color = null, Double opacity = 0.14) #ChartAdds a horizontal band annotation between two y-axis values.
Parameters
- start System.Double
- The first y-axis value.
- end System.Double
- The second y-axis value.
- label System.String = ""
- The annotation label.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
- opacity System.Double = 0.14
- The band opacity.
Returns
The current chart.
public Chart AddHorizontalBar(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a horizontal bar series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The category/value points. The x values identify categories and the y values set bar length.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddHorizontalLine(Double value, String label = "", ChartColor? color = null) #ChartAdds a horizontal line annotation at a y-axis value.
Parameters
- value System.Double
- The y-axis value.
- label System.String = ""
- The annotation label.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
Returns
The current chart.
public Chart AddHourWeekdayHeatmap(IEnumerable<ChartTimedValue> values, ChartTimeAggregation aggregation = Count, TimeZoneInfo? timeZone = null, DayOfWeek firstDayOfWeek = Monday, ChartColor? color = null, IReadOnlyList<String>? dayNames = null, String? timeZoneLabel = null) #ChartAdds an hour-of-day by weekday heatmap: seven weekday rows by 24 hour columns, each cell aggregating the values observed in that hour of that weekday. Buckets use wall-clock time in timeZone (UTC when null), and cell intensity is relative to the observed range (ChartOptions.HeatmapRelativeScale).
Parameters
- values System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartTimedValue>
- The timed values, for example one value of 1 per event.
- aggregation ChartForgeX.Core.ChartTimeAggregation = Count
- How values in one bucket are combined. Count and sum show empty buckets as zero; mean and maximum mask them.
- timeZone System.TimeZoneInfo? = null
- The zone whose wall-clock hours and weekdays define the buckets, or null for UTC.
- firstDayOfWeek System.DayOfWeek = Monday
- The weekday shown in the top row.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity cell colour.
- dayNames System.Collections.Generic.IReadOnlyList<System.String>? = null
- Optional localized row names: seven entries indexed by DayOfWeek (Sunday first). Null uses the invariant abbreviations Sun through Sat.
- timeZoneLabel System.String? = null
- Optional zone designator for the default x-axis title, for example CET. Null uses UTC, or the zone identifier when timeZone is set; identifiers differ between Windows and IANA systems, so pass a label when output must match across platforms.
Returns
The current chart.
public Chart AddLayeredRadial(String name, IEnumerable<ChartRadialLayer> layers) #ChartAdds a layered radial chart where each layer controls its own radius, stroke, color, value scale, and angle range.
Parameters
- name System.String
- The layered radial group name.
- layers System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRadialLayer>
- The radial layers to render, ordered back to front.
Returns
The current chart.
public Chart AddLayeredRadial(String name, Func<ChartRadialLayers, ChartRadialLayers> configure) #ChartAdds a layered radial chart using a fluent layer collection builder.
Parameters
- name System.String
- The layered radial group name.
- configure System.Func<ChartForgeX.Core.ChartRadialLayers, ChartForgeX.Core.ChartRadialLayers>
- Configures the radial layers to render, ordered back to front.
Returns
The current chart.
public Chart AddLine(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a line series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddLinearGauge(String name, Double value, Double min = 0, Double max = 100, ChartColor? color = null) #ChartAdds a linear gauge with a value, range and optional explicit colour.
Parameters
- name System.String
- value System.Double
- min System.Double = 0
- max System.Double = 100
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddLine<T>(String name, IEnumerable<T?> rows, Func<T?, Double> x, Func<T?, Double> y, ChartColor? color = null) #ChartAdds a line series from typed source rows.
Type Parameters
- T
Parameters
- name System.String
- rows System.Collections.Generic.IEnumerable<T?>
- x System.Func<T?, System.Double>
- y System.Func<T?, System.Double>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddLollipop(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a lollipop series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddMapBaseLayer(ChartMapDefinition definition, ChartColor fillColor, ChartColor? strokeColor = null, Double strokeWidth = 0.8) #ChartAdds a non-data geography layer behind region maps.
Parameters
- definition ChartForgeX.Core.ChartMapDefinition
- The map geometry definition.
- fillColor ChartForgeX.Primitives.ChartColor
- The fill color for the layer.
- strokeColor ChartForgeX.Primitives.ChartColor? = null
- The optional stroke color.
- strokeWidth System.Double = 0.8
- The stroke width in rendered pixels.
Returns
The current chart.
public Chart AddMapBoundaryLayer(ChartMapDefinition definition, ChartColor strokeColor, Double strokeWidth = 1.4, ChartColor? fillColor = null) #ChartAdds a non-data boundary layer above region maps.
Parameters
- definition ChartForgeX.Core.ChartMapDefinition
- The map geometry definition.
- strokeColor ChartForgeX.Primitives.ChartColor
- The boundary stroke color.
- strokeWidth System.Double = 1.4
- The stroke width in rendered pixels.
- fillColor ChartForgeX.Primitives.ChartColor? = null
- The optional fill color.
Returns
The current chart.
public Chart AddMapConnector(String label, Double fromLongitude, Double fromLatitude, Double toLongitude, Double toLatitude, ChartColor? color = null) #ChartAdds a connector line between two longitude/latitude points on capable map charts.
Parameters
- label System.String
- The connector label.
- fromLongitude System.Double
- The source longitude in degrees.
- fromLatitude System.Double
- The source latitude in degrees.
- toLongitude System.Double
- The target longitude in degrees.
- toLatitude System.Double
- The target latitude in degrees.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional connector color.
Returns
The current chart.
public Chart AddMapConnector(String label, IEnumerable<ChartMapPoint> routePoints, ChartColor? color = null) #ChartAdds a connector line through ordered longitude/latitude route points on capable map charts.
Parameters
- label System.String
- The connector label.
- routePoints System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapPoint>
- The ordered route points, including the source and target points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional connector color.
Returns
The current chart.
public Chart AddMapConnector(String label, params ChartMapPoint[] routePoints) #ChartAdds a connector line through ordered longitude/latitude route points on capable map charts.
Parameters
- label System.String
- The connector label.
- routePoints ChartForgeX.Core.ChartMapPoint[]
- The ordered route points, including the source and target points.
Returns
The current chart.
public Chart AddMapConnectorBetweenPoints(String label, String fromPointLabel, String toPointLabel, ChartColor? color = null) #ChartAdds a connector line between two existing dotted-map point labels.
Parameters
- label System.String
- The connector label.
- fromPointLabel System.String
- The source dotted-map point label.
- toPointLabel System.String
- The target dotted-map point label.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional connector color.
Returns
The current chart.
public Chart AddMapRoute(String label, Double fromLongitude, Double fromLatitude, Double toLongitude, Double toLatitude, ChartColor? color = null) #ChartAdds a route line between two longitude/latitude points on capable map charts.
Parameters
- label System.String
- The route label.
- fromLongitude System.Double
- The source longitude in degrees.
- fromLatitude System.Double
- The source latitude in degrees.
- toLongitude System.Double
- The target longitude in degrees.
- toLatitude System.Double
- The target latitude in degrees.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional route color.
Returns
The current chart.
public Chart AddMapRoute(String label, IEnumerable<ChartMapPoint> routePoints, ChartColor? color = null) #ChartAdds a route line through ordered longitude/latitude points on capable map charts.
Parameters
- label System.String
- The route label.
- routePoints System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapPoint>
- The ordered route points, including the source and target points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional route color.
Returns
The current chart.
public Chart AddMapRoute(String label, params ChartMapPoint[] routePoints) #ChartAdds a route line through ordered longitude/latitude points on capable map charts.
Parameters
- label System.String
- The route label.
- routePoints ChartForgeX.Core.ChartMapPoint[]
- The ordered route points, including the source and target points.
Returns
The current chart.
public Chart AddMapRouteBetweenPoints(String label, String fromPointLabel, String toPointLabel, ChartColor? color = null) #ChartAdds a route line between two existing dotted-map point labels.
Parameters
- label System.String
- The route label.
- fromPointLabel System.String
- The source dotted-map point label.
- toPointLabel System.String
- The target dotted-map point label.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional route color.
Returns
The current chart.
public Chart AddMeanLine(String label, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a horizontal annotation line at the mean y value of the supplied points.
Parameters
- label System.String
- The annotation label.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The source points used to compute the mean.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
Returns
The current chart.
public Chart AddMedianLine(String label, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a horizontal annotation line at the median y value of the supplied points.
Parameters
- label System.String
- The annotation label.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The source points used to compute the median.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
Returns
The current chart.
public Chart AddOhlc(String name, IEnumerable<ChartCandlestick> values, ChartColor? color = null) #ChartAdds an OHLC series.
Parameters
- name System.String
- The series name.
- values System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartCandlestick>
- The open, high, low, and close values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddPareto(String name, IEnumerable<ChartParetoItem> items, ChartColor? barColor = null, ChartColor? cumulativeColor = null) #ChartAdds a Pareto chart by normalizing raw category values to percentages and adding a cumulative percentage line.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartParetoItem>
- The labeled values to sort and normalize.
- barColor ChartForgeX.Primitives.ChartColor? = null
- An optional bar color.
- cumulativeColor ChartForgeX.Primitives.ChartColor? = null
- An optional cumulative line color.
Returns
The current chart.
public Chart AddPictorial(String name, IEnumerable<ChartPictorialItem> items, ChartPictorialShape shape = Circle, ChartColor? color = null) #ChartAdds a pictorial chart that visualizes values with repeated built-in symbols.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartPictorialItem>
- The labeled values to render.
- shape ChartForgeX.Core.ChartPictorialShape = Circle
- The symbol shape.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional base color. When null, the theme palette colors each row.
Returns
The current chart.
public Chart AddPie(String name, IEnumerable<ChartPoint> points) #ChartAdds a pie series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The slice values. The x values are used for optional slice labels.
Returns
The current chart.
public Chart AddPointCallout(String label, ChartPoint point, ChartColor? color = null, ChartDataLabelPlacement placement = Above) #ChartAdds a labeled point callout rendered as a one-point scatter series.
Parameters
- label System.String
- The callout label.
- point ChartForgeX.Primitives.ChartPoint
- The callout point.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional callout color.
- placement ChartForgeX.Core.ChartDataLabelPlacement = Above
- The label placement around the point.
Returns
The current chart.
public Chart AddPointCallout(String label, Double x, Double y, ChartColor? color = null, ChartDataLabelPlacement placement = Above) #ChartAdds a labeled point callout rendered as a one-point scatter series.
Parameters
- label System.String
- The callout label.
- x System.Double
- The callout x-coordinate.
- y System.Double
- The callout y-coordinate.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional callout color.
- placement ChartForgeX.Core.ChartDataLabelPlacement = Above
- The label placement around the point.
Returns
The current chart.
public Chart AddPolar(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a polar line series using angle/radius coordinates.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The ordered polar points. X values are angles in radians and Y values are non-negative radii.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddPolarArea(String name, IEnumerable<ChartPoint> points) #ChartAdds a polar area series with equal-angle radial segments scaled by value.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The segment values. The x values are used for optional segment labels.
Returns
The current chart.
public Chart AddProgressBars(String name, IEnumerable<ChartProgressItem> items, Double maximum = 100, ChartColor? color = null) #ChartAdds a progress-bar chart that visualizes labeled values against a shared maximum.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartProgressItem>
- The labeled values to render.
- maximum System.Double = 100
- The shared maximum value.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional base color. When null, the theme palette colors each row.
Returns
The current chart.
public Chart AddProgressRing(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a progress-ring series where each point renders as a circular progress ring.
Parameters
- name System.String
- The progress-ring group name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The ring values. The x values identify labels and y values must be between zero and 100.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional shared ring color. When null, the theme palette colors rings independently.
Returns
The current chart.
public Chart AddPyramid(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds ordered non-negative values as triangular partitions of a whole.
Parameters
- name System.String
- The display name of the series.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The ordered source categories and values. Their sum must be finite.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color; point colors can override it.
Returns
The current chart.
public Chart AddRadar(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a radar series for comparing values across radial categories.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The category/value points. The x values identify radial categories and the y values set distance from center.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddRadarArea(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a filled radar area with an outline and optional markers.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The category/value observations.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional series color.
Returns
The current chart.
public Chart AddRadarLine(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a closed radar line with optional markers and no area fill.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The category/value observations.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional series color.
Returns
The current chart.
public Chart AddRadialBar(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds numeric angular bars arranged in radial category bands. X identifies a category; Y is the signed value.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- Finite category/value observations, in source units.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddRadialColumn(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds numeric radial columns arranged in angular category bands. X identifies a category; Y is the signed value.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- Finite category/value observations, in source units.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddRangeArea(String name, IEnumerable<ChartRangeBand> ranges, ChartColor? color = null, Boolean smooth = true) #ChartAdds a range-area series.
Parameters
- name System.String
- The series name.
- ranges System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRangeBand>
- The lower and upper interval values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
- smooth System.Boolean = true
- A value indicating whether interval boundaries should be smoothed.
Returns
The current chart.
public Chart AddRangeBand(String name, IEnumerable<ChartRangeBand> bands, ChartColor? color = null) #ChartAdds a range-band series.
Parameters
- name System.String
- The series name.
- bands System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRangeBand>
- The lower and upper band values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddRangeBar(String name, IEnumerable<ChartInterval> intervals, ChartColor? color = null) #ChartAdds a vertical range bar series.
Parameters
- name System.String
- The series name.
- intervals System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartInterval>
- The interval values to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddRegionHeatmap(String name, ChartMapDefinition definition, IEnumerable<ChartRegionMapItem> regions, ChartColorScale? scale = null) #ChartAdds a geographic region heatmap from a reusable map definition.
Parameters
- name System.String
- The series name.
- definition ChartForgeX.Core.ChartMapDefinition
- The map geometry definition.
- regions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRegionMapItem>
- The region values to render. Each map region is colored independently from its own value.
- scale ChartForgeX.Core.ChartColorScale? = null
- An optional map color scale used to color the regions.
Returns
The current chart.
public Chart AddRegionMap(String name, ChartMapDefinition definition, IEnumerable<ChartRegionMapItem> regions, ChartColor? color = null) #ChartAdds a geographic region map from a reusable map definition.
Parameters
- name System.String
- The series name.
- definition ChartForgeX.Core.ChartMapDefinition
- The map geometry definition.
- regions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRegionMapItem>
- The region values to render. Duplicate region codes, names, or aliases are summed.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity region color.
Returns
The current chart.
public Chart AddSankey(String name, IEnumerable<ChartNode> nodes, IEnumerable<ChartFlowLink> links, ChartColor? color = null) #ChartAdds a Sankey chart with explicit node and flow IDs. Labels may repeat and flows may run in parallel.
Parameters
- name System.String
- nodes System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartNode>
- links System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartFlowLink>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddScatter(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a scatter series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddScatterLineCombo(String scatterName, IEnumerable<ChartPoint> scatterPoints, String lineName, IEnumerable<ChartPoint> linePoints, ChartColor? scatterColor = null, ChartColor? lineColor = null, Boolean smoothLine = false, ChartAxisSide lineAxis = Primary) #ChartAdds a scatter series and a line series for an observed-versus-trend combo chart.
Parameters
- scatterName System.String
- The scatter series name.
- scatterPoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The scatter series data points.
- lineName System.String
- The line series name.
- linePoints System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The line series data points.
- scatterColor ChartForgeX.Primitives.ChartColor? = null
- An optional scatter series color.
- lineColor ChartForgeX.Primitives.ChartColor? = null
- An optional line series color.
- smoothLine System.Boolean = false
- True to render the line as a smoothed curve; otherwise false.
- lineAxis ChartForgeX.Core.ChartAxisSide = Primary
- The y-axis used by the line series.
Returns
The current chart.
public Chart AddScatter<T>(String name, IEnumerable<T?> rows, Func<T?, Double> x, Func<T?, Double> y, ChartColor? color = null) #ChartAdds a scatter series from typed source rows.
Type Parameters
- T
Parameters
- name System.String
- rows System.Collections.Generic.IEnumerable<T?>
- x System.Func<T?, System.Double>
- y System.Func<T?, System.Double>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddSeries<T>(String name, ChartSeriesKind kind, IEnumerable<T?> rows, Func<T?, Double> x, Func<T?, Double> y, ChartColor? color = null) #ChartAdds a cartesian series by mapping typed source rows to x/y values.
Type Parameters
- T
Parameters
- name System.String
- kind ChartForgeX.Core.ChartSeriesKind
- rows System.Collections.Generic.IEnumerable<T?>
- x System.Func<T?, System.Double>
- y System.Func<T?, System.Double>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddSlope(String name, Double start, Double end, ChartColor? color = null) #ChartAdds a slope series comparing one start value to one end value.
Parameters
- name System.String
- The comparison name.
- start System.Double
- The start value.
- end System.Double
- The end value.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddSlope(String name, Double start, Double end, String startLabel, String endLabel, ChartColor? color = null) #ChartAdds a slope series comparing one start value to one end value with explicit endpoint labels.
Parameters
- name System.String
- The comparison name.
- start System.Double
- The start value.
- end System.Double
- The end value.
- startLabel System.String
- The x-axis label for the start value.
- endLabel System.String
- The x-axis label for the end value.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddSmoothArea(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a smoothed area series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddSmoothLine(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a smoothed line series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddSmoothStackedArea(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a smoothed area series stacked on top of earlier stacked area series at matching x values.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddStackedArea(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds an area series stacked on top of earlier stacked area series at matching x values.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddStandardDeviationBand(String label, IEnumerable<ChartPoint> points, Double deviations = 1, ChartColor? color = null, Double opacity = 0.12) #ChartAdds a horizontal band around the mean y value using population standard deviation.
Parameters
- label System.String
- The annotation label.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The source points used to compute the band.
- deviations System.Double = 1
- The number of standard deviations above and below the mean.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
- opacity System.Double = 0.12
- The band opacity.
Returns
The current chart.
public Chart AddStateTimelineLane(String name, IEnumerable<ChartStateTimelineSegment> segments, String? summary = null, String? group = null) #ChartAdds one state timeline lane: an entity such as a server or service with its state intervals over time. Lanes render top to bottom in the order they are added. Time not covered by a segment is shown as a gap.
Parameters
- name System.String
- The lane label.
- segments System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartStateTimelineSegment>
- The lane's intervals. They are sorted by start, then end, then input order; overlaps are drawn in that order, and rendered point indices (data-cfx-point) follow the sorted order.
- summary System.String? = null
- Optional text for the summary column, for example 99.2%.
- group System.String? = null
- Optional group the lane is listed under. Consecutive lanes with the same group share one header row; a lane without a group after a grouped one is set apart by a small gap. Group names are lane labels and are hidden with the y-axis.
Returns
The current chart.
public Chart AddStepArea(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a stepped area series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddStepLine(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a stepped line series.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The series data points.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddSunburst(String name, IEnumerable<ChartHierarchyItem> items, ChartColor? color = null) #ChartAdds a single-root Sunburst with explicit IDs, authored sizes and independent numeric colors.
Parameters
- name System.String
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartHierarchyItem>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddTileHeatmap(String name, ChartTileMapDefinition definition, IEnumerable<ChartRegionMapItem> regions, ChartColorScale? scale = null) #ChartAdds a tile-map heatmap from a reusable tile-map definition.
Parameters
- name System.String
- The series name.
- definition ChartForgeX.Core.ChartTileMapDefinition
- The tile-map geometry definition.
- regions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRegionMapItem>
- The region values to render. Each tile is colored independently from its own value.
- scale ChartForgeX.Core.ChartColorScale? = null
- An optional map color scale used to color the tiles.
Returns
The current chart.
public Chart AddTileMap(String name, ChartTileMapDefinition definition, IEnumerable<ChartRegionMapItem> regions, ChartColor? color = null) #ChartAdds a tile map from a reusable tile-map definition.
Parameters
- name System.String
- The series name.
- definition ChartForgeX.Core.ChartTileMapDefinition
- The tile-map geometry definition.
- regions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartRegionMapItem>
- The region values to render. Duplicate region codes, names, or aliases are summed.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional high-intensity region color.
Returns
The current chart.
public Chart AddTimelineItem(String name, DateTime start, DateTime end, ChartColor? color = null) #ChartAdds a timeline range item with date/time bounds.
Parameters
- name System.String
- The timeline item label.
- start System.DateTime
- The range start date/time.
- end System.DateTime
- The range end date/time.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional item color.
Returns
The current chart.
public Chart AddTimelineRange(String name, Double start, Double end, ChartColor? color = null) #ChartAdds a timeline range item with numeric bounds.
Parameters
- name System.String
- The timeline item label.
- start System.Double
- The range start value.
- end System.Double
- The range end value.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional item color.
Returns
The current chart.
public Chart AddTree(String name, IEnumerable<ChartNode> nodes, IEnumerable<ChartTreeLink> links, ChartColor? color = null) #ChartAdds a connected tree with explicit node IDs and one incoming branch per child. Weights do not change tree placement.
Parameters
- name System.String
- nodes System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartNode>
- links System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartTreeLink>
- color ChartForgeX.Primitives.ChartColor? = null
public Chart AddTreemap(String name, IEnumerable<ChartHierarchyItem> items, ChartColor? color = null) #ChartAdds a treemap forest. Parent areas aggregate leaf sizes; explicit IDs identify all nodes independently of labels.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartHierarchyItem>
- The authored groups and leaves. Standalone root leaves also support flat treemaps.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional base color. When null, the theme palette colors the tiles.
Returns
The current chart.
public Chart AddTrendLine(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds a least-squares trend line computed from the supplied points.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- The source points used to compute the trend line.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddVerticalBand(Double start, Double end, String label = "", ChartColor? color = null, Double opacity = 0.14) #ChartAdds a vertical band annotation between two x-axis values.
Parameters
- start System.Double
- The first x-axis value.
- end System.Double
- The second x-axis value.
- label System.String = ""
- The annotation label.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
- opacity System.Double = 0.14
- The band opacity.
Returns
The current chart.
public Chart AddVerticalLine(Double value, String label = "", ChartColor? color = null) #ChartAdds a vertical line annotation at an x-axis value.
Parameters
- value System.Double
- The x-axis value.
- label System.String = ""
- The annotation label.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional annotation color.
Returns
The current chart.
public Chart AddWaterfall(String name, IEnumerable<ChartPoint> points, ChartColor? color = null) #ChartAdds signed changes and one automatically appended final total.
Parameters
- name System.String
- The series name.
- points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint>
- Changes in input order. X supplies the category coordinate and Y supplies the raw change.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddWaterfall(String name, IEnumerable<ChartWaterfallItem> items, ChartColor? color = null) #ChartAdds an optional opening balance, immutable changes and explicit calculated checkpoints. No extra final total is appended.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartWaterfallItem>
- Items in accumulation order, each with a distinct display coordinate. An opening balance must be first and may occur only once.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional series color.
Returns
The current chart.
public Chart AddWordCloud(String name, IEnumerable<ChartWordCloudItem> items, ChartColor? color = null) #ChartAdds a deterministic dependency-free word cloud chart.
Parameters
- name System.String
- The series name.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartWordCloudItem>
- The weighted terms to render.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional base color. When null, the theme palette colors the terms.
Returns
The current chart.
public Chart AsDecorative(Boolean decorative = true) #ChartMarks the chart as decorative for capable renderers.
Parameters
- decorative System.Boolean = true
public Chart ClearHighlightedXAxisLabels() #ChartClears all x-axis tick label highlights.
Returns
The current chart.
public Chart ConfigureAccessibility(Action<VisualAccessibility> configure) #ChartConfigures the chart text alternative and language metadata.
Parameters
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
public Chart ConfigureAxisTitleStyle(Action<TextStyleOverride> configure) #ChartConfigures axis title text styling.
Parameters
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
public Chart ConfigureBarVisualStyle(Action<ChartBarVisualStyle> configure) #ChartConfigures reusable visual tokens used by bar and horizontal-bar renderers.
Parameters
- configure System.Action<ChartForgeX.Core.ChartBarVisualStyle>
- The style configuration callback.
Returns
The current chart.
public Chart ConfigureBubble(Action<ChartBubbleOptions> configure) #ChartConfigures the shared source-size domain and logical radius range for all bubble series.
Parameters
- configure System.Action<ChartForgeX.Core.ChartBubbleOptions>
- The configuration callback.
Returns
The current chart.
public Chart ConfigureChord(Action<ChartChordOptions> configure) #ChartConfigures the circular allocation, ribbons, and labels used by native chord exports.
Parameters
- configure System.Action<ChartForgeX.Core.ChartChordOptions>
public Chart ConfigureDataLabelStyle(Action<TextStyleOverride> configure) #ChartConfigures data-label text styling.
Parameters
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
public Chart ConfigureFunnel(Action<ChartFunnelOptions> configure) #ChartConfigures proportional stage bars or cone stage lines and their orientation.
Parameters
- configure System.Action<ChartForgeX.Core.ChartFunnelOptions>
public Chart ConfigureGauge(Action<ChartGaugeOptions> configure) #ChartConfigures arc, needle or linear gauge anatomy.
Parameters
- configure System.Action<ChartForgeX.Core.ChartGaugeOptions>
public Chart ConfigureGridStyle(Action<ChartGridLineStyle> configure) #ChartConfigures reusable visual tokens used by cartesian grid and guide lines.
Parameters
- configure System.Action<ChartForgeX.Core.ChartGridLineStyle>
- The style configuration callback.
Returns
The current chart.
public Chart ConfigureHeatmapColorDimension(Action<ChartColorDimensionOptions> configure) #ChartConfigures the existing numeric rectangular, hexagonal or calendar heatmap measurement's presentation.
Parameters
- configure System.Action<ChartForgeX.Core.ChartColorDimensionOptions>
- Edits this chart's existing heatmap color presentation options.
Returns
The current chart.
public Chart ConfigureLabels(Action<ChartLabels> configure) #ChartLocalizes the words ChartForgeX writes into the chart on its own (see ChartLabels).
Parameters
- configure System.Action<ChartForgeX.Core.ChartLabels>
- Sets the label texts.
Returns
The current chart.
public Chart ConfigureLegendStyle(Action<TextStyleOverride> configure) #ChartConfigures legend label text styling.
Parameters
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
public Chart ConfigureLineVisualStyle(Action<ChartLineVisualStyle> configure) #ChartMutates a copy of the current reusable line visual tokens.
Parameters
- configure System.Action<ChartForgeX.Core.ChartLineVisualStyle>
public Chart ConfigureMapColorDimension(Action<ChartColorDimensionOptions> configure) #ChartConfigures the existing numeric region/tile-map measurement's name and display policy.
Parameters
- configure System.Action<ChartForgeX.Core.ChartColorDimensionOptions>
- Edits this chart's existing map color presentation options.
Returns
The current chart.
public Chart ConfigurePyramid(Action<ChartPyramidOptions> configure) #ChartConfigures pyramid value encoding, orientation, geometric reversal and aspect ratio.
Parameters
- configure System.Action<ChartForgeX.Core.ChartPyramidOptions>
public Chart ConfigureSankey(Action<ChartSankeyOptions> configure) #ChartConfigures the existing native Sankey layout and paint options without adding or changing authored flows.
Parameters
- configure System.Action<ChartForgeX.Core.ChartSankeyOptions>
public Chart ConfigureSecondaryYAxis(Action<ChartAxis> configure) #ChartConfigures the secondary vertical axis.
Parameters
- configure System.Action<ChartForgeX.Core.ChartAxis>
public Chart ConfigureSubtitleStyle(Action<TextStyleOverride> configure) #ChartConfigures chart subtitle text styling.
Parameters
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
public Chart ConfigureSunburst(Action<ChartSunburstOptions> configure) #ChartConfigures Sunburst parent-size interpretation and independent numeric color.
Parameters
- configure System.Action<ChartForgeX.Core.ChartSunburstOptions>
public Chart ConfigureTextStyle(ChartTextRole role, Action<TextStyleOverride> configure) #ChartConfigures style overrides for a chart text role.
Parameters
- role ChartForgeX.Core.ChartTextRole
- The text role to style.
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
- The style configuration callback.
Returns
The current chart.
public Chart ConfigureTickLabelStyle(Action<TextStyleOverride> configure) #ChartConfigures axis tick and category label text styling.
Parameters
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
public Chart ConfigureTitleStyle(Action<TextStyleOverride> configure) #ChartConfigures chart title text styling.
Parameters
- configure System.Action<ChartForgeX.Typography.TextStyleOverride>
public Chart ConfigureTreemap(Action<ChartTreemapOptions> configure) #ChartConfigures treemap spacing, group captions and the independent numeric color scale.
Parameters
- configure System.Action<ChartForgeX.Core.ChartTreemapOptions>
public Chart ConfigureWaterfall(Action<ChartWaterfallOptions> configure) #ChartConfigures the waterfall value direction without changing ordered source items.
Parameters
- configure System.Action<ChartForgeX.Core.ChartWaterfallOptions>
public Chart ConfigureXAxis(Action<ChartAxis> configure) #ChartConfigures the primary horizontal axis.
Parameters
- configure System.Action<ChartForgeX.Core.ChartAxis>
public Chart ConfigureYAxis(Action<ChartAxis> configure) #ChartConfigures the primary vertical axis.
Parameters
- configure System.Action<ChartForgeX.Core.ChartAxis>
public PreparedVisual Prepare(VisualRenderContext context) #PreparedVisualPrepares chart geometry, typography and semantics into a detached shared static scene.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
public Chart WithAutomaticSecondaryYAxisBounds() #ChartClears explicit secondary cartesian y-axis bounds so renderers can infer them from data.
Returns
The current chart.
public Chart WithAutomaticXAxisBounds() #ChartClears explicit cartesian x-axis bounds so renderers can infer them from data.
Returns
The current chart.
public Chart WithAutomaticYAxisBounds() #ChartClears explicit cartesian y-axis bounds so renderers can infer them from data.
Returns
The current chart.
public Chart WithAxes(Boolean visible = true) #ChartSets whether axes, tick labels, and axis titles should be rendered.
Parameters
- visible System.Boolean = true
- True to render axes; otherwise false.
Returns
The current chart.
public Chart WithAxisLines(Boolean visible = true) #ChartSets whether axis rules and zero-axis lines should be rendered when axes are enabled.
Parameters
- visible System.Boolean = true
- True to render axis rules; otherwise false.
Returns
The current chart.
public Chart WithBarMode(ChartBarMode mode) #ChartSets how multiple bar series are arranged within each category.
Parameters
- mode ChartForgeX.Core.ChartBarMode
- The bar arrangement mode.
Returns
The current chart.
public Chart WithBarStyle(ChartBarStyle style) #ChartSets the visual treatment used by bar and horizontal-bar renderers.
Parameters
- style ChartForgeX.Core.ChartBarStyle
- The bar visual style.
Returns
The current chart.
public Chart WithBarVisualStyle(ChartBarVisualStyle style) #ChartSets reusable visual tokens used by bar and horizontal-bar renderers.
Parameters
- style ChartForgeX.Core.ChartBarVisualStyle
- The bar visual style.
Returns
The current chart.
public Chart WithCalendarHeatmapCells(Double? size = null, Double? maximumSize = null, Double? gap = null) #ChartSets how calendar heatmap cells are sized. By default cells fill the plot, limited by its width or height. All three values are set together: an omitted argument returns that setting to automatic, and a preferred size takes precedence over the maximum. Nothing changes when a value is out of range.
Parameters
- size System.Double? = null
- A preferred cell size in pixels, used when it fits; the cells shrink when it does not. Null fills the plot.
- maximumSize System.Double? = null
- The largest size cells grow to when they fill the plot, so a short window does not turn into a few huge squares. Null leaves them unlimited.
- gap System.Double? = null
- The gap between cells in pixels. Null uses a gap chosen from the number of weeks.
Returns
The current chart.
public Chart WithCard(Boolean visible = true) #ChartSets whether the outer card surface should be rendered.
Parameters
- visible System.Boolean = true
- True to render the card; otherwise false.
Returns
The current chart.
public Chart WithCircleRadiusScale(Double scale) #ChartSets the relative radius used by circle charts.
Parameters
- scale System.Double
- The radius scale from 0.65 to 1.35.
Returns
The current chart.
public Chart WithCircleStatusLabel(Boolean visible = true) #ChartSets whether circle charts should display status marker and status labels.
Parameters
- visible System.Boolean = true
- True to show status labels; otherwise false.
Returns
The current chart.
public Chart WithCircleStrokeScale(Double scale) #ChartSets the relative stroke thickness used by circle charts.
Parameters
- scale System.Double
- The stroke scale from 0.55 to 1.8.
Returns
The current chart.
public Chart WithDashboardBarPanelStyle(Boolean showPlotBackground = false) #ChartApplies the reusable dashboard panel and segmented bar treatment together.
Parameters
- showPlotBackground System.Boolean = false
- True to also render the inner plot background surface.
Returns
The current chart.
public Chart WithDashboardBarStyle(Boolean includeChrome = true) #ChartApplies the reusable dashboard bar treatment: translucent bar segments, rounded value caps, soft cap shadows, and dashed vertical guide lines.
Parameters
- includeChrome System.Boolean = true
- True to also remove the default card, plot background, and axis rules for a lightweight dashboard panel.
Returns
The current chart.
public Chart WithDashboardCartesianStyle(Boolean includeChrome = true) #ChartApplies reusable dashboard cartesian chrome: dashed vertical guide lines and lightweight report-panel surfaces.
Parameters
- includeChrome System.Boolean = true
- True to also remove the default card, plot background, and axis rules for a lightweight dashboard panel.
Returns
The current chart.
public Chart WithDashboardPanelStyle(Boolean showPlotBackground = false) #ChartApplies reusable dashboard panel chrome: a card surface, dashed vertical guide lines, premium line strokes, and hidden axis rules.
Parameters
- showPlotBackground System.Boolean = false
- True to also render the inner plot background surface.
Returns
The current chart.
public Chart WithDashboardStackedRowStyle(Boolean showTotals = false, Boolean showLegend = true, Boolean showPlotBackground = false) #ChartApplies a compact dashboard preset for stacked horizontal row charts with optional trailing totals.
Parameters
- showTotals System.Boolean = false
- True to render totals at the end of each stacked row.
- showLegend System.Boolean = true
- True to keep the series legend visible.
- showPlotBackground System.Boolean = false
- True to render the inner plot background surface.
Returns
The current chart.
public Chart WithDashboardTrendFocus(Double x, Double y, String label, ChartColor? color = null, ChartDataLabelPlacement placement = Above) #ChartAdds a reusable dashboard focus marker to a trend chart.
Parameters
- x System.Double
- The focused x-axis value.
- y System.Double
- The focused y-axis value.
- label System.String
- The focus label.
- color ChartForgeX.Primitives.ChartColor? = null
- The focus color. When omitted, the first theme palette color is used.
- placement ChartForgeX.Core.ChartDataLabelPlacement = Above
- The callout placement around the focused point.
Returns
The current chart.
public Chart WithDashboardTrendPanelStyle(Boolean showLegend = true, Boolean showYAxis = false, Boolean showPlotBackground = false) #ChartApplies a compact dashboard preset for multi-line trend cards with premium strokes and lightweight axes.
Parameters
- showLegend System.Boolean = true
- True to keep the series legend visible.
- showYAxis System.Boolean = false
- True to keep y-axis labels visible.
- showPlotBackground System.Boolean = false
- True to render the inner plot background surface.
Returns
The current chart.
public Chart WithDataLabelConnectorColor(ChartColor? color) #ChartSets an optional override color for data-label connector lines.
Parameters
- color ChartForgeX.Primitives.ChartColor?
- The connector color, or null to use the renderer default. Pie and donut callouts use the matching slice color by default.
Returns
The current chart.
public Chart WithDataLabelConnectorColor(String hex) #ChartSets an override color for data-label connector lines from hex notation.
Parameters
- hex System.String
- The connector color in #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.
Returns
The current chart.
public Chart WithDataLabelConnectorOpacity(Double opacity) #ChartSets the opacity used by data-label connector lines.
Parameters
- opacity System.Double
- The opacity from zero to one.
Returns
The current chart.
public Chart WithDataLabelConnectorStrokeWidth(Double width) #ChartSets the stroke width used by data-label connector lines.
Parameters
- width System.Double
- The connector stroke width in pixels.
Returns
The current chart.
public Chart WithDataLabelConnectorStyle(ChartDataLabelConnectorStyle style) #ChartSets the connector line shape used by outside and side data labels.
Parameters
- style ChartForgeX.Core.ChartDataLabelConnectorStyle
- The connector style.
Returns
The current chart.
public Chart WithDataLabelPlacement(ChartDataLabelPlacement placement) #ChartSets the preferred data-label placement for capable renderers.
Parameters
- placement ChartForgeX.Core.ChartDataLabelPlacement
- The preferred placement.
Returns
The current chart.
public Chart WithDataLabels(Boolean visible = true) #ChartSets chart-level data-label visibility. Explicit series overrides take precedence.
Parameters
- visible System.Boolean = true
- True to render data labels; otherwise false.
Returns
The current chart.
public Chart WithDesignTokens(VisualDesignTokens tokens) #ChartApplies shared product-neutral design tokens to the chart theme.
Parameters
- tokens ChartForgeX.Themes.VisualDesignTokens
public Chart WithDonutCenterLabel(Boolean visible = true) #ChartSets whether donut charts should display center total and series labels.
Parameters
- visible System.Boolean = true
- True to show center labels; otherwise false.
Returns
The current chart.
public Chart WithDonutCenterText(String? value, String? label = null) #ChartSets custom center text for donut charts.
Parameters
- value System.String?
- The primary center text. Pass null or whitespace to use the formatted total.
- label System.String? = null
- The secondary center text. Pass null or whitespace to use the series name.
Returns
The current chart.
public Chart WithDonutInnerRadiusRatio(Double ratio) #ChartSets the donut hole radius as a ratio of the outer radius.
Parameters
- ratio System.Double
- The inner radius ratio from 0.35 to 0.82.
Returns
The current chart.
public Chart WithFocusedXAxisCategory(Double value, Double halfWidth = 0.5, ChartColor? color = null) #ChartHighlights an x-axis category label and draws guide lines around that category.
Parameters
- value System.Double
- The x-axis category value to focus.
- halfWidth System.Double = 0.5
- Half of the focused category width in axis units.
- color ChartForgeX.Primitives.ChartColor? = null
- The focus color. When omitted, the first theme palette color is used.
Returns
The current chart.
public Chart WithFocusedXAxisCategory(Double value, Int32 paletteIndex, Double halfWidth = 0.5) #ChartHighlights an x-axis category label and draws guide lines around that category using a color from the current theme palette.
Parameters
- value System.Double
- The x-axis category value to focus.
- paletteIndex System.Int32
- The zero-based theme palette index. Values greater than the palette length wrap.
- halfWidth System.Double = 0.5
- Half of the focused category width in axis units.
Returns
The current chart.
public Chart WithFontFamily(String fontFamily) #ChartSets the CSS font-family used by vector and HTML renderers.
Parameters
- fontFamily System.String
- The CSS font-family stack.
Returns
The current chart.
public Chart WithGanttLaneNow(DateTime? now) #ChartSets the current instant for Gantt lanes, converting Local values to UTC and treating Unspecified values as UTC.
Parameters
- now System.DateTime?
- The current instant, or null to hide the marker and use the latest item time for open items.
Returns
The current chart.
public Chart WithGanttToday(DateTime? today) #ChartSets the optional Gantt current-date marker.
Parameters
- today System.DateTime?
- The current date marker. Pass null to hide the marker.
Returns
The current chart.
public Chart WithGanttToday(Double? value) #ChartSets the optional Gantt current-position marker for numeric schedules.
Parameters
- value System.Double?
- The current schedule value. Pass null to hide the marker.
Returns
The current chart.
public Chart WithGrid(Boolean visible = true) #ChartSets whether grid lines should be rendered.
Parameters
- visible System.Boolean = true
- True to render grid lines; otherwise false.
Returns
The current chart.
public Chart WithGridStyle(ChartGridLineStyle style) #ChartSets reusable visual tokens used by cartesian grid and guide lines.
Parameters
- style ChartForgeX.Core.ChartGridLineStyle
- The grid line style.
Returns
The current chart.
public Chart WithGroupedBars() #ChartArranges multiple bar series side by side within each category.
Returns
The current chart.
public Chart WithHeader(Boolean visible = true) #ChartSets whether the chart title and subtitle should be rendered.
Parameters
- visible System.Boolean = true
- True to render the header; otherwise false.
Returns
The current chart.
public Chart WithHeatmapCellGap(Double? gap) #ChartSets the heatmap cell gap in pixels. Pass null to use the automatic dashboard-safe gap.
Parameters
- gap System.Double?
- The cell gap in pixels, or null for automatic sizing.
Returns
The current chart.
public Chart WithHeatmapCellRadius(Double? radius) #ChartSets the heatmap cell corner radius in pixels. Pass null to use the automatic radius.
Parameters
- radius System.Double?
- The cell corner radius in pixels, or null for automatic sizing.
Returns
The current chart.
public Chart WithHeatmapColorScale(ChartColorScale? scale) #ChartSets the numeric color scale for rectangular, hexagonal and calendar heatmaps.
Parameters
- scale ChartForgeX.Core.ChartColorScale?
- The shared scale, or null to restore the family's default coloring.
Returns
The current chart.
public Chart WithHeatmapColumnLabels(Boolean visible = true) #ChartSets whether heatmap column labels should be rendered.
Parameters
- visible System.Boolean = true
- True to render heatmap column labels; otherwise false.
Returns
The current chart.
public Chart WithHeatmapScale(ChartHeatmapScale scale) #ChartSets how heatmap values are converted into cell colors.
Parameters
- scale ChartForgeX.Core.ChartHeatmapScale
- The heatmap color scale.
Returns
The current chart.
public Chart WithHeatmapScaleLegend(Boolean visible = true) #ChartSets whether heatmap scale legends should be rendered.
Parameters
- visible System.Boolean = true
- True to render heatmap scale legends; otherwise false.
Returns
The current chart.
public Chart WithHeatmapValueTextMode(ChartHeatmapValueTextMode mode) #ChartSets when heatmap cell values should render as text.
Parameters
- mode ChartForgeX.Core.ChartHeatmapValueTextMode
- The heatmap value text mode.
Returns
The current chart.
public Chart WithHighlightedXAxisLabel(Double value, ChartColor? color = null) #ChartHighlights a specific x-axis tick label with the supplied color.
Parameters
- value System.Double
- The x-axis value whose displayed label should be highlighted.
- color ChartForgeX.Primitives.ChartColor? = null
- The highlight color. When omitted, the first theme palette color is used.
Returns
The current chart.
public Chart WithHighlightedXAxisLabel(Double value, Int32 paletteIndex) #ChartHighlights a specific x-axis tick label with a color from the current theme palette.
Parameters
- value System.Double
- The x-axis value whose displayed label should be highlighted.
- paletteIndex System.Int32
- The zero-based theme palette index. Values greater than the palette length wrap.
Returns
The current chart.
public Chart WithHighlightedXAxisRange(Double start, Double end, ChartColor? color = null, Double opacity = 0.1, String label = "selected-window") #ChartHighlights a contiguous x-axis range with a translucent band and matching labels when explicit labels exist.
Parameters
- start System.Double
- The first x-axis value in the highlighted range.
- end System.Double
- The second x-axis value in the highlighted range.
- color ChartForgeX.Primitives.ChartColor? = null
- The highlight color. When omitted, the first theme palette color is used.
- opacity System.Double = 0.1
- The highlight band opacity.
- label System.String = "selected-window"
- The range metadata label.
Returns
The current chart.
public Chart WithHighlightedXAxisRange(Double start, Double end, Int32 paletteIndex, Double opacity = 0.1, String label = "selected-window") #ChartHighlights a contiguous x-axis range using a color from the current theme palette.
Parameters
- start System.Double
- The first x-axis value in the highlighted range.
- end System.Double
- The second x-axis value in the highlighted range.
- paletteIndex System.Int32
- The zero-based theme palette index. Values greater than the palette length wrap.
- opacity System.Double = 0.1
- The highlight band opacity.
- label System.String = "selected-window"
- The range metadata label.
Returns
The current chart.
public Chart WithHostFrame(Boolean hostOwnsFrame = true) #ChartOmits the outer chart frame and padding when the host already provides them.
Parameters
- hostOwnsFrame System.Boolean = true
public Chart WithLegend(Boolean visible = true) #ChartSets whether the legend should be rendered.
Parameters
- visible System.Boolean = true
- True to render the legend; otherwise false.
Returns
The current chart.
public Chart WithLegendBudget(Double maximumHeightFraction = 0.35, Int32? maximumRows = null) #ChartLimits legend height and rows, disclosing additional entries in a summary row.
Parameters
- maximumHeightFraction System.Double = 0.35
- Fraction of chart height available for the legend, greater than zero and at most one.
- maximumRows System.Int32? = null
- Optional maximum row count, including the summary row.
Returns
The current chart.
public Chart WithLegendPosition(ChartLegendPosition position) #ChartSets where the legend is placed relative to the plot area.
Parameters
- position ChartForgeX.Core.ChartLegendPosition
- The legend position.
Returns
The current chart.
public Chart WithLineMarkers(ChartLineMarkerMode mode) #ChartSets optional line markers while keeping all data available for interaction and accessibility.
Parameters
- mode ChartForgeX.Core.ChartLineMarkerMode
public Chart WithLineVisualStyle(ChartLineVisualStyle style) #ChartSets reusable visual tokens for line, area boundary, trend, and slope strokes.
Parameters
- style ChartForgeX.Core.ChartLineVisualStyle
public Chart WithLuminousLineStyle() #ChartUses stronger luminous line rendering for deliberate glow-heavy dashboard treatments.
public Chart WithMapColorScale(ChartColorScale? scale) #ChartSets the color scale used by region and tile maps.
Parameters
- scale ChartForgeX.Core.ChartColorScale?
- The map color scale, or null to use the default map coloring.
Returns
The current chart.
public Chart WithMapColorScale(ChartColor lowColor, ChartColor highColor) #ChartSets a two-color sequential scale used by region and tile maps.
Parameters
- lowColor ChartForgeX.Primitives.ChartColor
- The low-value color.
- highColor ChartForgeX.Primitives.ChartColor
- The high-value color.
Returns
The current chart.
public Chart WithMapColorScale(ChartColor lowColor, ChartColor midpointColor, ChartColor highColor, Double? midpointValue = null) #ChartSets a three-color diverging scale used by region and tile maps.
Parameters
- lowColor ChartForgeX.Primitives.ChartColor
- The low-value color.
- midpointColor ChartForgeX.Primitives.ChartColor
- The midpoint color.
- highColor ChartForgeX.Primitives.ChartColor
- The high-value color.
- midpointValue System.Double? = null
- An optional midpoint value. When omitted, the midpoint is halfway between the effective minimum and maximum.
Returns
The current chart.
public Chart WithMapLabels(Boolean visible = true) #ChartSets whether region labels should be rendered on map charts.
Parameters
- visible System.Boolean = true
- True to render map region labels; otherwise false.
Returns
The current chart.
public Chart WithMapRegionStroke(ChartColor? color, Double width = 1.1) #ChartSets the stroke rendered around data regions on map charts.
Parameters
- color ChartForgeX.Primitives.ChartColor?
- The stroke color. Pass null to use the theme card background.
- width System.Double = 1.1
- The stroke width in rendered pixels.
Returns
The current chart.
public Chart WithMapScaleLegend(Boolean visible = true) #ChartSets whether map scale legends should be rendered.
Parameters
- visible System.Boolean = true
- True to render map scale legends; otherwise false.
Returns
The current chart.
public Chart WithMapScaleLegendPosition(ChartMapScaleLegendPosition position) #ChartSets where map scale legends should be rendered.
Parameters
- position ChartForgeX.Core.ChartMapScaleLegendPosition
- The map scale legend position.
Returns
The current chart.
public Chart WithMapSurface(Boolean visible = true) #ChartSets whether map charts render their own background surface.
Parameters
- visible System.Boolean = true
- True to render the map surface; otherwise false.
Returns
The current chart.
public Chart WithMapViewport(ChartMapViewport viewport) #ChartSets the longitude/latitude viewport used by dotted map charts.
Parameters
- viewport ChartForgeX.Core.ChartMapViewport
- The map viewport to render.
Returns
The current chart.
public Chart WithMarkBackdrop(ChartMarkBackdrop backdrop) #ChartSets the surface treated as the colour behind the marks (see ChartOptions.MarkBackdrop), for example ChartMarkBackdrop.Card for a transparent chart placed on a host's card.
Parameters
- backdrop ChartForgeX.Core.ChartMarkBackdrop
- The surface.
Returns
The current chart.
public Chart WithOverlay(Boolean showHeader = false) #ChartConfigures the chart for transparent overlay rendering on an existing image or surface.
Parameters
- showHeader System.Boolean = false
- True to keep the chart title and subtitle visible; otherwise false.
Returns
The current chart.
public Chart WithPadding(Double left, Double top, Double right, Double bottom) #ChartSets the chart padding around the plot area.
Parameters
- left System.Double
- The left padding in pixels.
- top System.Double
- The top padding in pixels.
- right System.Double
- The right padding in pixels.
- bottom System.Double
- The bottom padding in pixels.
Returns
The current chart.
public Chart WithPictorialColumns(Int32 columns) #ChartSets the number of repeated symbols used per pictorial chart row.
Parameters
- columns System.Int32
- The symbol count from one to one hundred.
Returns
The current chart.
public Chart WithPictorialEmptyOpacity(Double opacity) #ChartSets the opacity used by unfilled pictorial symbols.
Parameters
- opacity System.Double
- The opacity from zero to one.
Returns
The current chart.
public Chart WithPictorialMaximum(Double? maximum) #ChartSets the optional scale maximum used by pictorial chart rows.
Parameters
- maximum System.Double?
- The maximum value represented by a fully filled row. Pass null to scale to the largest item.
Returns
The current chart.
public Chart WithPictorialShape(ChartPictorialShape shape) #ChartSets the built-in pictorial symbol shape and clears any custom SVG path.
Parameters
- shape ChartForgeX.Core.ChartPictorialShape
- The built-in shape used by SVG and PNG output.
Returns
The current chart.
public Chart WithPictorialSvgPath(String pathData, ChartPictorialShape pngFallbackShape = Circle) #ChartSets custom SVG path data for pictorial symbols using a 24 by 24 viewBox.
Parameters
- pathData System.String
- The SVG path data.
- pngFallbackShape ChartForgeX.Core.ChartPictorialShape = Circle
- The legacy PNG exporter's fallback shape. Prepared exports use the custom geometry.
Returns
The current chart.
public Chart WithPictorialSvgPath(String pathData, ChartRect viewBox, ChartPictorialShape pngFallbackShape = Circle) #ChartSets custom SVG path data for pictorial symbols.
Parameters
- pathData System.String
- The SVG path data.
- viewBox ChartForgeX.Primitives.ChartRect
- The SVG path viewBox used to scale the path into each symbol slot.
- pngFallbackShape ChartForgeX.Core.ChartPictorialShape = Circle
- The legacy PNG exporter's fallback shape. Prepared exports use the custom geometry.
Returns
The current chart.
public Chart WithPictorialSymbolScale(Double scale) #ChartSets the relative pictorial symbol size inside each symbol slot.
Parameters
- scale System.Double
- The symbol scale from 0.4 to 1.4.
Returns
The current chart.
public Chart WithPictorialValuePerSymbol(Double? valuePerSymbol) #ChartSets the data value represented by one full pictorial symbol.
Parameters
- valuePerSymbol System.Double?
- The value represented by one symbol. Pass null to use proportional scaling.
Returns
The current chart.
public Chart WithPictorialValues(Boolean visible = true) #ChartSets whether numeric value labels are rendered for pictorial rows.
Parameters
- visible System.Boolean = true
- True to render value labels; otherwise false.
Returns
The current chart.
public Chart WithPieOutsideLabelDistance(Double ratio) #ChartSets the side-lane distance for outside pie and donut labels as a ratio of the outer radius.
Parameters
- ratio System.Double
- The distance ratio from 0.9 to 1.8.
Returns
The current chart.
public Chart WithPieSliceLabelContent(ChartPieSliceLabelContent content) #ChartSets the text rendered for pie and donut slice data labels.
Parameters
- content ChartForgeX.Core.ChartPieSliceLabelContent
- The slice label content mode.
Returns
The current chart.
public Chart WithPieSliceLabelFormatter(Func<ChartPieSliceLabelContext, String?>? formatter) #ChartSets a custom formatter for pie and donut slice data labels.
Parameters
- formatter System.Func<ChartForgeX.Core.ChartPieSliceLabelContext, System.String?>?
- The slice label formatter. Pass null to use ChartOptions.PieSliceLabelContent.
Returns
The current chart.
public Chart WithPlainLineStyle() #ChartUses crisp single-stroke line rendering without halo or highlight layers.
public Chart WithPlotBackground(Boolean visible = true) #ChartSets whether the plot background surface should be rendered.
Parameters
- visible System.Boolean = true
- True to render the plot background; otherwise false.
Returns
The current chart.
public Chart WithPlotClipping(Boolean enabled = true) #ChartClips Cartesian series geometry to the plot, allowing the radius of markers whose centers are on its edge.
Parameters
- enabled System.Boolean = true
- Whether plot clipping is enabled.
Returns
The chart for fluent configuration.
public Chart WithPngFont(String? fontPath, Int32? collectionIndex = null, String? faceName = null) #ChartSets the preferred TrueType font file or TrueType collection used by the PNG renderer.
Parameters
- fontPath System.String?
- The path to a .ttf or .ttc font file. Pass null to use automatic PNG font discovery.
- collectionIndex System.Int32? = null
- The optional zero-based face index for .ttc font collections.
- faceName System.String? = null
- The optional family, subfamily, full, or PostScript face name to select.
Returns
The current chart.
public Chart WithPngFont(String? fontPath, String? faceName) #ChartSets the preferred PNG font and selects a face by family, subfamily, full, or PostScript name.
Parameters
- fontPath System.String?
- The path to a .ttf or .ttc font file.
- faceName System.String?
- The face name to select.
Returns
The current chart.
public Chart WithPngOutputScale(Int32 scale) #ChartSets the output pixel multiplier used by the PNG renderer.
Parameters
- scale System.Int32
- The output scale from one to four. Higher values emit larger PNG dimensions with the same logical chart layout.
Returns
The current chart.
public Chart WithPngOutputScale(ChartPngOutputScale scale) #ChartSets the output pixel multiplier used by the PNG renderer using a named density preset.
Parameters
- scale ChartForgeX.Core.ChartPngOutputScale
- The output density preset.
Returns
The current chart.
public Chart WithPngSupersampling(Int32 scale) #ChartSets the internal supersampling scale used by the PNG renderer.
Parameters
- scale System.Int32
- The supersampling scale from one to four. Higher values improve edges at the cost of render time and memory.
Returns
The current chart.
public Chart WithPointLegend(Boolean visible = true) #ChartSets whether capable legends should render one entry per visual point instead of one entry per series.
Parameters
- visible System.Boolean = true
- True to render point-level legend entries; otherwise false.
Returns
The current chart.
public Chart WithProgressBarThickness(Double ratio) #ChartSets the progress-bar thickness as a ratio of each row height.
Parameters
- ratio System.Double
- The thickness ratio from 0.16 to 0.72.
Returns
The current chart.
public Chart WithProgressHandles(Boolean visible = true) #ChartSets whether progress-bar rows should render slider handles.
Parameters
- visible System.Boolean = true
- True to render handles; otherwise false.
Returns
The current chart.
public Chart WithProgressMaximum(Double maximum) #ChartSets the shared maximum for progress-bar chart rows.
Parameters
- maximum System.Double
- The maximum progress value.
Returns
The current chart.
public Chart WithProgressRingCenterLabel(Boolean visible = true) #ChartSets whether progress-ring charts should display center average and series labels.
Parameters
- visible System.Boolean = true
- True to show center labels; otherwise false.
Returns
The current chart.
public Chart WithProgressTrackOpacity(Double opacity) #ChartSets the opacity used by progress-bar tracks.
Parameters
- opacity System.Double
- The opacity from zero to one.
Returns
The current chart.
public Chart WithProgressValues(Boolean visible = true) #ChartSets whether progress-bar rows should display value labels.
Parameters
- visible System.Boolean = true
- True to show value labels; otherwise false.
Returns
The current chart.
public Chart WithRadialGeometry(ChartRadialGeometryOptions geometry) #ChartSets geometry for numeric radial bars and columns, including column/radar compositions. Numeric bounds and formatting belong to the value axis.
Parameters
- geometry ChartForgeX.Core.ChartRadialGeometryOptions
- Immutable start/end angles, inner radius and spacing.
Returns
The current chart.
public Chart WithRadialProgressRadiusScale(Double scale) #ChartSets the relative outer radius used by progress rings and layered radial progress charts.
Parameters
- scale System.Double
- The radius scale from 0.65 to 1.35.
Returns
The current chart.
public Chart WithRadialProgressStrokeScale(Double scale) #ChartSets the relative stroke thickness used by progress rings and layered radial progress charts.
Parameters
- scale System.Double
- The stroke scale from 0.55 to 1.8.
Returns
The current chart.
public Chart WithRegionMapBounds(ChartRect bounds) #ChartSets the source-coordinate viewport used to frame region maps.
Parameters
- bounds ChartForgeX.Primitives.ChartRect
- The source coordinate bounds to render.
Returns
The current chart.
public Chart WithRegionMapCoordinateBounds(Double minimumLongitude, Double maximumLongitude, Double minimumLatitude, Double maximumLatitude) #ChartSets the longitude/latitude viewport used to frame equirectangular GeoJSON region maps.
Parameters
- minimumLongitude System.Double
- The minimum longitude in degrees.
- maximumLongitude System.Double
- The maximum longitude in degrees.
- minimumLatitude System.Double
- The minimum latitude in degrees.
- maximumLatitude System.Double
- The maximum latitude in degrees.
Returns
The current chart.
public Chart WithSecondaryYAxis(String title, Func<Double, String>? formatter = null) #ChartSets the secondary y-axis title and optional tick formatter.
Parameters
- title System.String
- The secondary y-axis title.
- formatter System.Func<System.Double, System.String>? = null
- An optional formatter for secondary y-axis ticks.
Returns
The current chart.
public Chart WithSecondaryYAxisBounds(Double minimum, Double maximum) #ChartSets explicit secondary cartesian y-axis bounds.
Parameters
- minimum System.Double
- The minimum secondary y-axis value.
- maximum System.Double
- The maximum secondary y-axis value.
Returns
The current chart.
public Chart WithSecondaryYAxisScale(ChartScaleKind scale) #ChartSets the secondary vertical scale.
Parameters
- scale ChartForgeX.Core.ChartScaleKind
public Chart WithSeriesState(String name, ChartSeriesState role) #ChartDeclares a series state independently of its display name and the categorical palette.
Parameters
- name System.String
- role ChartForgeX.Core.ChartSeriesState
public Chart WithSize(Int32 width, Int32 height) #ChartSets the rendered chart size.
Parameters
- width System.Int32
- The width in pixels.
- height System.Int32
- The height in pixels.
Returns
The current chart.
public Chart WithSparkline(Boolean enabled = true) #ChartConfigures the chart as a compact sparkline for inline dashboard and table use.
Parameters
- enabled System.Boolean = true
- True to render as a sparkline; otherwise false.
Returns
The current chart.
public Chart WithStackedBars() #ChartArranges multiple bar series as stacked segments within each category.
Returns
The current chart.
public Chart WithStackedHorizontalBars() #ChartArranges multiple horizontal bar series as stacked segments within each category.
Returns
The current chart.
public Chart WithStackTotals(Boolean visible = true) #ChartSets whether stacked bar totals should be rendered above each category.
Parameters
- visible System.Boolean = true
- True to render stacked bar totals; otherwise false.
Returns
The current chart.
public Chart WithStateCategories(IEnumerable<ChartStateCategory> states) #ChartRegisters the categorical states used by state timeline lanes and categorical heatmap cells. States keep the given order in the legend, and each state's colour is used as supplied; state colours are never taken from the series palette.
Parameters
- states System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartStateCategory>
- The states in legend order. Keys must be unique.
Returns
The current chart.
public Chart WithStateCategories(params ChartStateCategory[] states) #ChartRegisters the categorical states used by state timelines and categorical heatmaps, in legend order.
Parameters
- states ChartForgeX.Core.ChartStateCategory[]
- The states in legend order. Keys must be unique.
Returns
The current chart.
public Chart WithStateColorsPinnedInForcedColors(Boolean pin = true) #ChartKeeps state marks in their colours in forced-colours mode (see ChartOptions.PinStateColorsInForcedColors).
Parameters
- pin System.Boolean = true
- True to pin the state colours; false (the default) lets forced colours apply.
Returns
The current chart.
public Chart WithSubtitle(String subtitle) #ChartSets the chart subtitle.
Parameters
- subtitle System.String
- The chart subtitle.
Returns
The current chart.
public Chart WithSvgColorVariables(SvgColorVariables? variables) #ChartWrites mapped colours in SVG output as CSS custom properties with the literal colour as fallback, so a host page can restyle the chart from its design tokens (see SvgColorVariables and VisualDesignTokens.ToSvgColorVariables). PNG output keeps literal colours.
Parameters
- variables ChartForgeX.Themes.SvgColorVariables?
- The colour variables, or null to write literal colours.
Returns
The current chart.
public Chart WithTheme(ChartTheme theme) #ChartSets the chart theme.
Parameters
- theme ChartForgeX.Themes.ChartTheme
- The theme to use.
Returns
The current chart.
public Chart WithTickCount(Int32 count) #ChartSets the preferred number of ticks per axis.
Parameters
- count System.Int32
- The preferred tick count.
Returns
The current chart.
public Chart WithTitle(String title) #ChartSets the chart title.
Parameters
- title System.String
- The chart title.
Returns
The current chart.
public Chart WithTransparentBackground(Boolean transparent = true) #ChartSets whether the rendered background should be transparent.
Parameters
- transparent System.Boolean = true
- True to render a transparent background; otherwise false.
Returns
The current chart.
public Chart WithValueFormat(ChartValueFormat format) #ChartSets the shared numeric display policy used by value labels, totals and numeric vertical axes.
Parameters
- format ChartForgeX.Core.ChartValueFormat
public Chart WithValueFormatter(Func<Double, String>? formatter) #ChartSets a formatter used for y-axis ticks, data labels, stack totals, and donut totals.
Parameters
- formatter System.Func<System.Double, System.String>?
- The value formatter. Pass null to restore the default compact formatter.
Returns
The current chart.
public Chart WithWordCloudAngles(params Double[] angles) #ChartSets the deterministic rotation angles used by word cloud terms.
Parameters
- angles System.Double[]
- One or more angles in degrees. Terms cycle through the supplied values.
Returns
The current chart.
public Chart WithWordCloudDensity(Double density) #ChartSets the word cloud packing density from 0.5 to 2.0.
Parameters
- density System.Double
- Lower values keep more breathing room; higher values pack more terms into the plot area.
Returns
The current chart.
public Chart WithWordCloudFontRange(Double minimum, Double maximum) #ChartSets the minimum and maximum font sizes used by word cloud terms.
Parameters
- minimum System.Double
- The smallest term font size.
- maximum System.Double
- The largest term font size.
Returns
The current chart.
public Chart WithWordCloudMaximumTerms(Int32? maximumTerms) #ChartSets the optional maximum number of positive-weight terms rendered in a word cloud.
Parameters
- maximumTerms System.Int32?
- The maximum term count. Pass null to render every positive-weight term that fits.
Returns
The current chart.
public Chart WithXAxis(String title) #ChartSets the x-axis title.
Parameters
- title System.String
- The x-axis title.
Returns
The current chart.
public Chart WithXAxisBounds(Double minimum, Double maximum) #ChartSets explicit cartesian x-axis bounds.
Parameters
- minimum System.Double
- The minimum x-axis value.
- maximum System.Double
- The maximum x-axis value.
Returns
The current chart.
public Chart WithXAxisLabelAngle(Double degrees) #ChartSets the x-axis label rotation angle in degrees for capable renderers.
Parameters
- degrees System.Double
- The label angle in degrees. Values are clamped by renderers when needed.
Returns
The current chart.
public Chart WithXAxisLabelDensity(ChartLabelDensity density) #ChartSets how aggressively explicit x-axis labels should be reduced when space is limited.
Parameters
- density ChartForgeX.Core.ChartLabelDensity
- The x-axis label density mode.
Returns
The current chart.
public Chart WithXAxisScale(ChartScaleKind scale) #ChartSets the primary horizontal scale.
Parameters
- scale ChartForgeX.Core.ChartScaleKind
public Chart WithXAxisTimeScale(TimeZoneInfo? timeZone = null, Boolean showTimeZone = false, String? label = null) #ChartUses a UTC time scale on the primary horizontal axis, displayed in timeZone (UTC when null).
Parameters
- timeZone System.TimeZoneInfo? = null
- The display time zone, or null for UTC.
- showTimeZone System.Boolean = false
- Whether the x-axis title shows the zone designator.
- label System.String? = null
- An optional designator such as CET or Europe/Warsaw.
Returns
The current chart.
public Chart WithXAxisValueFormatter(Func<Double, String>? formatter) #ChartSets a formatter used for generated numeric x-axis tick labels.
Parameters
- formatter System.Func<System.Double, System.String>?
- The x-axis value formatter. Pass null to restore the default compact formatter.
Returns
The current chart.
public Chart WithXAxisVisible(Boolean visible = true) #ChartSets whether the x-axis, x tick labels, and x-axis title should be rendered when axes are enabled.
Parameters
- visible System.Boolean = true
- True to render the x-axis; otherwise false.
Returns
The current chart.
public Chart WithXDateLabels(IEnumerable<DateTime> dates, String format = "MMM d") #ChartSets x-axis labels from date/time values. Positions follow the instant rule of ChartPoint.ChartPoint (Local converted to UTC), so they line up with date/time points; for classic timeline and Gantt charts built from Local dates, pass Unspecified dates or use Chart.WithXLabels with ToOADate() values.
Parameters
- dates System.Collections.Generic.IEnumerable<System.DateTime>
- The date/time values to label.
- format System.String = "MMM d"
- The date/time format string used for labels.
Returns
The current chart.
public Chart WithXLabels(params String[] labels) #ChartSets x-axis labels for one-based x values.
Parameters
- labels System.String[]
- The labels to place at x values 1 through N.
Returns
The current chart.
public Chart WithXLabels(IEnumerable<ChartAxisLabel> labels) #ChartSets explicit x-axis labels.
Parameters
- labels System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartAxisLabel>
- The labels to render at numeric x values.
Returns
The current chart.
public Chart WithYAxis(String title) #ChartSets the y-axis title.
Parameters
- title System.String
- The y-axis title.
Returns
The current chart.
public Chart WithYAxisBounds(Double minimum, Double maximum) #ChartSets explicit cartesian y-axis bounds.
Parameters
- minimum System.Double
- The minimum y-axis value.
- maximum System.Double
- The maximum y-axis value.
Returns
The current chart.
public Chart WithYAxisLabelDensity(ChartLabelDensity density) #ChartSets how aggressively generated y-axis labels should be reduced when vertical space is limited.
Parameters
- density ChartForgeX.Core.ChartLabelDensity
- The y-axis label density mode.
Returns
The current chart.
public Chart WithYAxisScale(ChartScaleKind scale) #ChartSets the primary vertical scale.
Parameters
- scale ChartForgeX.Core.ChartScaleKind
public Chart WithYAxisVisible(Boolean visible = true) #ChartSets whether the y-axis, y tick labels, and y-axis title should be rendered when axes are enabled.
Parameters
- visible System.Boolean = true
- True to render the y-axis; otherwise false.
Returns
The current chart.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public VisualAccessibility Accessibility { get; } #Gets accessibility metadata shared by capable renderers and hosts.
public String Title { get; set; } #Gets or sets the chart title.
public String Subtitle { get; set; } #Gets or sets the chart subtitle.
public String XAxisTitle { get; set; } #Gets or sets the x-axis title.
public String YAxisTitle { get; set; } #Gets or sets the y-axis title.
public String SecondaryYAxisTitle { get; set; } #Gets or sets the secondary y-axis title.
public ChartOptions Options { get; private set; } #Gets the chart options.
public List<ChartSeries> Series { get; } #Gets the chart series.
public List<ChartAnnotation> Annotations { get; } #Gets the chart annotations.
Extension Methods
public static Chart ConfigureTheme(Chart chart, Action<ChartTheme> configure) #ChartConfigures the current chart theme in place.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- configure System.Action<ChartForgeX.Themes.ChartTheme>
- The theme customization callback.
Returns
The current chart.
public static PngFontInfo GetPngFontInfo(Chart chart) #PngFontInfoResolves the font that would be used when rendering the chart to PNG.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to inspect.
Returns
The PNG font resolution details.
public static Void Save(Chart chart, String path, RasterImageOptions? rasterOptions = null) #VoidSaves a chart using the output path extension to choose SVG, HTML, PNG, or another raster image format.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- rasterOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveBmp(Chart chart, String path, RasterImageOptions? options = null) #VoidSaves a chart as a BMP file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveHtml(Chart chart, String path) #VoidSaves a chart as a complete HTML file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
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 SavePng(Chart chart, String path) #VoidSaves a chart as a PNG file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
public static Void SavePpm(Chart chart, String path, RasterImageOptions? options = null) #VoidSaves a chart as a PPM file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveRasterImage(Chart chart, String path, RasterImageFormat format, RasterImageOptions? options = null) #VoidSaves a chart as an opaque raster image file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.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(Chart chart, String path, RasterImageOptions? options = null) #VoidSaves a chart as an opaque raster image file using the output path extension to choose the format.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveSvg(Chart chart, String path) #VoidSaves a chart as an SVG file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
public static Void SaveTiff(Chart chart, String path, RasterImageOptions? options = null) #VoidSaves a chart as a TIFF file.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- path System.String
- The output file path.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Byte[] ToBmp(Chart chart, RasterImageOptions? options = null) #Byte[]Renders a chart to BMP bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
A BMP image.
public static String ToHtmlFragment(Chart chart) #StringRenders a chart to a standalone HTML fragment containing inline SVG.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
An HTML fragment.
public static String ToHtmlFragment(Chart chart, String idScope) #StringRenders a chart to an HTML fragment with an additional deterministic ID scope.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- idScope System.String
- A caller-provided scope used to keep IDs unique when embedding equivalent fragments together.
Returns
An HTML fragment.
public static String ToHtmlPage(Chart chart) #StringRenders a chart to a complete HTML document.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
An HTML page.
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.
public static Byte[] ToPng(Chart chart) #Byte[]Renders a chart to PNG bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
A PNG image.
public static Byte[] ToPpm(Chart chart, RasterImageOptions? options = null) #Byte[]Renders a chart to PPM bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
A PPM image.
public static Byte[] ToRasterImage(Chart chart, RasterImageFormat format, RasterImageOptions? options = null) #Byte[]Renders a chart to opaque raster image bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
Encoded raster image bytes.
public static RgbaImage ToRgbaImage(Chart chart) #RgbaImageRenders a chart directly to an in-memory RGBA image without encoding it.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
The rendered RGBA image.
public static String ToSvg(Chart chart) #StringRenders a chart to SVG markup.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
Returns
SVG markup.
public static String ToSvg(Chart chart, String idScope) #StringRenders a chart to SVG markup with an additional deterministic ID scope.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- idScope System.String
- A caller-provided scope used to keep SVG element IDs unique when embedding multiple SVGs in one document.
Returns
SVG markup.
public static Byte[] ToTiff(Chart chart, RasterImageOptions? options = null) #Byte[]Renders a chart to TIFF bytes.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
A TIFF image.
public static VisualArtifact ToVisualArtifact(Chart chart, String? id = null, VisualArtifactKind kind = Chart, VisualArtifactSourceLanguage sourceLanguage = Native) #VisualArtifactWraps a ChartForgeX chart in a visual artifact envelope.
Parameters
- chart ChartForgeX.Core.Chart
- The chart model.
- id System.String? = null
- Optional stable artifact identifier.
- kind ChartForgeX.VisualArtifacts.VisualArtifactKind = Chart
- The artifact family to report.
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage = Native
- The source language that produced the chart.
Returns
A visual artifact envelope backed by the chart model.
public static Chart WithBrandKit(Chart chart, ChartBrandKit brandKit) #ChartApplies a reusable brand kit to the current chart theme.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- brandKit ChartForgeX.Themes.ChartBrandKit
- The brand kit to apply.
Returns
The current chart.
public static Chart WithPalette(Chart chart, params ChartColor[] colors) #ChartSets the default series palette on the current chart theme.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- colors ChartForgeX.Primitives.ChartColor[]
- The palette colors.
Returns
The current chart.
public static Chart WithPalette(Chart chart, params String[] colors) #ChartSets the default series palette on the current chart theme from hexadecimal color strings.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to configure.
- colors System.String[]
- The color strings in #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.
Returns
The current chart.
public static Void WriteBmp(Chart chart, Stream stream, RasterImageOptions? options = null) #VoidWrites a chart to a BMP stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void WritePpm(Chart chart, Stream stream, RasterImageOptions? options = null) #VoidWrites a chart to a PPM stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void WriteRasterImage(Chart chart, Stream stream, RasterImageFormat format, RasterImageOptions? options = null) #VoidWrites a chart to an opaque raster image stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart 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(Chart chart, Stream stream, RasterImageOptions? options = null) #VoidWrites a chart to a TIFF stream.
Parameters
- chart ChartForgeX.Core.Chart
- The chart to render.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.