BarLayout

The final per-frame geometry of a single bar, returned from MeasureBarLayout. Carries enough information for the orchestration template in BarSeries.Invalidate to position the visual, configure the hover area and place the data label without any further orientation knowledge.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType BarLayout

Members

Properties

X Single
Visual rect X.
Y Single
Visual rect Y.
Width Single
Visual rect width.
Height Single
Visual rect height.
CategoryHoverX Single
Category-wide hover rect X (used when FindingStrategy != ExactMatch).
CategoryHoverY Single
Category-wide hover rect Y.
CategoryHoverWidth Single
Category-wide hover rect width.
CategoryHoverHeight Single
Category-wide hover rect height.

Constructors

BarLayout 8 parameters

Initializes a new instance of BarLayout.

Single x Visual rect X.

Single y Visual rect Y.

Single width Visual rect width.

Single height Visual rect height.

Single categoryHoverX Category-wide hover rect X (for non-ExactMatch finding).

Single categoryHoverY Category-wide hover rect Y.

Single categoryHoverWidth Category-wide hover rect width.

Single categoryHoverHeight Category-wide hover rect height.