Class ChartLineSegment
Represents Line chart type segment.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public sealed class ChartLineSegment : ChartSegment, IDisposable
Remarks
Class instance is created automatically by WPF Chart building system.
Constructors
ChartLineSegment(IChartDataPoint, IChartDataPoint, ChartIndexedDataPoint, ChartIndexedDataPoint, ChartSeries)
Initializes a new instance of the ChartLineSegment class.
Declaration
public ChartLineSegment(IChartDataPoint point1, IChartDataPoint point2, ChartIndexedDataPoint correspondingPoint1, ChartIndexedDataPoint correspondingPoint2, ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
IChartDataPoint | point1 | The point1. |
IChartDataPoint | point2 | The point2. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint | correspondingPoint1 | The corresponding point1. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint | correspondingPoint2 | The corresponding point2. |
ChartSeries | series | The series. |
Fields
X1Property
Identifies the X1 dependency property.
Declaration
public static readonly DependencyProperty X1Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
X2Property
Identifies the Y2 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 |
Z1Property
Using a DependencyProperty as the backing store for Z1Property. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty Z1Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
Z2Property
Using a DependencyProperty as the backing store for Z2Property. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty Z2Property
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
X1
Gets or sets the starting X line co-ordinate. 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 ending X line co-ordinate. 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 starting Y line co-ordinate. 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 ending Y line co-ordinate. This is a dependency property.
Declaration
public double Y2 { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The y2 value. |
Z1
Get or Set Z1 property
Declaration
public double Z1 { get; set; }
Property Value
Type |
---|
System.Double |
Z2
Get or Set Z2 property
Declaration
public double Z2 { get; set; }
Property Value
Type |
---|
System.Double |
Methods
Draw3DSegment(IChartTransformer)
Draws the 3D segment.
Declaration
public override void Draw3DSegment(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Windows.Chart.IChartTransformer | transformer | The Transformer |
Overrides
SetPointsForAllSeries(ChartSeries, ChartAxis)
Declaration
protected override void SetPointsForAllSeries(ChartSeries series, ChartAxis axis)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | |
ChartAxis | axis |
Overrides
Update(IChartTransformer)
Updates the real coordinates of segment with respect to chart type.
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. |