ScatterLayout

The final per-frame geometry of a single scatter marker, returned from MeasureScatterLayout. The marker is centered on (DataX, DataY); the rect's top-left is offset by half the geometry size so the centered hover area + visual line up.

Struct · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object ValueType ScatterLayout

Members

Properties

X Single
Visual rect top-left X.
Y Single
Visual rect top-left Y.
Width Single
Marker width.
Height Single
Marker height.
DataX Single
Pixel X of the data point (marker geometric center).
DataY Single
Pixel Y of the data point (marker geometric center).

Constructors

ScatterLayout 6 parameters

Initializes a new instance of ScatterLayout.

Single x Visual rect top-left X (marker center X minus half-size).

Single y Visual rect top-left Y.

Single width Marker geometry width.

Single height Marker geometry height.

Single dataX Data-point pixel X (marker center).

Single dataY Data-point pixel Y (marker center).