y2Title.visible

Sets the visibility of the secondary (right) Y-axis. The default is true (visible) if a value has been provided for y2Title.text, otherwise false.

Type

Boolean

Example

Chart1.y2Title.visible = false;

Either syntax below can be used in component script:

y2Title.visible             // unqualified
Chart1.y2Title.visible      // qualified

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