H (Height)

View as Markdown

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

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 base.OnRender(chartControl, chartScale);
4
5 // Print the height of the panel
6 Print(ChartPanel.H);
7}

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

ChartPanel_H