Skip to content

getSize(paneId?, position?)

getSize get the size of the chart.

Reference

typescript
(paneId?: string, position?: 'root' | 'main' | 'yAxis') => Bounding | null

Parameters

  • paneId Pane id.
  • position Position, supports root, main and yAxis .

Returns

getDom returns a Bounding object containing size information or null .

Usage

Basic usage