Box
Map
Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Chart - series.reduction

Specifies reduction properties for financial series.

Type:

Object

This member is exposed by the following entities:

Each point in a financial series has four values or "prices": high, low, open and close. To mirror the changes on the market more clearly, the UI component compares the price of every point with the price of the previous point. Those points whose price has decreased are painted in a specific color. To specify whether high, low, open or close prices of points should be compared, use the level property.

color

Specifies a color for the points whose price has decreased in comparison to the price of the previous point.

Type:

String

Default Value: '#ff0000'
This member is exposed by the following entities:

level

Specifies whether high, low, open or close prices of points should be compared.

Type:

String

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