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

# H (Height)

## Definition

Indicates the height (in pixels) of the rendered area of the chart panel.

The paintable area does not extend all the way to the top edge of the panel itself, as seen in the image below.

## Property Value

A int representing the height of the panel in pixels.

## Syntax

`ChartPanel.H`

## Examples

```csharp
protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{
    base.OnRender(chartControl, chartScale);
    
    // Print the height of the panel
    Print(ChartPanel.H);
}
```

Based on the image below, H reveals that the paintable area of the chart panel is 69 pixels high.

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