IsYAxisDisplayedOverlay

View as Markdown

Definition

Indicates an object on the chart is using the Overlay scale justification.

Property Value

A boolean value. When True, indicates that one or more objects on the chart are using the Overlay scale justification; otherwise False.

Syntax

\<chartcontrol\>.IsYAxisDisplayedOverlay

Examples

protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{
// Print the value of IsYAxisDisplayedOverlay
Print("Is Overlay used? " + chartControl.IsYAxisDisplayedOverlay);
}

Based on the image below, IsYAxisDisplayedOverlay confirms that an object on the chart, in this case an SMA indicator, is using the Overlay scale justification.

ChartControl_IsXAxisDisplayedOverlay