FinancialMeasureContext

Bundle of per-Invalidate state shared between the template-method orchestration on CoreFinancialSeries and the per-point MeasureFinancialLayout hook.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType FinancialMeasureContext

Members

Properties

Chart CartesianChartEngine
The chart engine.
PrimaryAxis ICartesianAxis
Primary (Y) axis = value axis for financial.
SecondaryAxis ICartesianAxis
Secondary (X) axis = time axis for financial.
PrimaryScale Scaler
Y-axis pixel scaler for the current frame.
SecondaryScale Scaler
X-axis pixel scaler for the current frame.
PreviousPrimaryScale Scaler
Y-axis pixel scaler for the previous frame; null on first draw.
PreviousSecondaryScale Scaler
X-axis pixel scaler for the previous frame; null on first draw.
CandleWidth Single
Candle body width in pixels (clamped to MaxBarWidth).
PreviousCandleWidth Single
Previous-frame candle width (animation source).
HalfCandleWidth Single
Half the candle width (precomputed centering offset).
CategoryWidth Single
Axis-unit slot width in pixels (unclamped by MaxBarWidth). Used for the category-wide hover area.
TooltipPosition TooltipPosition
Tooltip anchor position resolved from the chart at the start of measure.
IsFirstDraw Boolean
True if this is the first draw of the series.
DrawLocation LvcPoint
Top-left of the draw margin region in chart pixel coordinates.
DrawMarginSize LvcSize
Size of the draw margin region.
DataLabelsSize Single
Pre-cast data-label text size.

Constructors

FinancialMeasureContext 16 parameters

Initializes a new instance of FinancialMeasureContext.

CartesianChartEngine chart *summary not found*

ICartesianAxis primaryAxis *summary not found*

ICartesianAxis secondaryAxis *summary not found*

Scaler primaryScale *summary not found*

Scaler secondaryScale *summary not found*

Scaler previousPrimaryScale *summary not found*

Scaler previousSecondaryScale *summary not found*

Single candleWidth *summary not found*

Single previousCandleWidth *summary not found*

Single halfCandleWidth *summary not found*

Single categoryWidth *summary not found*

TooltipPosition tooltipPosition *summary not found*

Boolean isFirstDraw *summary not found*

LvcPoint drawLocation *summary not found*

LvcSize drawMarginSize *summary not found*

Single dataLabelsSize *summary not found*