new DateScalePanel(config)
Represent date scale panel on the chart.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object | The configuration object.
Properties
|
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.