Skip to content

CandleGeometry

StructChartGuruChartGuru
public struct CandleGeometry

Screen-space geometry for a single candlestick.

public Rect BodyRect

Body rectangle in screen space.

Returns

UnityEngine.Rect

public Rect WickRect

Wick rectangle in screen space.

Returns

UnityEngine.Rect

public float CenterX

Horizontal center of the candle.

Returns

System.Single

public int MarkIndex

Mark index this candle represents.

Returns

System.Int32

public int SeriesIndex

Series index this candle belongs to.

Returns

System.Int32

public Color Color

Body/wick color.

Returns

UnityEngine.Color

public float Open

Open value.

Returns

System.Single

public float Close

Close value.

Returns

System.Single

public float High

High value.

Returns

System.Single

public float Low

Low value.

Returns

System.Single

public float CornerRadius

Corner radius of the candle body.

Returns

System.Single

public bool IsBullish

Whether the candle is bullish.

Returns

System.Boolean