LegendLabelInfo
public struct LegendLabelInfoInformation about a legend label for external text rendering.
Fields
Section titled “Fields”
Position
Section titled “Position”public Vector2 PositionScreen position where the label text should be drawn.
Returns
UnityEngine.Vector2
SwatchPosition
Section titled “SwatchPosition”public Vector2 SwatchPositionPosition of the color swatch.
Returns
UnityEngine.Vector2
public string TextText to display.
Returns
System.String
public Color ColorColor of the series/item.
Returns
UnityEngine.Color
Gradient
Section titled “Gradient”public LinearGradientStyle GradientOptional borrowed gradient shown in the legend swatch. Treat as read-only.
Returns
ChartGuru.LinearGradientStyle
SeriesIndex
Section titled “SeriesIndex”public int SeriesIndexSeries index for this legend entry.
Returns
System.Int32
SwatchShape
Section titled “SwatchShape”public SymbolShape SwatchShapeOptional filled symbol shape used for legend swatches.
Returns
ChartGuru.SymbolShape