reduction

Specifies reduction options for the stock or candleStick series.

Type: Object
This member is exposed by the following entities:

If the value of a particular point's price level (open, high, low or close) is lower in comparison to the value in the previous point, the subsequent point is painted in a specific color. To set the price to be compared in the series, use the series' level property. To set the specific color for a subsequent price, which is lower than that price in the previous point, use the series's color property.

Show Example:
jQuery

In this example, the reduction level is based on the high value. Points, whose high value is lower than the high value of the previous point, are colored in 'indianred'.


                                    

                                    

color

Specifies a color for the points whose reduction level price is lower in comparison to the value in the previous point.

Type: String
Default Value: '#000000'
This member is exposed by the following entities:

If the value of a particular price level (open, high, low or close) is lower in comparison to the value in the previous point, the subsequent point is painted in the specified color. To set the price to be compared in the series, use the series' level property.

Show Example:
jQuery

In this example, points, whose close value is lower than the close value of the previous point, are colored in 'darkturquoise'.


                                    

                                    

level

Specifies for which price level (open, high, low or close) to enable reduction options in the series.

Type: String
Default Value: 'close'
Accepted Values: 'close' | 'open' | 'low' | 'high'
This member is exposed by the following entities:

If the value of the specified price level is lower in comparison to the value in the previous point, the subsequent point is painted in a specific color. To set the specific color for the subsequent price, which is lower than that price in the previous point, use the color property.

Show Example:
jQuery

Use the drop-down menu below to change the reduction level.