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

# DisplayInDataBox

## Definition

Determines if plot(s) display in the chart data box.

## Property Value

This property returns true if the indicator plot(s) values display in the chart data box; otherwise, false. Default set to true.

This property should ONLY be set from the **OnStateChange()** method during **State.SetDefaults** or **State.Configure**.

## Syntax

`DisplayInDataBox`

## Examples

```csharp
protected override void OnStateChange()
{
    if (State == State.SetDefaults)
    {
        DisplayInDataBox = false;   
        AddPlot(Brushes.Orange, "SMA");
    }
}
```