BoxMeasureContext

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

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType BoxMeasureContext

Members

Properties

Chart CartesianChartEngine
The chart engine.
PrimaryAxis ICartesianAxis
Primary (Y) value axis.
SecondaryAxis ICartesianAxis
Secondary (X) category axis.
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.
Helper BoxMeasureHelper
Per-series box position primitives (uw, uwm, cp, p, actualUw).
CategoryUnitWidth Single
Raw axis unit-width in pixels (pre-MaxBarWidth clamp).
PreviousCategoryUnitWidth Single
Previous-frame raw axis unit-width.
HalfCategoryUnitWidth Single
Half the raw axis unit-width.
TooltipPosition TooltipPosition
Tooltip anchor position resolved from the chart.
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

BoxMeasureContext 16 parameters

Initializes a new instance of BoxMeasureContext.

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*

BoxMeasureHelper helper *summary not found*

Single categoryUnitWidth *summary not found*

Single previousCategoryUnitWidth *summary not found*

Single halfCategoryUnitWidth *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*