menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartRenkoType - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartRenkoType

    Represents Renko chart type.

    Inheritance
    System.Object
    ChartType
    ChartRenkoType
    Implements
    System.IDisposable
    Inherited Members
    ChartType.AxesType
    ChartType.CalculateSegments(ChartSeries, ChartIndexedDataPoint[])
    ChartType.CheckFlags(ChartType.ChartTypeFlags)
    ChartType.CreateAdornment(ChartSeries, ChartIndexedDataPoint, Int32)
    ChartType.Dispose()
    ChartType.GetSpacing(ChartArea)
    ChartType.IsCompatible(ChartType)
    ChartType.IsIndependent
    ChartType.IsIndexed
    ChartType.IsRotated
    ChartType.IsSideBySide
    ChartType.IsStacked
    ChartType.RequiresAxis
    ChartType.RequiresDataCount
    ChartType.SetSpacing(ChartArea, Double)
    ChartType.SpacingProperty
    ChartType.UpdateLastSegments(ChartSeries, ChartIndexedDataPoint[])
    ChartType.UpdateSegments(ChartSeries, ChartIndexedDataPoint[])
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public sealed class ChartRenkoType : ChartType, IDisposable
    Remarks

    Renko charting method is thought to have acquired its name from "renga" which is the Japanese word for bricks. Renko Charts were introduced by Steve Nison. Renko (Bricks) are drawn equal in size for a determined amount. A brick is drawn in the direction of the prior move only if prices move by a minimum amount. If prices change by the determined amount or more, a new brick is drawn. If prices change by less than the determined amount (specified by ReversalAmount), the new price is ignored. The default value of ReversalAmount is 1.

    If the new closing price penetrates the previous bricks closing price in the opposite direction a trend reversal highlighted by the change in color of the bricks happens. Use the PriceUpColor to indicate bullish trend and PriceDownColor to indicate bearish trend.

    Since a Renko chart isolates the underlying trends by filtering out the minor ups and downs, Renko charts are excellent in determining support and resistance levels.

    Constructors

    ChartRenkoType()

    Declaration
    public ChartRenkoType()

    Fields

    BoxSizeProperty

    Identifies the BoxSize dependency property.

    Declaration
    public static readonly DependencyProperty BoxSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsPercentageSizeProperty

    Identifies the IsPercentageSize dependency property.

    Declaration
    public static readonly DependencyProperty IsPercentageSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    RenkoCostProperty

    Identifies the RenkoCost dependency property.

    Declaration
    public static readonly DependencyProperty RenkoCostProperty
    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
    ChartType.Flags

    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
    ChartType.Calculate(ChartSeries)

    GetBoxSize(ChartSeries)

    Return the string Value from the given ChartSeries

    Declaration
    public static string GetBoxSize(ChartSeries ser)
    Parameters
    Type Name Description
    ChartSeries ser
    Returns
    Type
    System.String

    GetIsPercentageSize(ChartSeries)

    Return the bool Value from the given ChartSeries

    Declaration
    public static bool GetIsPercentageSize(ChartSeries ser)
    Parameters
    Type Name Description
    ChartSeries ser
    Returns
    Type
    System.Boolean

    GetRenkoCost(ChartSeries)

    Gets the renko cost.

    Declaration
    public static double GetRenkoCost(ChartSeries series)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    Returns
    Type Description
    System.Double

    The Renko Cost

    OnRenkoCostChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Called when renkocost property value changed in RenKo Chart

    Declaration
    public static void OnRenkoCostChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.DependencyPropertyChangedEventArgs args

    OnValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Called when BoxSize property is changed

    Declaration
    public static void OnValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.DependencyPropertyChangedEventArgs args

    SetBoxSize(ChartSeries, String)

    Set BoxSize to the Corresponding ChartSeries from the Given value.

    Declaration
    public static void SetBoxSize(ChartSeries ser, string value)
    Parameters
    Type Name Description
    ChartSeries ser
    System.String value

    SetIsPercentageSize(ChartSeries, Boolean)

    Set SignalLineColor to the Corresponding DependencyObject from the Given value.

    Declaration
    public static void SetIsPercentageSize(ChartSeries ser, bool value)
    Parameters
    Type Name Description
    ChartSeries ser
    System.Boolean value

    SetRenkoCost(ChartSeries, Double)

    Sets the renko cost.

    Declaration
    public static void SetRenkoCost(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
    System.Object.ToString()
    See Also
    ChartRenkoType

    Update(ChartSeries)

    Updates the specified series.

    Declaration
    public override void Update(ChartSeries series)
    Parameters
    Type Name Description
    ChartSeries series

    The series.

    Overrides
    ChartType.Update(ChartSeries)
    See Also
    ChartRenkoType

    Implements

    System.IDisposable

    See Also

    ChartRenkoSegment
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved