BarMeasureContext

Bundle of per-Invalidate state shared between the template-method orchestration on BarSeries and the per-orientation MeasureBarLayout hook. Ref struct so passing it by in to hooks costs nothing and the contents cannot accidentally escape into a longer-lived closure.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType BarMeasureContext

Members

Properties

Chart CartesianChartEngine
The chart engine.
PrimaryAxis ICartesianAxis
The axis carrying value (primary direction).
SecondaryAxis ICartesianAxis
The axis carrying category (secondary direction).
PrimaryScale Scaler
Scaler for value-direction pixels in the current frame.
SecondaryScale Scaler
Scaler for category-direction pixels in the current frame.
PreviousPrimaryScale Scaler
Scaler for value-direction pixels in the previous frame (animation source).
PreviousSecondaryScale Scaler
Scaler for category-direction pixels in the previous frame.
Helper BarMeasureHelper
Bar position primitives for the current frame.
PreviousHelper BarMeasureHelper
Bar position primitives for the previous frame (animation source).
Stacker StackPosition
Stack-position context when the series is stacked; otherwise null.
IsFirstDraw Boolean
True if this is the first draw of the series — controls animation source.
HasSvg Boolean
True if the visual carries a variable SVG path.
DrawLocation LvcPoint
Top-left of the draw margin region in chart pixel coordinates.
DrawMarginSize LvcSize
Size of the draw margin region.
Rx Single
Pre-cast Rx corner radius.
Ry Single
Pre-cast Ry corner radius.
DataLabelsSize Single
Pre-cast data-label text size.

Constructors

BarMeasureContext 17 parameters

Initializes a new instance of BarMeasureContext.

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*

BarMeasureHelper helper *summary not found*

BarMeasureHelper previousHelper *summary not found*

StackPosition stacker *summary not found*

Boolean isFirstDraw *summary not found*

Boolean hasSvg *summary not found*

LvcPoint drawLocation *summary not found*

LvcSize drawMarginSize *summary not found*

Single rx *summary not found*

Single ry *summary not found*

Single dataLabelsSize *summary not found*