Skip to content

LayoutSnapshot

ClassChartGuruChartGuru
public class LayoutSnapshot

A snapshot of all layout data from ChartLayoutEngine. Use this to get layout in a specific coordinate system.

public Rect PlotArea

The plot area rectangle.

Returns

UnityEngine.Rect — No return description is available.

public List<AxisLabelInfo> XAxisLabels

X-axis labels.

Returns

System.Collections.Generic.List{ChartGuru.AxisLabelInfo} — No return description is available.

public List<AxisLabelInfo> YAxisLabels

Y-axis labels.

Returns

System.Collections.Generic.List{ChartGuru.AxisLabelInfo} — No return description is available.

public List<DataLabelInfo> DataLabels

Data labels.

Returns

System.Collections.Generic.List{ChartGuru.DataLabelInfo} — No return description is available.

public List<LegendLabelInfo> LegendLabels

Legend labels.

Returns

System.Collections.Generic.List{ChartGuru.LegendLabelInfo} — No return description is available.

public ColorScaleLegendInfo ColorScaleLegend

Color scale legend info for heatmap gradient bars.

Returns

ChartGuru.ColorScaleLegendInfo — No return description is available.

public AxisTitleInfo XAxisTitle

X-axis title.

Returns

ChartGuru.AxisTitleInfo — No return description is available.

public AxisTitleInfo YAxisTitle

Y-axis title.

Returns

ChartGuru.AxisTitleInfo — No return description is available.

public CoordinateSystem CoordinateSystem

The coordinate system these positions are in.

Returns

ChartGuru.CoordinateSystem — No return description is available.

public BarLayoutParams BarLayout

Bar layout parameters (for bar charts).

Returns

ChartGuru.BarLayoutParams — No return description is available.

public List<BarGeometry> Bars

Individual bar geometries.

Returns

System.Collections.Generic.List{ChartGuru.BarGeometry} — No return description is available.

public PieLayoutParams PieLayout

Pie layout parameters (for pie/donut charts).

Returns

ChartGuru.PieLayoutParams — No return description is available.

public List<SectorGeometry> Sectors

Individual sector geometries.

Returns

System.Collections.Generic.List{ChartGuru.SectorGeometry} — No return description is available.

public LineLayoutParams LineLayout

Line layout parameters (for line/area charts).

Returns

ChartGuru.LineLayoutParams — No return description is available.

public List<PointGeometry> Points

Individual point geometries.

Returns

System.Collections.Generic.List{ChartGuru.PointGeometry} — No return description is available.

public List<CandleGeometry> Candles

Individual candlestick geometries.

Returns

System.Collections.Generic.List{ChartGuru.CandleGeometry} — No return description is available.

public LabelRotation ResolvedXLabelRotation

Resolved 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.

public LegendPosition ResolvedLegendPosition

Legend 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.