Class ChartSplineSegment
Represents spline chart type segment.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartSplineSegment : ChartSegment, IDisposable
Remarks
Class instance is created automatically by WPF Chart building system.
Fields
GeometryProperty
Identifies the Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
X1Property
Identifies the X1 dependency property.
Declaration
public static readonly DependencyProperty X1Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
X2Property
Identifies the X2 dependency property.
Declaration
public static readonly DependencyProperty X2Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
Y1Property
Identifies the Y1 dependency property.
Declaration
public static readonly DependencyProperty Y1Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
Y2Property
Identifies the Y2 dependency property.
Declaration
public static readonly DependencyProperty Y2Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Geometry
Gets or sets the segment's geometry. This is a dependency property.
Declaration
public Geometry Geometry { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Geometry | The geometry. |
Point1
Gets or sets the point1.
Declaration
public IChartDataPoint Point1 { get; set; }
Property Value
Type | Description |
---|---|
IChartDataPoint | The point1. |
Point2
Gets or sets the point2.
Declaration
public IChartDataPoint Point2 { get; set; }
Property Value
Type | Description |
---|---|
IChartDataPoint | The point2. |
Point3
Gets or sets the point3.
Declaration
public IChartDataPoint Point3 { get; set; }
Property Value
Type | Description |
---|---|
IChartDataPoint | The point3. |
Point4
Gets or sets the point4.
Declaration
public IChartDataPoint Point4 { get; set; }
Property Value
Type | Description |
---|---|
IChartDataPoint | The point4. |
X1
Gets or sets the x1 point. This is a dependency property.
Declaration
public double X1 { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The x1 value. |
X2
Gets or sets the x2 point. This is a dependency property.
Declaration
public double X2 { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The x2 value. |
Y1
Gets or sets the y1 point. This is a dependency property.
Declaration
public double Y1 { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The y1 value. |
Y2
Gets or sets the y2 point. This is a dependency property.
Declaration
public double Y2 { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The y2 value. |
Methods
Draw3DSegment(IChartTransformer)
Draws the 3D segment.
Declaration
public override void Draw3DSegment(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | Instance of class that implements Syncfusion.Windows.Chart.IChartTransformer interface. |
Overrides
GetSplineRange(Double, Double, Double, Double, Double, Double, Double, Double)
Gets the spline range.
Declaration
protected DoubleRange GetSplineRange(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x1 | The x1 value. |
System.Double | y1 | The y1 value. |
System.Double | x2 | The x2 value. |
System.Double | y2 | The y2 value. |
System.Double | x3 | The x3 value. |
System.Double | y3 | The y3 value. |
System.Double | x4 | The x4 value. |
System.Double | y4 | The y4 value. |
Returns
Type | Description |
---|---|
DoubleRange | The SplineRange |
Update(IChartTransformer)
Updates the real coordinates of segment.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | Instance of class that implements Syncfusion.Windows.Chart.IChartTransformer interface. |