BarMeasureHelper

Computes the per-series bar-position primitives (unit-width, half-unit-width, center-position, pivot pixel) for a bar-shaped series in a single frame. Promoted from a nested type on BarSeries to a top-level type so the template-method orchestration in BarSeries.Invalidate can pass it via BarMeasureContext to per-point hooks without bumping into nested-generic visibility.

Class · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object BarMeasureHelper

Members

Constructors

BarMeasureHelper 9 parameters

Initializes a new instance of BarMeasureHelper.

Scaler scaler The scaler for the axis carrying bar position.

CartesianChartEngine cartesianChart The chart.

IBarSeries barSeries The series.

ICartesianAxis axis The axis the helper measures against.

Single p The pivot pixel.

Single minP The minimum allowed pivot pixel (drawn-margin lower edge).

Single maxP The maximum allowed pivot pixel (drawn-margin upper edge).

Boolean isStacked Whether the series is stacked.

Boolean isRow Whether the series is horizontal (row-shaped).