> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# IsYAxisDisplayedOverlay

## 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

```csharp

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](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/dd7766e440b20382ebafee1842447a826907c8ac5d765f6dfdca42c9d00ef639/docs/assets/developer/desktop-sdk/references/isyaxisdisplayedoverlay-chartcontrol-isxaxisdisplayedoverlay.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20260729%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260729T062305Z&X-Amz-Expires=604800&X-Amz-Signature=c9b512591e4462657a8e089ceca46ae7c18fdd14f19929eb0f0797c5c840ad6f&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)