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

# ChartPanel

The **ChartPanel** class includes a range of properties related to the [panel](/developer/desktop-sdk/references/common/charts/chartcontrol/chartpanels) on which the calling script resides. Each Panel has 3 independent [ChartScales](/developer/desktop-sdk/references/common/charts/chartscale): Left, Right, and Overlay.

![ChartPanel\_1](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/ninjatrader-public.docs.buildwithfern.com/478583213f6ba6e89d3c5ffaebd7df5f9128ee40d5ede095ec3994ae92a98827/docs/assets/developer/desktop-sdk/references/chartpanel-chartpanel-1.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=20260729T062208Z&X-Amz-Expires=604800&X-Amz-Signature=e72c4eaabd18b3bb1cba568d1befa97aaa217daffb7f7aa3a3b8e37bb6125827&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

## Methods and Properties

| Parameter                                                                                                                | Description                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| [ChartObjects](/developer/desktop-sdk/references/common/charts/chartpanel/chartobjects)                                  | A collection of objects configured on the chart panel                                                                                            |
| [H](/developer/desktop-sdk/references/common/charts/chartpanel/h-height)                                                 | Indicates the height (in pixels) of the chart panel                                                                                              |
| [IsFocused](/developer/desktop-sdk/references/common/charts/chartpanel/chartpanel-isyaxisdisplayedleft)                  | Indicates the chart panel is currently in focus in the window                                                                                    |
| [IsYAxisDisplayedLeft](/developer/desktop-sdk/references/common/charts/chartpanel/chartpanel-isyaxisdisplayedleft)       | Indicates the y-axis is visible on the left side of the chart panel                                                                              |
| [IsYAxisDisplayedOverlay](/developer/desktop-sdk/references/common/charts/chartpanel/isyaxisdisplayedoverlay-chartpanel) | Indicates any objects configured in the panel are using the Overlay scale justification                                                          |
| [IsYAxisDisplayedRight](/developer/desktop-sdk/references/common/charts/chartpanel/isyaxisdisplayedright-chartpanel)     | Indicates the y-axis is visible on the right side of the chart panel                                                                             |
| [MaxValue](/developer/desktop-sdk/references/common/charts/chartpanel/maxvalue-chartpanel)                               | Indicates the maximum Y value of objects within the chart panel                                                                                  |
| [MinValue](/developer/desktop-sdk/references/common/charts/chartpanel/minvalue-chartpanel)                               | Indicates the minimum Y value of objects within the chart panel                                                                                  |
| [PanelIndex](/developer/desktop-sdk/references/common/charts/chartpanel/panelindex-chartpanel)                           | Indicates the index of the chart panel in the collection of configured panels                                                                    |
| [Scales](/developer/desktop-sdk/references/common/charts/chartpanel/chartscale-chartpanel)                               | A collection of [ChartScale](/developer/desktop-sdk/references/common/charts/chartscale) objects corresponding to objects within the chart panel |
| [W](/developer/desktop-sdk/references/common/charts/chartpanel/w-width-chartpanel-2)                                     | Indicates the width (in pixels) of the chart panel                                                                                               |
| [X](/developer/desktop-sdk/references/common/charts/chartpanel/x-coordinate-chartpanel)                                  | Indicates the x-coordinate on the chart canvas at which the chart panel begins                                                                   |
| [Y](/developer/desktop-sdk/references/common/charts/chartpanel/y-coordinate-chartpanel)                                  | Indicates the y-coordinate on the chart canvas at which the chart panel begins                                                                   |