padding

Chart Properties to set padding in the ‘Chart Properties’ dialog box.

Specifies the padding for the Chart as an array of pixel values.

Type

Array

Padding for chart: [top,left,bottom,right]

Example

Chart1.background = 'yellow';
Chart1.padding = [0,50,0,50]; // 50 pixel padding, left and right

Either syntax below can be used in component script:

padding         // unqualified
Chart1.padding  // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.