Class ChartTransform.ChartCartesianTransformer
Represents ChartCartesianTransformer
Inheritance
System.Object
ChartTransform.ChartCartesianTransformer
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class ChartCartesianTransformer : Object, IChartTransformer
Constructors
ChartCartesianTransformer(Size, ChartAxis, ChartAxis)
Initializes a new instance of the ChartTransform.ChartCartesianTransformer class.
Declaration
public ChartCartesianTransformer(Size viewport, ChartAxis xAxis, ChartAxis yAxis)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | viewport | The viewport. |
ChartAxis | xAxis | The x axis. |
ChartAxis | yAxis | The y axis. |
ChartCartesianTransformer(Size, ChartSeriesBase)
Initializes a new instance of the ChartTransform.ChartCartesianTransformer class.
Declaration
public ChartCartesianTransformer(Size viewport, ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | viewport | The viewport. |
ChartSeriesBase | series | The series. |
Fields
XAxis
Initializes m_xAxis
Declaration
public ChartAxis XAxis
Field Value
Type |
---|
ChartAxis |
YAxis
Initializes m_yAxis
Declaration
public ChartAxis YAxis
Field Value
Type |
---|
ChartAxis |
Properties
Viewport
Gets the viewport.
Declaration
public Size Viewport { get; }
Property Value
Type | Description |
---|---|
Windows.Foundation.Size | The viewport. |
Methods
TransformToVisible(Double, Double)
Transforms chart cordinates to real coordinates.
Declaration
public Point TransformToVisible(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x value. |
System.Double | y | The y value. |
Returns
Type | Description |
---|---|
Windows.Foundation.Point | The visible point |
TransformToVisible(Double, Double, Boolean, Boolean)
Return point values from the given values
Declaration
public Point TransformToVisible(double x, double y, bool isXInversed, bool isYInversed)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | |
System.Double | y | |
System.Boolean | isXInversed | |
System.Boolean | isYInversed |
Returns
Type |
---|
Windows.Foundation.Point |