Skip to main content

Interface: ChartRectangle

Defined in: src/sdk/charts/ChartTypes.ts:268

A rectangle on a chart.

Properties

lowerRight

readonly lowerRight: readonly [number, number]

Defined in: src/sdk/charts/ChartTypes.ts:279

The lower right corner of this rectangle, as [x, y] in arbitrary units for image coordinates or [lon, lat] in degrees for world coordinates.


orientation

readonly orientation: number

Defined in: src/sdk/charts/ChartTypes.ts:285

The angle, in degrees, by which this rectangle's internal coordinate system is rotated relative to the containing chart. Positive values indicate counterclockwise rotation.


upperLeft

readonly upperLeft: readonly [number, number]

Defined in: src/sdk/charts/ChartTypes.ts:273

The upper left corner of this rectangle, as [x, y] in arbitrary units for image coordinates or [lon, lat] in degrees for world coordinates.