FinancialLayout

Final per-frame geometry of a single candle, returned from MeasureFinancialLayout. The candle body spans (X, Y=high) → (X+Width, Low); Open / Close are intermediate pixel-Y values bounded by High (smallest) and Low (largest) since the Y axis grows downward.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType FinancialLayout

Members

Properties

X Single
Body left edge.
Y Single
High pixel-Y (top of the candle's vertical extent).
Width Single
Candle body width.
Open Single
Open pixel-Y.
Close Single
Close pixel-Y.
Low Single
Low pixel-Y (bottom of the candle's vertical extent).
IsBullish Boolean
True when the close value is greater than the open value.
CategoryHoverX Single
Category-wide hover-area top-left X (centered on the category, ignores MaxBarWidth clamp).
CategoryHoverWidth Single
Category-wide hover-area width (axis unit-width, used when FindingStrategy != ExactMatch).
Height Single
Total vertical extent in pixels (Low - Y, since Y axis grows down).

Constructors

FinancialLayout 9 parameters

Initializes a new instance of FinancialLayout.

Single x Body left edge (secondary - half-width).

Single y High pixel-Y (top of the candle).

Single width Candle body width.

Single open Open pixel-Y.

Single close Close pixel-Y.

Single low Low pixel-Y (bottom of the candle).

Boolean isBullish True when the candle is bullish (close value > open value). In pixel-Y space — where lower Y means higher value — this is open > close. Drives which paint pair (Up* vs Down*) the visual attaches to.

Single categoryHoverX Category-wide hover rect X (centered on the category, ignores MaxBarWidth clamp).

Single categoryHoverWidth Category-wide hover rect width (axis unit-width, not clamped to MaxBarWidth).