new ValueScale(config)
Represents value scale on the chart.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
config |
Object | The configuration object.
Properties
|
Extends
Members
-
<readonly> chart :StockChartX.Chart
-
The parent chart.
Type:
- Inherited From:
-
<readonly> leftPanelCssClass :string
-
Gets CSS class name of the left value scale root div element.
Type:
- string
- See:
-
rightPanelCssClassto get css class name of the right panel.
-
manualWidth :number
-
Gets/Sets manual width.
Type:
- number
- See:
-
useManualWidthto enable manual width usage.
-
<readonly> rightPanelCssClass :string
-
Gets CSS class name of the right value scale root div element.
Type:
- string
- See:
-
leftPanelCssClassto get css class name of the left panel.
-
useManualWidth :boolean
-
Gets/Sets flag that indicates whether manual width should be used.
Type:
- boolean
- See:
-
manualWidthto set manual width.
Methods
-
destroy()
-
Destroys and removes control from the parent element.
- Inherited From:
-
draw()
-
Draws component.
- Inherited From:
-
layout(frame)
-
Layouts value scale elements.
Parameters:
Name Type Description frameStockChartX.Rect The chart panels container frame rectangle. -
loadState(state)
-
Loads component state.
Parameters:
Name Type Description stateObject The state - Inherited From:
- See:
-
saveStateto save state.
-
saveState()
-
Saves component state.
- Inherited From:
- See:
-
loadStateto load state.
Returns:
- Type
- Object