new BarPriceStyle()
Represents bar price style.
Extends
Members
-
chart :StockChartX.Chart
-
The parent chart.
Type:
- Inherited From:
-
<readonly> mainPanel :StockChartX.ChartPanel
-
The chart panel.
Type:
- Inherited From:
-
<readonly> plot :Plot
-
The price style plot.
Type:
- Plot
- Inherited From:
Methods
-
<protected> createPlot()
-
Creates plot object for the price style.
- Inherited From:
Returns:
- Type
- StockChartX.Plot
-
dataSeriesSuffix()
-
Returns data series suffix which should be used to get primary data series.
- Inherited From:
Returns:
- Type
- string
-
destroy()
-
Destroys price style.
- Inherited From:
-
loadState(state)
-
Restores price style state.
Parameters:
Name Type Description state
object The state. - Inherited From:
- See:
-
primaryDataSeriesSuffix(suffix)
-
Returns primary data series suffix.
Parameters:
Name Type Description suffix
string The requesting data series suffix. - Inherited From:
Returns:
- Type
- string
-
saveState()
-
Saves price style state.
- Inherited From:
- See:
Returns:
The state.- Type
- object
-
updateComputedDataSeries()
-
Updates computed data series. Some price styles use their own OHLC values (like P&F, Kagi, ...).
- Inherited From: