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

public Vector2 SwatchPosition

Position of the color swatch.

Returns

UnityEngine.Vector2

public string Text

Text to display.

Returns

System.String

public Color Color

Color of the series/item.

Returns

UnityEngine.Color

public LinearGradientStyle Gradient

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

Returns

ChartGuru.LinearGradientStyle

public int SeriesIndex

Series index for this legend entry.

Returns

System.Int32

public SymbolShape SwatchShape

Optional filled symbol shape used for legend swatches.

Returns

ChartGuru.SymbolShape