Child class

Class

Abstract types

inner

backdropOptions  Object

Options for a text backdrop.

Properties

Name Type Optional Description

visible

boolean

Yes

Visibility.

Defaults to true.

color

mixed

Yes

Color.

Defaults to 'white'.

inner

gridCirclesOptions  module:meteoJS/thermodynamicDiagram~lineOptions

Options for the circle grid.

Parameter

Name Type Optional Description

interval

number

Yes

Interval between grid circles (and value for the first grid circle). In m/s.

Defaults to 13.89.

inner

gridLabelsOptions  module:meteoJS/thermodynamicDiagram~textOptions

Options for the grid labels.

Properties

Name Type Optional Description

angle

number

Yes

Angle of the labels starting from the origin (in degrees, 0 relates to North).

Defaults to 225.

unit

string

Yes

Unit of the label values. Allowed values: 'm/s', 'kn', 'km/h'

Defaults to 'km/h'.

prefix

string

Yes

Prefix of the label text.

Defaults to ''.

decimalPlaces

integer

Yes

Number of digits to appear after the decimal point of the label values.

Defaults to 0.

backdrop

module:meteoJS/thermodynamicDiagram/hodograph~backdropOptions

Yes

Options for the backdrop of the grid labels.

inner

hoverLabelsOptions  module:meteoJS/thermodynamicDiagram/plotDataArea~hoverLabelsOptions

Options for the hover labels.

Properties

Name Type Optional Description

maxDistance

number

Yes

Maximum distance to a data point to show a hover label in pixels. If undefined, always a hover label to the nearest point is shown.

Defaults to 20.

hodograph

module:meteoJS/thermodynamicDiagram/hodograph~labelsOptions

Yes

Options for hodograph label.

inner

labelsOptions  module:meteoJS/thermodynamicDiagram/tdDiagram~labelsOptions

Options for the hover labels in the hodograph.

Properties

Name Type Optional Description

pressure

Object

Yes

Options for the output of the pressure value.

Values in pressure have the following properties:

Name Type Optional Description

visible

boolean

Yes

Visibility.

Defaults to true.

decimalPlaces

integer

Yes

Number of digits to appear after the decimal point.

Defaults to 0.

prefix

string

Yes

Prefix of the value text.

Defaults to ' hPa'.

windspeed

Object

Yes

Options for the output of the windspeed value.

Values in windspeed have the following properties:

Name Type Optional Description

visible

boolean

Yes

Visibility.

Defaults to true.

unit

string

Yes

Unit of the value text. Allowed values: 'm/s', 'kn', 'km/h'

Defaults to 'kn'.

decimalPlaces

integer

Yes

Number of digits to appear after the decimal point.

Defaults to 0.

prefix

string

Yes

Prefix of the value text.

Defaults to ' kn'.

winddir

Object

Yes

Options for the output of the winddir value.

Values in winddir have the following properties:

Name Type Optional Description

visible

boolean

Yes

Visibility.

Defaults to true.

decimalPlaces

integer

Yes

Number of digits to appear after the decimal point.

Defaults to 0.

prefix

string

Yes

Prefix of the value text.

Defaults to '°'.

inner

options  module:meteoJS/thermodynamicDiagram/plotDataArea~options

Options for the constructor.

Parameters

Name Type Optional Description

grid

Object

Yes

Options for the hodograph grid.

Values in grid have the following properties:

Name Type Optional Description

axes

module:meteoJS/thermodynamicDiagram~lineOptions

Yes

Options for the hodograph's x- and y-axes.

circles

module:meteoJS/thermodynamicDiagram/hodograph~gridCirclesOptions

Yes

Options for the hodograph circle grid.

labels

module:meteoJS/thermodynamicDiagram/hodograph~gridLabelsOptions

Yes

Options for the hodograph grid labels.

max

(number or undefined)

Yes

Maximum value for the grid axes and circles. If undefined, determined from 'windspeedMax'.

windspeedMax

number

Yes

The maximum windspeed [m/s], that should be visible on the plot. This refers to the x- or y-direction with the origin in the middle of the plot, because in these directions, a polar plot has the least extent concerning distance.

Defaults to 41.67.

origin

(Array of number or undefined)

Yes

Move origin of polar plot. If 'undefined' the origin is in the center. To move, use an array with 2 elements. The first element moves the origin in x direction, the second in y direction. The values are interpreted as relative length (relating to the half width resp. height). Positive values to move in North-East direction. E.g. to move the origin the half way to the upper right corner, use [0.5, 0.5].

hoverLabels

module:meteoJS/thermodynamicDiagram/hodograph~hoverLabelsOptions

Yes

Hover labels options.