LayoutSnapshot
public class LayoutSnapshotA snapshot of all layout data from ChartLayoutEngine. Use this to get layout in a specific coordinate system.
Fields
Section titled “Fields”
PlotArea
Section titled “PlotArea”public Rect PlotAreaThe plot area rectangle.
Returns
UnityEngine.Rect — No return description is available.
XAxisLabels
Section titled “XAxisLabels”public List<AxisLabelInfo> XAxisLabelsX-axis labels.
Returns
System.Collections.Generic.List{ChartGuru.AxisLabelInfo} — No return description is available.
YAxisLabels
Section titled “YAxisLabels”public List<AxisLabelInfo> YAxisLabelsY-axis labels.
Returns
System.Collections.Generic.List{ChartGuru.AxisLabelInfo} — No return description is available.
DataLabels
Section titled “DataLabels”public List<DataLabelInfo> DataLabelsData labels.
Returns
System.Collections.Generic.List{ChartGuru.DataLabelInfo} — No return description is available.
LegendLabels
Section titled “LegendLabels”public List<LegendLabelInfo> LegendLabelsLegend labels.
Returns
System.Collections.Generic.List{ChartGuru.LegendLabelInfo} — No return description is available.
ColorScaleLegend
Section titled “ColorScaleLegend”public ColorScaleLegendInfo ColorScaleLegendColor scale legend info for heatmap gradient bars.
Returns
ChartGuru.ColorScaleLegendInfo — No return description is available.
XAxisTitle
Section titled “XAxisTitle”public AxisTitleInfo XAxisTitleX-axis title.
Returns
ChartGuru.AxisTitleInfo — No return description is available.
YAxisTitle
Section titled “YAxisTitle”public AxisTitleInfo YAxisTitleY-axis title.
Returns
ChartGuru.AxisTitleInfo — No return description is available.
CoordinateSystem
Section titled “CoordinateSystem”public CoordinateSystem CoordinateSystemThe coordinate system these positions are in.
Returns
ChartGuru.CoordinateSystem — No return description is available.
BarLayout
Section titled “BarLayout”public BarLayoutParams BarLayoutBar layout parameters (for bar charts).
Returns
ChartGuru.BarLayoutParams — No return description is available.
public List<BarGeometry> BarsIndividual bar geometries.
Returns
System.Collections.Generic.List{ChartGuru.BarGeometry} — No return description is available.
PieLayout
Section titled “PieLayout”public PieLayoutParams PieLayoutPie layout parameters (for pie/donut charts).
Returns
ChartGuru.PieLayoutParams — No return description is available.
Sectors
Section titled “Sectors”public List<SectorGeometry> SectorsIndividual sector geometries.
Returns
System.Collections.Generic.List{ChartGuru.SectorGeometry} — No return description is available.
LineLayout
Section titled “LineLayout”public LineLayoutParams LineLayoutLine layout parameters (for line/area charts).
Returns
ChartGuru.LineLayoutParams — No return description is available.
Points
Section titled “Points”public List<PointGeometry> PointsIndividual point geometries.
Returns
System.Collections.Generic.List{ChartGuru.PointGeometry} — No return description is available.
Candles
Section titled “Candles”public List<CandleGeometry> CandlesIndividual candlestick geometries.
Returns
System.Collections.Generic.List{ChartGuru.CandleGeometry} — No return description is available.
ResolvedXLabelRotation
Section titled “ResolvedXLabelRotation”public LabelRotation ResolvedXLabelRotationResolved X-axis label rotation chosen by the layout engine (Auto when no labels were computed). Consumers rendering the labels should honor this so inset offsets baked into XAxisLabels match the rendered glyph rotation.
Returns
ChartGuru.LabelRotation — No return description is available.
ResolvedLegendPosition
Section titled “ResolvedLegendPosition”public LegendPosition ResolvedLegendPositionLegend position after Automatic resolution. When the configured position is Automatic this is Bottom for multi-series charts or Hidden otherwise.
Returns
ChartGuru.LegendPosition — No return description is available.