Skip to content

LegendLabelInfo

StructChartGuruChartGuru
public struct LegendLabelInfo

Information about a legend label for external text rendering.

public Vector2 Position

Screen position where the label text should be drawn.

Returns

UnityEngine.Vector2 — No return description is available.

public Vector2 SwatchPosition

Position of the color swatch.

Returns

UnityEngine.Vector2 — No return description is available.

public string Text

Text to display.

Returns

System.String — No return description is available.

public Color Color

Color of the series/item.

Returns

UnityEngine.Color — No return description is available.

public LinearGradientStyle Gradient

Optional borrowed gradient shown in the legend swatch. Treat as read-only.

Returns

ChartGuru.LinearGradientStyle — No return description is available.

public int SeriesIndex

Series index for this legend entry.

Returns

System.Int32 — No return description is available.

public SymbolShape SwatchShape

Optional filled symbol shape used for legend swatches.

Returns

ChartGuru.SymbolShape — No return description is available.