ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

NetChart.settings.area

This section is defined by the type NetChartSettingsArea.

Chart area related settings.

Properties

centerX: number
Default value: 0.5
this property is no longer used
Version 1.12.0: deprecated the property.

The center of the chart. Fraction of chart width. 0 = left side, 1 = right side.

centerY: number
Default value: 0.5
this property is no longer used
Version 1.12.0: deprecated the property.

The center of the chart. Fraction of chart height, 0 = top, 1 = botom.

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

paddingBottom: number
Default value: 0
this property is no longer used
Version 1.12.0: deprecated the property.

Inner bottom padding, nodes will avoid this area. If the value is <= 1 then the value represents the fraction from the chart width. Otherwise it represents the padding value in pixels.

paddingLeft: number
Default value: 0
this property is no longer used
Version 1.12.0: deprecated the property.

Inner left padding, nodes will avoid this area. If the value is <= 1 then the value represents the fraction from the chart width. Otherwise it represents the padding value in pixels.

paddingRight: number
Default value: 0
this property is no longer used
Version 1.12.0: deprecated the property.

Inner right padding, nodes will avoid this area. If the value is <= 1 then the value represents the fraction from the chart width. Otherwise it represents the padding value in pixels.

paddingTop: number
Default value: 0
this property is no longer used
Version 1.12.0: deprecated the property.

Inner top padding, nodes will avoid this area. If the value is <= 1 then the value represents the fraction from the chart width. Otherwise it represents the padding value in pixels.

Inherited from: BaseSettingsArea
View section details

Area style.

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