DataLabelInfo
public struct DataLabelInfoInformation about a data label for external text rendering.
Fields
Section titled “Fields”
Position
Section titled “Position”public Vector2 PositionScreen position where the label should be drawn.
Returns
UnityEngine.Vector2 — No return description is available.
public float ValueThe numeric value to display.
Returns
System.Single — No return description is available.
MarkIndex
Section titled “MarkIndex”public int MarkIndexIndex of the mark this label belongs to.
Returns
System.Int32 — No return description is available.
SeriesIndex
Section titled “SeriesIndex”public int SeriesIndexIndex of the series this label belongs to.
Returns
System.Int32 — No return description is available.
public Color ColorColor associated with this data point.
Returns
UnityEngine.Color — No return description is available.
public string TextFormatted text representation of the value.
Returns
System.String — No return description is available.
LabelPosition
Section titled “LabelPosition”public DataLabelPosition LabelPositionPosition of the label relative to the data point (Above, Below, Center, Left, Right).
Returns
ChartGuru.DataLabelPosition — No return description is available.
HasLeaderLine
Section titled “HasLeaderLine”public bool HasLeaderLineTrue when this label should render an external leader line.
Returns
System.Boolean — No return description is available.
LeaderLineStart
Section titled “LeaderLineStart”public Vector2 LeaderLineStartLeader line start point, usually on the source mark edge.
Returns
UnityEngine.Vector2 — No return description is available.
LeaderLineElbow
Section titled “LeaderLineElbow”public Vector2 LeaderLineElbowLeader line elbow point between the source mark and label.
Returns
UnityEngine.Vector2 — No return description is available.
LeaderLineEnd
Section titled “LeaderLineEnd”public Vector2 LeaderLineEndLeader line end point, before the label text anchor.
Returns
UnityEngine.Vector2 — No return description is available.