AxisMeasureContext

Bundle of per-Invalidate state shared between the orchestration on CoreAxis and the per-separator helpers. Ref struct so passing by in costs nothing and the contents cannot escape into a longer-lived closure.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType AxisMeasureContext

Members

Properties

Chart CartesianChartEngine
The chart engine.
Scale Scaler
Next-frame pixel scaler (target of any in-flight transition).
ActualScale Scaler
Current-frame pixel scaler (source of any in-flight transition); falls back to AxisMeasureContext.Scale when no transition is active.
Labeler Func<Double, String>
Resolved labeler (honors Labels dictionary override before the user's Labeler).
DrawLocation LvcPoint
Top-left of the draw margin region.
DrawMarginSize LvcSize
Size of the draw margin region.
ControlSize LvcSize
Full control size (used to position the axis line at Start/End).
LeftX Single
Left edge of the draw margin region (pixel).
RightX Single
Right edge of the draw margin region (pixel).
TopY Single
Top edge of the draw margin region (pixel).
BottomY Single
Bottom edge of the draw margin region (pixel).
OffsetX Single
X offset of the axis line (zero for an X axis; resolved from Position + control size for a Y axis).
OffsetY Single
Y offset of the axis line (zero for a Y axis; resolved from Position + control size for an X axis).
LabelTextSize Single
Pre-cast label TextSize.
LabelsRotation Single
Pre-cast label rotation (in degrees).
HasRotation Boolean
True when AxisMeasureContext.LabelsRotation is non-negligible (|r| > 0.01).
HasActivePaint Boolean
True when at least one paint (Name, Separators, Labels, Ticks, Subticks, Subseparators) is configured to draw — gates the membership of separators in the "measured" set.
Min Double
Effective axis minimum (MinLimit override or visible data bounds).
Max Double
Effective axis maximum (MaxLimit override or visible data bounds).
Step Double
Tick step (snapped to MinStep floor and ForceStepToMin where applicable).
Start Double
First separator value (largest multiple of AxisMeasureContext.Step not greater than AxisMeasureContext.Min).
TicksXOffset Single
Half-unit-width X offset applied to tick positions when TicksAtCenter is false (X axis only).
TicksYOffset Single
Half-unit-width Y offset applied to tick positions when TicksAtCenter is false (Y axis only).
SeparatorsXOffset Single
Half-unit-width X offset applied to separator positions when SeparatorsAtCenter is false (X axis only).
SeparatorsYOffset Single
Half-unit-width Y offset applied to separator positions when SeparatorsAtCenter is false (Y axis only).
Orientation AxisOrientation
X or Y orientation of this axis.

Constructors

AxisMeasureContext 26 parameters

Initializes a new instance of AxisMeasureContext.

CartesianChartEngine chart *summary not found*

Scaler scale *summary not found*

Scaler actualScale *summary not found*

Func<Double, String> labeler *summary not found*

LvcPoint drawLocation *summary not found*

LvcSize drawMarginSize *summary not found*

LvcSize controlSize *summary not found*

Single lxi *summary not found*

Single lxj *summary not found*

Single lyi *summary not found*

Single lyj *summary not found*

Single xoo *summary not found*

Single yoo *summary not found*

Single labelTextSize *summary not found*

Single labelsRotation *summary not found*

Boolean hasRotation *summary not found*

Boolean hasActivePaint *summary not found*

Double min *summary not found*

Double max *summary not found*

Double step *summary not found*

Double start *summary not found*

Single ticksXOffset *summary not found*

Single ticksYOffset *summary not found*

Single separatorsXOffset *summary not found*

Single separatorsYOffset *summary not found*

AxisOrientation orientation *summary not found*