Skip to content

DataLabelInfo

StructChartGuruChartGuru
public struct DataLabelInfo

Information about a data label for external text rendering.

public Vector2 Position

Screen position where the label should be drawn.

Returns

UnityEngine.Vector2 — No return description is available.

public float Value

The numeric value to display.

Returns

System.Single — No return description is available.

public int MarkIndex

Index of the mark this label belongs to.

Returns

System.Int32 — No return description is available.

public int SeriesIndex

Index of the series this label belongs to.

Returns

System.Int32 — No return description is available.

public Color Color

Color associated with this data point.

Returns

UnityEngine.Color — No return description is available.

public string Text

Formatted text representation of the value.

Returns

System.String — No return description is available.

public DataLabelPosition LabelPosition

Position of the label relative to the data point (Above, Below, Center, Left, Right).

Returns

ChartGuru.DataLabelPosition — No return description is available.

public bool HasLeaderLine

True when this label should render an external leader line.

Returns

System.Boolean — No return description is available.

public Vector2 LeaderLineStart

Leader line start point, usually on the source mark edge.

Returns

UnityEngine.Vector2 — No return description is available.

public Vector2 LeaderLineElbow

Leader line elbow point between the source mark and label.

Returns

UnityEngine.Vector2 — No return description is available.

public Vector2 LeaderLineEnd

Leader line end point, before the label text anchor.

Returns

UnityEngine.Vector2 — No return description is available.