Class ChartTransform
Class implementation for Chartransform
Inheritance
System.Object
ChartTransform
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public static class ChartTransform
Methods
CoefficientToVector(Double)
Return point values from the given values
Declaration
public static Point CoefficientToVector(double coefficient)
Parameters
Type | Name | Description |
---|---|---|
System.Double | coefficient |
Returns
Type |
---|
System.Windows.Point |
CreateCartesian(Size, ChartAxis, ChartAxis)
Creates the Cartesian transformer.
Declaration
public static IChartTransformer CreateCartesian(Size viewport, ChartAxis xAxis, ChartAxis yAxis)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | viewport | The viewport. |
ChartAxis | xAxis | The x axis. |
ChartAxis | yAxis | The y axis. |
Returns
Type | Description |
---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | The Cartesian Transformer |
CreateCartesian(Size, ChartSeriesBase)
Creates the Cartesian transformer.
Declaration
public static IChartTransformer CreateCartesian(Size viewport, ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | viewport | The viewport. |
ChartSeriesBase | series | The series. |
Returns
Type | Description |
---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | The Cartesian Transformer |
CreatePolar(Rect, ChartSeriesBase)
Creates the polar.
Declaration
public static IChartTransformer CreatePolar(Rect viewport, ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | viewport | The viewport. |
ChartSeriesBase | series | The series. |
Returns
Type | Description |
---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | The Polar Transformer |
CreateSimple(Size)
Creates the Cartesian transformer.
Declaration
public static IChartTransformer CreateSimple(Size viewport)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | viewport | The viewport. |
Returns
Type | Description |
---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | The Chart Transformer |
CreateSimple3D(Size)
Creates the Cartesian transformer.
Declaration
public static IChartTransformer CreateSimple3D(Size viewPort)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | viewPort | The viewport. |
Returns
Type | Description |
---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | The Chart Transformer |
PointToPolarRadian(Point, Double)
Return the Radian Value of Polar/Radar chart Mouse point
Declaration
public static double PointToPolarRadian(Point point, double center)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | point | |
System.Double | center |
Returns
Type |
---|
System.Double |
RadianToPolarCoefficient(Double)
Return the Polar/Radar type Axis Coefficient Value from the given radian value
Declaration
public static double RadianToPolarCoefficient(double radian)
Parameters
Type | Name | Description |
---|---|---|
System.Double | radian |
Returns
Type |
---|
System.Double |
ValueToVector(ChartAxis, Double)
Values to vector.
Declaration
public static Point ValueToVector(ChartAxis axis, double value)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | axis | The axis value. |
System.Double | value | The value. |
Returns
Type | Description |
---|---|
System.Windows.Point | The vector value |