PolarScaler

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

Class · Namespace LiveChartsCore.Measure · Assembly LiveChartsCore · View source

Inheritance

Object PolarScaler

Members

Properties

CenterX Single
Gets the center in the X axis.
CenterY Single
Gets the center in the Y axis.
InnerRadius Double
Gets the inner radius.
MaxRadius Double
Gets the max radius in chart values scale.
MinRadius Double
Gets the min radius in chart values scale.
MinAngle Double
Gets the max angle.
MaxAngle Double
Gets the min angle.

Methods

ToPixels 1 parameter

Converts to pixels.

ChartPoint polarPoint The polar point.

ToPixels 2 parameters

Converts to pixels.

Double angle The angle in chart values scale.

Double radius The radius in chart values.

ToChartValues 2 parameters

Converts to chart values.

Double x The x coordinate in pixels.

Double y The y coordinate in pixels.

ToPixelsWithAngleInDegrees 2 parameters

Converts to pixels.

Double angle The angle in degrees.

Double radius The radius.

GetAngle 1 parameter

Converts to degrees the given angle in chart values.

Double angle The angle in chart values.

Constructors

PolarScaler 8 parameters

Initializes a new instance of the PolarScaler class.

LvcPoint drawMarginLocation The draw margin location.

LvcSize drawMarginSize Size of the draw margin.

IPolarAxis angleAxis The radius axis.

IPolarAxis radiusAxis The angle axis.

Single innerRadius The inner radius.

Single initialRotation The initial rotation.

Single totalAngle The total angle.

Boolean usePreviousScale Indicates if the scaler should be built based on the previous known data.