Class: ValueScale

StockChartX. ValueScale


new ValueScale(config)

Represents value scale on the chart.
Parameters:
Name Type Description
config Object The configuration object.
Properties
Name Type Description
chart StockChartX.Chart The parent chart.

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:

manualWidth :number

Gets/Sets manual width.
Type:
  • number
See:

<readonly> rightPanelCssClass :string

Gets CSS class name of the right value scale root div element.
Type:
  • string
See:

useManualWidth :boolean

Gets/Sets flag that indicates whether manual width should be used.
Type:
  • boolean
See:

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
frame StockChartX.Rect The chart panels container frame rectangle.

loadState(state)

Loads component state.
Parameters:
Name Type Description
state Object The state
Inherited From:
See:

saveState()

Saves component state.
Inherited From:
See:
Returns:
Type
Object