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.
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.
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.
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.