ZoomCharts Documentation

TimeChart.settings.area

This section is defined by the type TimeChartSettingsArea.

Chart area related settings.

Properties

displayPeriods: Array<{ unit?: string; }>

List of time periods that are used when formatting time axis.

Note that this does not impact what periods are available to choose from in the toolbar. For that use toolbar.periods setting.

Properties
unit: string
displayUnits: Array<{ unit?: string; name?: string; }>

List of time units to use for data aggregation on the time axis.

For example: { area: { displayUnits: [ { unit: "5 m", "5 minutes" }, { unit: "15 m", name: "15 minutes" } ] } }

Properties
unit: string

Used units

name: string

Name of used units

height: number
Default value: null
Inherited from: BaseSettingsArea

Height of the chart. If undefined the chart height will adapt to container element.

left: number
Default value: null
Inherited from: BaseSettingsArea

The horizontal position of the chart. This setting only applies when this chart is nested within another by using parentChart setting.

maxHeight: number
Default value: 20000
Inherited from: BaseSettingsArea

The maximum chart height. Chart will not resize below this.

maxWidth: number
Default value: 20000
Inherited from: BaseSettingsArea

The maximum chart width. The chart will not resize below this

minHeight: number
Default value: 50
Inherited from: BaseSettingsArea

The minimum chart height. Chart will not resize below this.

minWidth: number
Default value: 50
Inherited from: BaseSettingsArea

The minimum chart width. The chart will not resize below this

Inherited from: BaseSettingsArea
View section details

Area style settings.

top: number
Default value: null
Inherited from: BaseSettingsArea

The vertical position of the chart. This setting only applies when this chart is nested within another by using parentChart setting.

width: number
Default value: null
Inherited from: BaseSettingsArea

Width of the chart. If undefined the chart width will adapt to container element.

X