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
public float ValueThe numeric value to display.
Returns
System.Single
MarkIndex
Section titled “MarkIndex”public int MarkIndexIndex of the mark this label belongs to.
Returns
System.Int32
SeriesIndex
Section titled “SeriesIndex”public int SeriesIndexIndex of the series this label belongs to.
Returns
System.Int32
public Color ColorColor associated with this data point.
Returns
UnityEngine.Color
public string TextFormatted text representation of the value.
Returns
System.String
LabelPosition
Section titled “LabelPosition”public DataLabelPosition LabelPositionPosition of the label relative to the data point (Above, Below, Center, Left, Right).
Returns
ChartGuru.DataLabelPosition
HasLeaderLine
Section titled “HasLeaderLine”public bool HasLeaderLineTrue when this label should render an external leader line.
Returns
System.Boolean
LeaderLineStart
Section titled “LeaderLineStart”public Vector2 LeaderLineStartLeader line start point, usually on the source mark edge.
Returns
UnityEngine.Vector2
LeaderLineElbow
Section titled “LeaderLineElbow”public Vector2 LeaderLineElbowLeader line elbow point between the source mark and label.
Returns
UnityEngine.Vector2
LeaderLineEnd
Section titled “LeaderLineEnd”public Vector2 LeaderLineEndLeader line end point, before the label text anchor.
Returns
UnityEngine.Vector2