Class ChartPointAndFigureType
Represents ChartPointAndFigureType class
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public sealed class ChartPointAndFigureType : ChartType, IDisposable
Remarks
Point and Figure Chart is used to identify support levels, resistance levels and chart patterns. The chart ignores the time factor and concentrates solely on movements in price - a column of Xs or Os may take one day or several weeks to complete. By convention, the first X in a column is plotted one box above the last O in the previous column (and the first O in a column is plotted one box below the highest X).
Fields
FigureCostProperty
Identifies the FigureCost dependency property.
Declaration
public static readonly DependencyProperty FigureCostProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ReversalAmountProperty
Identifies the ReversalAmount dependency property.
Declaration
public static readonly DependencyProperty ReversalAmountProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StartFromProperty
Identifies the StartFrom dependency property.
Declaration
public static readonly DependencyProperty StartFromProperty
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
RequiresDataCount
Gets the require data count.
Declaration
public override int RequiresDataCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The require data count. |
Overrides
Methods
Calculate(ChartSeries)
Calculates the segments.
Declaration
public override void Calculate(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The ChartSeries |
Overrides
GetFigureCost(ChartSeries)
Gets the figure cost.
Declaration
public static double GetFigureCost(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
System.Double | Returns the figure cost |
GetReversalAmount(ChartSeries)
Gets the reversal amount.
Declaration
public static double GetReversalAmount(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
System.Double | Returns the reversal amount |
GetStartFrom(ChartSeries)
Gets the starting series.
Declaration
public static ChartPointAndFigure GetStartFrom(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Returns
Type | Description |
---|---|
ChartPointAndFigure | The start from value |
IsCompatible(ChartType)
Determines whether the this type is compatible with specified type.
Declaration
public override bool IsCompatible(ChartType type)
Parameters
Type | Name | Description |
---|---|---|
ChartType | type | The type value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
OnReverseAmountChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when ReversalAmount property changed
Declaration
public static void OnReverseAmountChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.Windows.DependencyPropertyChangedEventArgs | args |
onStartFromChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when StartFrom property changed.
Declaration
public static void onStartFromChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.Windows.DependencyPropertyChangedEventArgs | args |
SetFigureCost(ChartSeries, Double)
Sets the figure cost.
Declaration
public static void SetFigureCost(ChartSeries series, double value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
System.Double | value | The value. |
SetReversalAmount(ChartSeries, Double)
Sets the reversal amount.
Declaration
public static void SetReversalAmount(ChartSeries series, double value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
System.Double | value | The value. |
SetStartFrom(ChartSeries, ChartPointAndFigure)
Sets the starting series.
Declaration
public static void SetStartFrom(ChartSeries series, ChartPointAndFigure value)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
ChartPointAndFigure | value | The value. |
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
Update(ChartSeries)
Updates chart.
Declaration
public override void Update(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The ChartSeries |