Renko Chart (Chart Controls)

The Renko chart type displays a series of connecting vertical lines where the thickness and direction of the lines are dependent on the action of the price value. This chart ignores the passage of time, and is used to mark out changes in data trends, such as the trend of the stock market. This is similar to the Kagi, Point and Figure, and Three Line Break chart types.

Picture of the Renko chart type

Chart Characteristics

SeriesChartType value

SeriesChartType.Renko

Number of Y values per point

1

Number of series

1

Supports markers

Yes

Cannot be combined with:

Any other chart type.

Custom attributes

BoxSize, CurrentBoxSize (read-only), PixelPointDepth, PixelPointGapDepth, PriceUpColor, UsedYValue

Remarks

Note the following when working with the Renko chart type:

  • The X values of data points are automatically indexed. For more information, see Tutorial: Running Applications Created Using Chart Controls for .NET Framework 3.5 (Chart Controls)).

  • The number of data points and the X-Y values that the chart displays is different from the original data. This is because a formula is applied to the original data before plotting.

  • It is recommended that you do not set the minimum or maximum values for the x-axis, since you cannot determine how many data points are plotted after the formula is applied.

    Note

    If you do set the minimum or maximum value for the x-axis, then you should also set the Maximum or Minimum properties to data point index values.

  • This chart type does not support data point anchoring and annotations.

  • You can select the up-trend color using the PriceUpColor custom attribute. The down-trend color is the default series color.

Selecting Y Values in a Series

If you have a data series with multiple Y values per data point, use the UsedYValue custom attribute to select the index of the Y value to use. By default, the Renko chart uses the first value in DataPoint.YValues, which is found at index 0.

The following code selects the fourth Y value (index of 3) in the data points to plot on the Renko chart.

Chart1.Series("Series1")("UsedYVale")="3"
Chart1.Series["Series1"]["UsedYValue"]="3";

See Also

Reference

Chart Types
Kagi Chart
Point and Figure Chart
Three Line Break Chart
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting