y2Axis

Provides a shortcut to set axis properties for all secondary Y-axes. This only applies to measure axes that have been marked as ‘Secondary Axis’. The available properties are listed in Chart Axis Properties and Measure Axis Properties.

Example

Chart1.y2Axis.minorIncrement = 1000;
Chart1.y2Axis.labelColor = [255,0,0];

Either syntax below can be used in component script:

y2Axis             // unqualified
Chart1.y2Axis      // qualified

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