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

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

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