Class ChartLineType
Represents ChartLineType class
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartLineType : ChartType, IDisposable
Remarks
Line Charts join points on a plot using straight lines showing trends in data at equal intervals. Line charts treats the input as non-numeric, categorical information, equally spaced along the X axis. This is appropriate for categorical data, such as text labels, but can produce unexpected results when the X values consist of numbers.
Constructors
ChartLineType()
Declaration
public ChartLineType()
Fields
BreakLineForDoublePointsDistanceMoreThanProperty
Identifies the BreakLineForDoublePointsDistanceMoreThan dependency property.
Declaration
public static readonly DependencyProperty BreakLineForDoublePointsDistanceMoreThanProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BreakLineForNonIndexedDataProperty
Identifies the BreakLineForNonIndexedData dependency property.
Declaration
public static readonly DependencyProperty BreakLineForNonIndexedDataProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BreakLineForTimeSpanPointsDistanceMoreThanProperty
Identifies the BreakLineForTimeSpanPointsDistanceMoreThan dependency property.
Declaration
public static readonly DependencyProperty BreakLineForTimeSpanPointsDistanceMoreThanProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Flags
Gets chart type flags. This is a dependency property.
Declaration
protected override ChartType.ChartTypeFlags Flags { get; }
Property Value
Type | Description |
---|---|
ChartType.ChartTypeFlags | The flags. |
Overrides
Methods
CalculateSegments(ChartSeries, ChartIndexedDataPoint[])
Calculates the segments.
Declaration
protected override void CalculateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint[] | points | The points. |
Overrides
GetBreakLineForDoublePointsDistanceMoreThan(DependencyObject)
Gets the value of the BreakLineForDoublePointsDistanceMoreThan dependency property.
Declaration
public static double GetBreakLineForDoublePointsDistanceMoreThan(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The obj value. |
Returns
Type | Description |
---|---|
System.Double | The double value for BreakLineForDoublePointsDistanceMoreThan |
GetBreakLineForNonIndexedData(DependencyObject)
Gets the value of the BreakLineForNonIndexedData dependency property.
Declaration
public static bool GetBreakLineForNonIndexedData(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The obj value. |
Returns
Type | Description |
---|---|
System.Boolean | bool value for BreakLineForNonIndexedData |
GetBreakLineForTimeSpanPointsDistanceMoreThan(DependencyObject)
Gets the value of the BreakLineForTimeSpanPointsDistanceMoreThan dependency property. Used for DateTime ValueType
Declaration
public static TimeSpan GetBreakLineForTimeSpanPointsDistanceMoreThan(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The obj value. |
Returns
Type | Description |
---|---|
System.TimeSpan | The Timespan for BreakLineForTimeSpanPointsDistanceMoreThan |
SetBreakLineForDoublePointsDistanceMoreThan(DependencyObject, Double)
Sets the value of the BreakLineForDoublePointsDistanceMoreThan dependency property. Used for Double ValueType
Declaration
public static void SetBreakLineForDoublePointsDistanceMoreThan(DependencyObject obj, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The obj value. |
System.Double | value | The value. |
See Also
SetBreakLineForNonIndexedData(DependencyObject, Boolean)
Sets the value of the BreakLineForNonIndexedData dependency property.
Declaration
public static void SetBreakLineForNonIndexedData(DependencyObject obj, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The obj value. |
System.Boolean | value | if set to |
See Also
SetBreakLineForTimeSpanPointsDistanceMoreThan(DependencyObject, TimeSpan)
Sets the value of the BreakLineForTimeSpanPointsDistanceMoreThan dependency property.
Declaration
public static void SetBreakLineForTimeSpanPointsDistanceMoreThan(DependencyObject obj, TimeSpan value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The obj value. |
System.TimeSpan | value | The value. |
See Also
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Overrides
See Also
UpdateSegments(ChartSeries, ChartIndexedDataPoint[])
Calculates the segments.
Declaration
protected override void UpdateSegments(ChartSeries series, ChartIndexedDataPoint[] points)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Syncfusion.Windows.Chart.ChartIndexedDataPoint[] | points | The points. |