<!-- Public documentation export; not library implementation source. -->
# IPaneApi

[Integration guide](https://docs.lumencharts.com/charting-library/configuration#chart-types-panes-and-scales) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## hasMainSeries {#hasmainseries}

```ts
hasMainSeries(): boolean;
```

Use the type signature above and the integration guide for the owning capability.

## getLeftPriceScales {#getleftpricescales}

```ts
getLeftPriceScales(): readonly IPriceScaleApi[];
```

Use the type signature above and the integration guide for the owning capability.

## getRightPriceScales {#getrightpricescales}

```ts
getRightPriceScales(): readonly IPriceScaleApi[];
```

Use the type signature above and the integration guide for the owning capability.

## getMainSourcePriceScale {#getmainsourcepricescale}

```ts
getMainSourcePriceScale(): IPriceScaleApi | null;
```

Use the type signature above and the integration guide for the owning capability.

## getHeight {#getheight}

```ts
getHeight(): number;
```

Use the type signature above and the integration guide for the owning capability.

## setHeight {#setheight}

```ts
setHeight(height: number): void;
```

Use the type signature above and the integration guide for the owning capability.

| Parameter | Type | Required |
| --- | --- | --- |
| `height` | `number` | Yes |

## moveTo {#moveto}

```ts
moveTo(paneIndex: number): void;
```

Use the type signature above and the integration guide for the owning capability.

| Parameter | Type | Required |
| --- | --- | --- |
| `paneIndex` | `number` | Yes |

## paneIndex {#paneindex}

```ts
paneIndex(): number;
```

Use the type signature above and the integration guide for the owning capability.

## collapse {#collapse}

```ts
collapse(): void;
```

Use the type signature above and the integration guide for the owning capability.

## restore {#restore}

```ts
restore(): void;
```

Use the type signature above and the integration guide for the owning capability.

## Related types

- [IPriceScaleApi](https://docs.lumencharts.com/charting-library/api/IPriceScaleApi)

---
Documentation page: https://docs.lumencharts.com/charting-library/api/IPaneApi
