IScalerProvider

Produces the Scaler an axis uses to map between data values and pixels. Assign one to ICartesianAxis.ScalerProvider to plug in a custom (for example non-linear) coordinate mapping without a UI-framework-specific axis type; every scaler the engine builds for the axis — series, gridlines, hit-testing and zoom alike — flows through it.

Interface · Namespace LiveChartsCore.Kernel.Sketches · Assembly LiveChartsCore · View source

Members

Methods

GetScaler 5 parameters

Builds a scaler for .

ICartesianAxis axis The axis to scale.

Chart chart The chart the axis belongs to. An axis can be shared by several charts, so the scaler is built per chart and a provider that keeps per-chart state must key it on this.

LvcPoint drawMarginLocation The draw margin location.

LvcSize drawMarginSize The draw margin size.

Bounds bounds Optional bounds to scale against; when null the axis' own limits are used.