Class ChartKagiType
Represents ChartKagiType class
Implements
Inherited Members
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public sealed class ChartKagiType : ChartType, IDisposable
Remarks
Kagi Charts are a Japanese invention and date since the late 1870's, but were popularized in the western world by Steven Nison. They contain a series of connecting vertical lines where the thickness and direction of those lines depend on price. If closing prices continue to move in the direction of the prior vertical Kagi line, then that line is extended. However, if the closing price reverses by a pre-determined "reversal" amount, a new Kagi line is drawn in the next column in the opposite direction.
Fields
PriceDownInteriorProperty
Indicates the PriceDownInterior Dependency Property
Declaration
public static readonly DependencyProperty PriceDownInteriorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PriceUpInteriorProperty
Indicates the PriceUpInterior Dependency Property
Declaration
public static readonly DependencyProperty PriceUpInteriorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ReversalAmountProperty
Identifies the ReversalAmount dependency property.
Declaration
public static readonly DependencyProperty ReversalAmountProperty
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
Calculate(ChartSeries)
Calculates the segments of specified series.
Declaration
public override void Calculate(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series. |
Overrides
GetPriceDownInterior(DependencyObject)
Gets the value of the PriceDownInterior dependency property.
Declaration
public static Brush GetPriceDownInterior(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The DependencyObject obj. |
Returns
Type | Description |
---|---|
System.Windows.Media.Brush | The LowValueInterior Brush |
GetPriceUpInterior(DependencyObject)
Gets the value of the PriceUpInterior dependency property.
Declaration
public static Brush GetPriceUpInterior(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The DependencyObjectobj. |
Returns
Type | Description |
---|---|
System.Windows.Media.Brush | The PriceUpInterior brush |
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 | The Reversal Amount |
OnReversalAmountChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when ReversalAmount property changed
Declaration
public static void OnReversalAmountChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.Windows.DependencyPropertyChangedEventArgs | args |
SetPriceDownInterior(DependencyObject, Brush)
Sets the value of the PriceDownInterior dependency property.
Declaration
public static void SetPriceDownInterior(DependencyObject obj, Brush value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The DependencyObject obj. |
System.Windows.Media.Brush | value | The value. |
SetPriceUpInterior(DependencyObject, Brush)
Sets the value of the PriceUpInterior dependency property.
Declaration
public static void SetPriceUpInterior(DependencyObject obj, Brush value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The DependencyObject obj. |
System.Windows.Media.Brush | 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. |
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 series.
Declaration
public override void Update(ChartSeries series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | series | The series |