The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

OpenHighLowCloseSeries Class

An Open-High-Low-Close series.

Declaration

export class OpenHighLowCloseSeries extends HighLowCloseSeries

Remarks

Open-High-Low-Close series are used to show variation in stock prices over the course of a day. The Low and High prices are the bottom and top values of the vertical line which is shown at each point, and the Open and Close prices are the left and right tick marks (the Stock series type) or the top and bottom borders of a rectangle (the Candle Stick series type).

If the stock closes lower than the close price for the previous time period, the point is painted in red. In the Candle Stick series, if the close price is lower than the opening price, the rectangle (body) is filled; otherwise, it is hollow.

An Open-High-Low-Close series requires four measures to be provided. These are measures containing the Open, High, Low and Close prices.

To plot a series within the ChartItem, add the OpenHighLowCloseSeries object to the ChartPane.series collection of a pane where you need to display this series. Use the ChartItem.panes property to access a desired pane.

Inheritance

HighLowCloseSeries
OpenHighLowCloseSeries

constructor(dataItemProvider)

Initializes a new instance of the OpenHighLowCloseSeries class.

Declaration

constructor(dataItemProvider: DataDashboardItem, seriesJSON?: any, serializer?: DxDesigner.Analytics.Utils.ModelSerializer)

Parameters

Name Type Description
dataItemProvider DataDashboardItem

Optional Parameters

Type Name Default Description
any seriesJSON null
DxDesigner.Analytics.Utils.ModelSerializer serializer null

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

open Property

Specifies a measure that contains Open prices.

Declaration

open: KnockoutObservable<Measure>

Property Value

Type Description
KnockoutObservable<Measure>

A Measure object that contains Open prices.

seriesType Property

Specifies the series type.

Declaration

seriesType: KnockoutObservable<OpenHighLowCloseSeriesType>

Property Value

Type Description
KnockoutObservable<OpenHighLowCloseSeriesType>

An OpenHighLowCloseSeriesType value that specifies the series type.

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo