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
XAxisLabels
Section titled “XAxisLabels”public List<AxisLabelInfo> XAxisLabelsX-axis labels.
Returns
System.Collections.Generic.List{ChartGuru.AxisLabelInfo}
YAxisLabels
Section titled “YAxisLabels”public List<AxisLabelInfo> YAxisLabelsY-axis labels.
Returns
System.Collections.Generic.List{ChartGuru.AxisLabelInfo}
DataLabels
Section titled “DataLabels”public List<DataLabelInfo> DataLabelsData labels.
Returns
System.Collections.Generic.List{ChartGuru.DataLabelInfo}
LegendLabels
Section titled “LegendLabels”public List<LegendLabelInfo> LegendLabelsLegend labels.
Returns
System.Collections.Generic.List{ChartGuru.LegendLabelInfo}
ColorScaleLegend
Section titled “ColorScaleLegend”public ColorScaleLegendInfo ColorScaleLegendColor scale legend info for heatmap gradient bars.
Returns
ChartGuru.ColorScaleLegendInfo
XAxisTitle
Section titled “XAxisTitle”public AxisTitleInfo XAxisTitleX-axis title.
Returns
ChartGuru.AxisTitleInfo
YAxisTitle
Section titled “YAxisTitle”public AxisTitleInfo YAxisTitleY-axis title.
Returns
ChartGuru.AxisTitleInfo
CoordinateSystem
Section titled “CoordinateSystem”public CoordinateSystem CoordinateSystemThe coordinate system these positions are in.
Returns
ChartGuru.CoordinateSystem
BarLayout
Section titled “BarLayout”public BarLayoutParams BarLayoutBar layout parameters (for bar charts).
Returns
ChartGuru.BarLayoutParams
public List<BarGeometry> BarsIndividual bar geometries.
Returns
System.Collections.Generic.List{ChartGuru.BarGeometry}
PieLayout
Section titled “PieLayout”public PieLayoutParams PieLayoutPie layout parameters (for pie/donut charts).
Returns
ChartGuru.PieLayoutParams
Sectors
Section titled “Sectors”public List<SectorGeometry> SectorsIndividual sector geometries.
Returns
System.Collections.Generic.List{ChartGuru.SectorGeometry}
LineLayout
Section titled “LineLayout”public LineLayoutParams LineLayoutLine layout parameters (for line/area charts).
Returns
ChartGuru.LineLayoutParams
Points
Section titled “Points”public List<PointGeometry> PointsIndividual point geometries.
Returns
System.Collections.Generic.List{ChartGuru.PointGeometry}
Candles
Section titled “Candles”public List<CandleGeometry> CandlesIndividual candlestick geometries.
Returns
System.Collections.Generic.List{ChartGuru.CandleGeometry}
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
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
Constructors
Section titled “Constructors”
LayoutSnapshot()
Section titled “LayoutSnapshot()”public LayoutSnapshot()