Skip to content

BarGeometry

StructChartGuruChartGuru
public struct BarGeometry

Screen-space geometry for a single bar.

public float X

X position of bar left edge.

Returns

System.Single — No return description is available.

public float Y

Y position of bar bottom (Cartesian) or top (GUI).

Returns

System.Single — No return description is available.

public float Width

Width of the bar.

Returns

System.Single — No return description is available.

public float Height

Height of the bar.

Returns

System.Single — No return description is available.

public int MarkIndex

Mark index this bar represents.

Returns

System.Int32 — No return description is available.

public int SeriesIndex

Series index this bar belongs to.

Returns

System.Int32 — No return description is available.

public int DataPointIndex

Data point index within the series.

Returns

System.Int32 — No return description is available.

public Color Color

Color of the bar.

Returns

UnityEngine.Color — No return description is available.

public float Value

Data value this bar represents.

Returns

System.Single — No return description is available.

public bool IsNegative

Whether this bar represents a negative value.

Returns

System.Boolean — No return description is available.

public float CornerRadius

Corner radius for rounded bars.

Returns

System.Single — No return description is available.

public bool IsLeftmostOrBottommost

Whether this is the leftmost bar in a horizontal stack (or bottommost in vertical).

Returns

System.Boolean — No return description is available.

public bool IsRightmostOrTopmost

Whether this is the rightmost bar in a horizontal stack (or topmost in vertical).

Returns

System.Boolean — No return description is available.