Scaler
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Measure

Summary:
Defines the scaler class, this class helps to scale from the data scale to the user interface scale and vise versa.

Inheritance:
Object =>
Scaler

Constructors

// Initializes a new instance of the Scaler class.
LvcPoint drawMarginLocation, // The draw margin location.
LvcSize drawMarginSize, // Size of the draw margin.
ICartesianAxis axis, // The axis.
Bounds bounds// Indicates the bounds to use.
)

Methods

// Converts a given value (in chart values) to pixels.
Double value// The value in chart values.
)
// Converts a given value (in pixels) to chart values.
Double pixels// The value in pixels.
)
// Measures an absolute value in pixels.
Double value// The value.
)