Class

Abstract types

inner

options  Object

Options for the constructor.

Parameters

Name Type Optional Description

width

integer

Yes

Width of the diagram.

Defaults to 100.

height

integer

Yes

Height of the diagram.

Defaults to 100.

pressure

module:meteoJS/thermodynamicDiagram/coordinateSystem~pressureOptions

Yes

Pressure options.

temperature

module:meteoJS/thermodynamicDiagram/coordinateSystem~temperatureOptions

Yes

Temperature options.

inner

pressureOptions  Object

Pressure options.

Properties

Name Type Optional Description

min

number

Yes

Minimum pressure on the diagram.

Defaults to 100.

max

number

Yes

Maximum pressure on the diagram.

Defaults to 1050.

inner

temperatureOptions  Object

Temperature options.

Properties

Name Type Optional Description

min

number

Yes

Temperature either on bottom-left on the diagram (if reference equals 'base') or on the left of an isobar (if reference is a number).

Defaults to -40°C.

max

number

Yes

Temperature either on bottom-right on the diagram (if reference equals 'base') or on the right of an isobar (if reference is a number).

Defaults to 45°C.

reference

('base' or integer)

Yes

Reference for 'min' and 'max' values. Allowed values: 'base' or number.

Defaults to 'base'.

inclinationAngle

integer

Yes

Angle of inclination to the right of the isotherms. Allowed values between 0 and 90 (exclusive), in degrees.

Defaults to 45.

Event

change:options

Options change event.