Class: DateScalePanel

StockChartX. DateScalePanel


new DateScalePanel(config)

Represent date scale panel on the chart.
Parameters:
Name Type Description
config Object The configuration object.
Properties
Name Type Description
dateScale StockChartX.DateScale The parent date scale.
cssClass String The css class name of div element that holds date scale panel.
visible Boolean The flag that indicates whether panel is visible.

Members


<readonly> chart :StockChartX.Chart

Returns parent chart.
Type:

<readonly> cssClass :String

The css class name of div element that holds date scale panel.
Type:
  • String

<readonly> dateScale :StockChartX.DateScale

Parent date scale.
Type:

<readonly> visible :boolean

The flag that indicates whether panel is visible.
Type:
  • boolean

Methods


layout(frameInChart, isTopPanel)

Layouts date scale panel elements
Parameters:
Name Type Description
frameInChart StockChartX.Rect The content frame rectangle.
isTopPanel Boolean True if it is a top panel, false if it is a bottom panel.