meteoJS/thermodynamicDiagram/hodograph
Source: thermodynamicDiagram/
Child class
Class
Hodograph
Abstract types
backdropOptions Object
Options for a text backdrop.
Properties
Name | Type | Optional | Description |
---|---|---|---|
visible |
boolean |
Yes |
Visibility. Defaults to |
color |
mixed |
Yes |
Color. Defaults to |
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 |
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 |
unit |
string |
Yes |
Unit of the label values. Allowed values: 'm/s', 'kn', 'km/h' Defaults to |
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 |
backdrop |
module:meteoJS/thermodynamicDiagram/hodograph~backdropOptions |
Yes |
Options for the backdrop of the grid labels. |
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 |
hodograph |
Yes |
Options for hodograph label. |
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
|
||||||||||||||||||||
windspeed |
Object |
Yes |
Options for the output of the windspeed value. Values in
|
||||||||||||||||||||
winddir |
Object |
Yes |
Options for the output of the winddir value. Values in
|
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
|
||||||||||||||||||||
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 |
||||||||||||||||||||
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. |