meteoJS/thermodynamicDiagram/diagramSounding . DiagramSounding
Source: thermodynamicDiagram/
Representation of a plotted sounding (data and display options)
import DiagramSounding from 'meteojs/thermodynamicDiagram/DiagramSounding';
Properties
new DiagramSounding(sounding[, options])
Parameters
Name | Type | Optional | Description |
---|---|---|---|
sounding |
|
|
Sounding data. |
options |
|
Yes |
Options. |
Properties
diagramParcelCollection module:meteoJS/base/collection.Collection
Collection of the DiagramParcel objects.
id unknown
Id.
- Inherited from
- module:meteoJS/base/unique.Unique#id
sounding module:meteoJS/sounding.Sounding
Sounding data.
visible boolean
Visibility of the sounding.
Methods
addParcel(parcel[, options]) → module:meteoJS/thermodynamicDiagram/diagramParcel.diagramParcel
Add a parcel with styles to the sounding.
(analogue to module:meteoJS/thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable#addSounding
)
Parameters
Name | Type | Optional | Description |
---|---|---|---|
parcel |
|
Parcel object. |
|
options |
module:meteoJS/thermodynamicDiagram/diagramParcel~parcelOptions |
Yes |
Style options. |
- Returns
-
module:meteoJS/thermodynamicDiagram/diagramParcel.diagramParcel
Parcel object for the diagram with style options.
getParcelOptions([parcel]) → module:meteoJS/thermodynamicDiagram/diagramSounding~parcelsOptions
Returns normalized visibility and style options for a parcel. This is a combination of the specific options for the passed parcel and the defaults.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
parcel |
Yes |
Parcel. |
- Returns
-
module:meteoJS/thermodynamicDiagram/diagramSounding~parcelsOptions
Parcel options.
setId(id)
Fired, wenn id-setter is called.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
id |
|
|
Id. |
- Inherited from
- module:meteoJS/base/unique.Unique#setId
update([options])
Updated the style options for this sounding.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
options |
Yes |
Options. |