From 0b304f8d6adc4de125278a29cf64456ba611b622 Mon Sep 17 00:00:00 2001 From: Ivo Sonderegger Date: Fri, 30 Jul 2021 15:59:28 +0200 Subject: [PATCH] Release 1.16.0 --- CHANGELOG.md | 35 +- doc/Modelviewer.js.html | 2 +- doc/RepetitiveRequests.js.html | 4 +- doc/Sounding.js.html | 2 +- doc/Synview.js.html | 2 +- doc/ThermodynamicDiagram.js.html | 25 +- doc/ThermodynamicDiagramPluggable.js.html | 2 +- doc/Timeline.js.html | 2 +- doc/Tooltip.js.html | 2 +- doc/base_Collection.js.html | 2 +- doc/base_Named.js.html | 2 +- doc/base_NamedCollection.js.html | 2 +- doc/base_Unique.js.html | 2 +- doc/base_UniqueNamed.js.html | 2 +- doc/calc.js.html | 2 +- doc/events.js.html | 2 +- doc/external-Event.html | 2 +- doc/external-HTMLElement.html | 2 +- doc/external-SVG.html | 2 +- doc/external-XMLHttpRequest.html | 2 +- doc/external-jQuery.html | 2 +- doc/external-momentjs.html | 2 +- doc/index.html | 413 ++++++++++++- doc/index.js.html | 6 +- doc/modelviewer_Container.js.html | 2 +- doc/modelviewer_Display.js.html | 2 +- doc/modelviewer_NWPResources.js.html | 2 +- doc/modelviewer_Node.js.html | 2 +- doc/modelviewer_OffsetVariable.js.html | 2 +- doc/modelviewer_Resource.js.html | 2 +- doc/modelviewer_Resources.js.html | 2 +- doc/modelviewer_ResourcesTreeNode.js.html | 2 +- doc/modelviewer_TimeVariable.js.html | 2 +- doc/modelviewer_Variable.js.html | 2 +- doc/modelviewer_VariableCollection.js.html | 2 +- ...delviewer_display_SelectNavigation.js.html | 2 +- doc/modelviewer_display_Simple.js.html | 2 +- doc/modelviewer_resource_Image.js.html | 2 +- doc/modelviewer_resource_Sounding.js.html | 2 +- doc/module-meteoJS.html | 2 +- ...le-meteoJS_base_collection.Collection.html | 2 +- doc/module-meteoJS_base_collection.html | 2 +- doc/module-meteoJS_base_named.Named.html | 2 +- doc/module-meteoJS_base_named.html | 2 +- ..._base_namedCollection.NamedCollection.html | 2 +- doc/module-meteoJS_base_namedCollection.html | 2 +- doc/module-meteoJS_base_unique.Unique.html | 2 +- doc/module-meteoJS_base_unique.html | 2 +- ...-meteoJS_base_uniquenamed.UniqueNamed.html | 2 +- doc/module-meteoJS_base_uniquenamed.html | 2 +- doc/module-meteoJS_calc.html | 2 +- doc/module-meteoJS_events.html | 2 +- ...odule-meteoJS_modelviewer.Modelviewer.html | 2 +- doc/module-meteoJS_modelviewer.html | 2 +- ...teoJS_modelviewer_container.Container.html | 2 +- doc/module-meteoJS_modelviewer_container.html | 2 +- ...e-meteoJS_modelviewer_display.Display.html | 2 +- doc/module-meteoJS_modelviewer_display.html | 2 +- ...lay_selectNavigation.SelectNavigation.html | 2 +- ..._modelviewer_display_selectNavigation.html | 2 +- ...oJS_modelviewer_display_simple.Simple.html | 2 +- ...le-meteoJS_modelviewer_display_simple.html | 2 +- doc/module-meteoJS_modelviewer_node.Node.html | 2 +- doc/module-meteoJS_modelviewer_node.html | 2 +- ...modelviewer_nwpResources.NWPResources.html | 2 +- ...dule-meteoJS_modelviewer_nwpResources.html | 2 +- ...lviewer_offsetVariable.OffsetVariable.html | 2 +- ...le-meteoJS_modelviewer_offsetVariable.html | 2 +- ...meteoJS_modelviewer_resource.Resource.html | 2 +- doc/module-meteoJS_modelviewer_resource.html | 2 +- ...eoJS_modelviewer_resource_image.Image.html | 2 +- ...le-meteoJS_modelviewer_resource_image.html | 2 +- ...odelviewer_resource_sounding.Sounding.html | 2 +- ...meteoJS_modelviewer_resource_sounding.html | 2 +- ...teoJS_modelviewer_resources.Resources.html | 2 +- doc/module-meteoJS_modelviewer_resources.html | 2 +- ...r_resourcesTreeNode.ResourcesTreeNode.html | 2 +- ...meteoJS_modelviewer_resourcesTreeNode.html | 2 +- ...modelviewer_timeVariable.TimeVariable.html | 2 +- ...dule-meteoJS_modelviewer_timeVariable.html | 2 +- ...meteoJS_modelviewer_variable.Variable.html | 2 +- doc/module-meteoJS_modelviewer_variable.html | 2 +- ...variableCollection.VariableCollection.html | 2 +- ...eteoJS_modelviewer_variableCollection.html | 2 +- ...repetitiveRequests.RepetitiveRequests.html | 2 +- doc/module-meteoJS_repetitiveRequests.html | 2 +- doc/module-meteoJS_sounding.Sounding.html | 2 +- doc/module-meteoJS_sounding.html | 2 +- ...module-meteoJS_sounding_parcel.Parcel.html | 2 +- doc/module-meteoJS_sounding_parcel.html | 2 +- doc/module-meteoJS_synview.html | 2 +- ...meteoJS_synview_collection.Collection.html | 2 +- doc/module-meteoJS_synview_collection.html | 2 +- ...module-meteoJS_synview_map.SynviewMap.html | 2 +- doc/module-meteoJS_synview_map.html | 2 +- doc/module-meteoJS_synview_map_ll.MapLL.html | 2 +- doc/module-meteoJS_synview_map_ll.html | 2 +- doc/module-meteoJS_synview_map_ol.MapOL.html | 2 +- doc/module-meteoJS_synview_map_ol.html | 2 +- ...ule-meteoJS_synview_resource.Resource.html | 2 +- doc/module-meteoJS_synview_resource.html | 2 +- ...resourceCollection.ResourceCollection.html | 2 +- ...le-meteoJS_synview_resourceCollection.html | 2 +- ...eoJS_synview_resource_GeoJSON.GeoJSON.html | 2 +- ...dule-meteoJS_synview_resource_GeoJSON.html | 2 +- ...view_resource_GeoJSONTile.GeoJSONTile.html | 2 +- ...-meteoJS_synview_resource_GeoJSONTile.html | 2 +- ...JS_synview_resource_Image.ImageStatic.html | 2 +- ...module-meteoJS_synview_resource_Image.html | 2 +- ...dule-meteoJS_synview_resource_OSM.OSM.html | 2 +- doc/module-meteoJS_synview_resource_OSM.html | 2 +- ...eteoJS_synview_resource_Vector.Vector.html | 2 +- ...odule-meteoJS_synview_resource_Vector.html | 2 +- ...ynview_resource_VectorTile.VectorTile.html | 2 +- ...e-meteoJS_synview_resource_VectorTile.html | 2 +- ...odule-meteoJS_synview_tooltip.Tooltip.html | 2 +- doc/module-meteoJS_synview_tooltip.html | 2 +- doc/module-meteoJS_synview_type.Type.html | 2 +- doc/module-meteoJS_synview_type.html | 2 +- ...synview_typeCollection.TypeCollection.html | 2 +- ...module-meteoJS_synview_typeCollection.html | 2 +- ...modynamicDiagram.ThermodynamicDiagram.html | 4 +- doc/module-meteoJS_thermodynamicDiagram.html | 16 +- ...uggable.ThermodynamicDiagramPluggable.html | 2 +- ...meteoJS_thermodynamicDiagramPluggable.html | 2 +- ...speedProfileAxis.WindspeedProfileAxis.html | 549 ++++++++++++++++++ ...amicDiagram_axes_windspeedProfileAxis.html | 219 +++++++ ...teoJS_thermodynamicDiagram_axes_xAxis.html | 72 ++- ...thermodynamicDiagram_axes_xAxis.xAxis.html | 429 +++++++++++++- ...teoJS_thermodynamicDiagram_axes_yAxis.html | 71 ++- ...thermodynamicDiagram_axes_yAxis.yAxis.html | 142 ++++- ...eteoJS_thermodynamicDiagram_axis.Axis.html | 536 +++++++++++++++++ ...ule-meteoJS_thermodynamicDiagram_axis.html | 344 +++++++++++ ...ram_coordinateSystem.CoordinateSystem.html | 2 +- ...thermodynamicDiagram_coordinateSystem.html | 2 +- ...gram_coordinateSystem_emagram.Emagram.html | 2 +- ...namicDiagram_coordinateSystem_emagram.html | 2 +- ...tem_skewTlogPDiagram.SkewTlogPDiagram.html | 2 +- ...ram_coordinateSystem_skewTlogPDiagram.html | 2 +- ...ateSystem_stueveDiagram.StueveDiagram.html | 2 +- ...iagram_coordinateSystem_stueveDiagram.html | 2 +- ...icDiagram_diagramParcel.DiagramParcel.html | 2 +- ...JS_thermodynamicDiagram_diagramParcel.html | 2 +- ...agram_diagramSounding.DiagramSounding.html | 4 +- ..._thermodynamicDiagram_diagramSounding.html | 4 +- ...eteoJS_thermodynamicDiagram_functions.html | 2 +- ...rmodynamicDiagram_hodograph.Hodograph.html | 2 +- ...eteoJS_thermodynamicDiagram_hodograph.html | 8 +- ...AltitudeDataArea.PlotAltitudeDataArea.html | 2 +- ...modynamicDiagram_plotAltitudeDataArea.html | 2 +- ...hermodynamicDiagram_plotArea.PlotArea.html | 2 +- ...meteoJS_thermodynamicDiagram_plotArea.html | 2 +- ...amicDiagram_plotDataArea.PlotDataArea.html | 2 +- ...oJS_thermodynamicDiagram_plotDataArea.html | 2 +- ...rmodynamicDiagram_tdDiagram.TDDiagram.html | 2 +- ...eteoJS_thermodynamicDiagram_tdDiagram.html | 2 +- ...ram_windbarbsProfile.WindbarbsProfile.html | 2 +- ...thermodynamicDiagram_windbarbsProfile.html | 2 +- ...ram_windspeedProfile.WindspeedProfile.html | 14 +- ...thermodynamicDiagram_windspeedProfile.html | 276 ++++++++- doc/module-meteoJS_timeline.Timeline.html | 2 +- doc/module-meteoJS_timeline.html | 2 +- ...-meteoJS_timeline_animation.Animation.html | 2 +- doc/module-meteoJS_timeline_animation.html | 2 +- ...e_animation_togglebutton.ToggleButton.html | 2 +- ...teoJS_timeline_animation_togglebutton.html | 2 +- ...e_navigationButtons.NavigationButtons.html | 2 +- ...le-meteoJS_timeline_navigationButtons.html | 2 +- ..._timeline_visualisation.Visualisation.html | 2 +- ...module-meteoJS_timeline_visualisation.html | 2 +- ...ine_visualisation_bsButtons.bsButtons.html | 2 +- ...eoJS_timeline_visualisation_bsButtons.html | 2 +- ...e_visualisation_bsDropdown.bsDropdown.html | 2 +- ...oJS_timeline_visualisation_bsDropdown.html | 2 +- ..._timeline_visualisation_slider.Slider.html | 2 +- ...meteoJS_timeline_visualisation_slider.html | 2 +- ...eoJS_timeline_visualisation_text.Text.html | 2 +- ...e-meteoJS_timeline_visualisation_text.html | 2 +- doc/module-meteoJS_tooltip.Tooltip.html | 2 +- doc/module-meteoJS_tooltip.html | 2 +- ...tip_bootstrapTooltip.BootstrapTooltip.html | 2 +- ...dule-meteoJS_tooltip_bootstrapTooltip.html | 2 +- doc/scripts/jsdoc-toc.js | 2 +- doc/sounding_Parcel.js.html | 2 +- doc/synview_Collection.js.html | 2 +- doc/synview_Resource.js.html | 2 +- doc/synview_ResourceCollection.js.html | 2 +- doc/synview_SynviewMap.js.html | 2 +- doc/synview_Tooltip.js.html | 2 +- doc/synview_Type.js.html | 2 +- doc/synview_TypeCollection.js.html | 2 +- doc/synview_map_MapLL.js.html | 2 +- doc/synview_map_MapOL.js.html | 2 +- doc/synview_resource_GeoJSON.js.html | 2 +- doc/synview_resource_GeoJSONTile.js.html | 2 +- doc/synview_resource_Image.js.html | 2 +- doc/synview_resource_OSM.js.html | 2 +- doc/synview_resource_Vector.js.html | 2 +- doc/synview_resource_VectorTile.js.html | 2 +- doc/thermodynamicDiagram_Axis.js.html | 338 +++++++++++ ...rmodynamicDiagram_CoordinateSystem.js.html | 2 +- ...thermodynamicDiagram_DiagramParcel.js.html | 2 +- ...ermodynamicDiagram_DiagramSounding.js.html | 52 +- doc/thermodynamicDiagram_Functions.js.html | 2 +- doc/thermodynamicDiagram_Hodograph.js.html | 8 +- ...ynamicDiagram_PlotAltitudeDataArea.js.html | 2 +- doc/thermodynamicDiagram_TDDiagram.js.html | 11 +- ...rmodynamicDiagram_WindbarbsProfile.js.html | 2 +- ...rmodynamicDiagram_WindspeedProfile.js.html | 169 +++++- ...cDiagram_axes_WindspeedProfileAxis.js.html | 217 +++++++ doc/thermodynamicDiagram_axes_xAxis.js.html | 113 ++-- doc/thermodynamicDiagram_axes_yAxis.js.html | 166 +++--- ...icDiagram_coordinateSystem_Emagram.js.html | 2 +- ..._coordinateSystem_SkewTlogPDiagram.js.html | 2 +- ...ram_coordinateSystem_StueveDiagram.js.html | 2 +- doc/thermodynamicDiagram_plotArea.js.html | 2 +- doc/thermodynamicDiagram_plotDataArea.js.html | 2 +- doc/timeline_Animation.js.html | 2 +- doc/timeline_NavigationButtons.js.html | 2 +- doc/timeline_Visualisation.js.html | 2 +- doc/timeline_animation_ToggleButton.js.html | 2 +- doc/timeline_visualisation_Slider.js.html | 2 +- doc/timeline_visualisation_Text.js.html | 2 +- doc/timeline_visualisation_bsButtons.js.html | 2 +- doc/timeline_visualisation_bsDropdown.js.html | 2 +- doc/tooltip_BootstrapTooltip.js.html | 2 +- meteoJS.min.js | 2 +- meteoJS.min.js.LICENSE.txt | 2 +- meteoJS.min.js.map | 2 +- package-lock.json | 2 +- package.json | 2 +- 231 files changed, 4197 insertions(+), 454 deletions(-) create mode 100644 doc/module-meteoJS_thermodynamicDiagram_axes_windspeedProfileAxis.WindspeedProfileAxis.html create mode 100644 doc/module-meteoJS_thermodynamicDiagram_axes_windspeedProfileAxis.html create mode 100644 doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html create mode 100644 doc/module-meteoJS_thermodynamicDiagram_axis.html create mode 100644 doc/thermodynamicDiagram_Axis.js.html create mode 100644 doc/thermodynamicDiagram_axes_WindspeedProfileAxis.js.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bacee90..0e84cf18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [1.16.0] - 2021-07-30 +### Added +- New base class + [Axis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html) + for the axis classes. +- New class + [WindspeedProfileAxis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axes_windspeedProfileAxis.WindspeedProfileAxis.html) + for the axis for the windspeed profile. +- Added grid and change:windspeedMax event in + [WindspeedProfile](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html) +- Added windspeed profile in default diagram class + [ThermodynamicDiagram](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html) + +### Changed +- [xAxis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html) + and + [yAxis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html) + now inherits from new base class + [Axis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html). +- Added windspeed profile axis and added borders to the hodograph and the windspeed profile + in one of the [examples](https://chird.github.io/meteoJS/examples/thermodynamicdiagram-extended.html). + +### Fixed +- [RepetitiveRequests](https://chird.github.io/meteoJS/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html): + Bugfix for empty requests. +- Doc fixes in + [DiagramSounding](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html) + and + [Hodograph](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html). +- Fix broken highlighted lines in + [TDDiagram](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html). + ## [1.15.0] - 2021-07-16 ### Added - [Hodograph](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html): @@ -255,7 +287,8 @@ will not work anymore, until you pass a callback to `getTimeText`. ### Fixed - Some tests with DOM usage. -[Unreleased]: https://github.com/chird/meteoJS/compare/v1.15.0...HEAD +[Unreleased]: https://github.com/chird/meteoJS/compare/v1.16.0...HEAD +[1.16.0]: https://github.com/chird/meteoJS/compare/v1.15.0...v1.16.0 [1.15.0]: https://github.com/chird/meteoJS/compare/v1.14.7...v1.15.0 [1.14.7]: https://github.com/chird/meteoJS/compare/v1.14.6...v1.14.7 [1.14.6]: https://github.com/chird/meteoJS/compare/v1.14.5...v1.14.6 diff --git a/doc/Modelviewer.js.html b/doc/Modelviewer.js.html index c21f4ba5..9871596f 100644 --- a/doc/Modelviewer.js.html +++ b/doc/Modelviewer.js.html @@ -277,7 +277,7 @@

Source: Modelviewer.js

diff --git a/doc/RepetitiveRequests.js.html b/doc/RepetitiveRequests.js.html index 4eaba793..9fb28938 100644 --- a/doc/RepetitiveRequests.js.html +++ b/doc/RepetitiveRequests.js.html @@ -314,7 +314,7 @@

Source: RepetitiveRequests.js

* defined or is actually loading. In these cases don't throw an * error event. */ if (request !== undefined) - this.trigger('error:request', { request }) + this.trigger('error:request', { request }); }); } @@ -389,7 +389,7 @@

Source: RepetitiveRequests.js

diff --git a/doc/Sounding.js.html b/doc/Sounding.js.html index 65264ef5..c7adcb88 100644 --- a/doc/Sounding.js.html +++ b/doc/Sounding.js.html @@ -277,7 +277,7 @@

Source: Sounding.js

diff --git a/doc/Synview.js.html b/doc/Synview.js.html index 4c470abc..336b6494 100644 --- a/doc/Synview.js.html +++ b/doc/Synview.js.html @@ -201,7 +201,7 @@

Source: Synview.js

diff --git a/doc/ThermodynamicDiagram.js.html b/doc/ThermodynamicDiagram.js.html index 466dbb14..a04cfed0 100644 --- a/doc/ThermodynamicDiagram.js.html +++ b/doc/ThermodynamicDiagram.js.html @@ -42,6 +42,7 @@

Source: ThermodynamicDiagram.js

import Hodograph from './thermodynamicDiagram/Hodograph.js'; import { xAxis as xAxisClass } from './thermodynamicDiagram/axes/xAxis.js'; import { yAxis as yAxisClass } from './thermodynamicDiagram/axes/yAxis.js'; +import { WindspeedProfileAxis as WindspeedProfileAxisClass } from './thermodynamicDiagram/axes/WindspeedProfileAxis.js'; /** * Options for the coordinate system. @@ -69,6 +70,8 @@

Source: ThermodynamicDiagram.js

* [windbarbs] - Options for the windbarbs profile. * @param {module:meteoJS/thermodynamicDiagram/windspeedProfile~options} * [windprofile] - Options for the windspeed profile. + * @param {module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~options} + * [windspeedProfileAxis] - Options for the windspeed profile axis. * @param {module:meteoJS/thermodynamicDiagram/hodograph~options} [hodograph] * Options for the hodograph container. * @param {module:meteoJS/thermodynamicDiagram/axes/xAxis~options} [xAxis] @@ -97,6 +100,7 @@

Source: ThermodynamicDiagram.js

diagram = {}, windbarbsProfile = {}, windspeedProfile = {}, + windspeedProfileAxis = {}, hodograph = {}, xAxis = {}, yAxis = {} @@ -110,6 +114,7 @@

Source: ThermodynamicDiagram.js

diagram = normalizePlotAreaOptions(diagram); windbarbsProfile = normalizePlotAreaOptions(windbarbsProfile); windspeedProfile = normalizePlotAreaOptions(windspeedProfile); + windspeedProfileAxis = normalizePlotAreaOptions(windspeedProfileAxis); hodograph = normalizePlotAreaOptions(hodograph); xAxis = normalizePlotAreaOptions(xAxis); yAxis = normalizePlotAreaOptions(yAxis); @@ -188,6 +193,15 @@

Source: ThermodynamicDiagram.js

xAxis.y = diagram.y + diagram.height; if (xAxis.height === undefined) xAxis.height = defaultPadding; + + if (windspeedProfileAxis.width === undefined) + windspeedProfileAxis.width = windspeedProfile.width; + if (windspeedProfileAxis.height === undefined) + windspeedProfileAxis.height = defaultPadding; + if (windspeedProfileAxis.x === undefined) + windspeedProfileAxis.x = windspeedProfile.x; + if (windspeedProfileAxis.y === undefined) + windspeedProfileAxis.y = windspeedProfile.y + windspeedProfile.height; // Defintionen zum Hodograph if (hodograph.x === undefined) @@ -212,7 +226,16 @@

Source: ThermodynamicDiagram.js

this.appendPlotArea(this.windbarbsProfile); this.windspeedProfile = new WindspeedProfile(windspeedProfile); + this.windspeedProfile.on('prebuild:background', ({ node }) => { + node + .rect(this.windspeedProfile.width, this.windspeedProfile.height) + .fill({ color: 'white' }) + .stroke({ color: 'black', width: 1 }); + }); this.appendPlotArea(this.windspeedProfile); + + this.windspeedProfileAxis = new WindspeedProfileAxisClass(windspeedProfileAxis); + this.appendPlotArea(this.windspeedProfileAxis); this.hodograph = new Hodograph(hodograph); this.hodograph.on('prebuild:background', ({ node }) => { @@ -307,7 +330,7 @@

Source: ThermodynamicDiagram.js

diff --git a/doc/ThermodynamicDiagramPluggable.js.html b/doc/ThermodynamicDiagramPluggable.js.html index c15e34ff..a489ee92 100644 --- a/doc/ThermodynamicDiagramPluggable.js.html +++ b/doc/ThermodynamicDiagramPluggable.js.html @@ -232,7 +232,7 @@

Source: ThermodynamicDiagramPluggable.js

diff --git a/doc/Timeline.js.html b/doc/Timeline.js.html index 1b781855..fa89101a 100644 --- a/doc/Timeline.js.html +++ b/doc/Timeline.js.html @@ -896,7 +896,7 @@

Source: Timeline.js

diff --git a/doc/Tooltip.js.html b/doc/Tooltip.js.html index f02ada25..3af3c156 100644 --- a/doc/Tooltip.js.html +++ b/doc/Tooltip.js.html @@ -155,7 +155,7 @@

Source: Tooltip.js

diff --git a/doc/base_Collection.js.html b/doc/base_Collection.js.html index 06b94f27..b607566c 100644 --- a/doc/base_Collection.js.html +++ b/doc/base_Collection.js.html @@ -318,7 +318,7 @@

Source: base/Collection.js

diff --git a/doc/base_Named.js.html b/doc/base_Named.js.html index b8439251..b1bb8511 100644 --- a/doc/base_Named.js.html +++ b/doc/base_Named.js.html @@ -162,7 +162,7 @@

Source: base/Named.js

diff --git a/doc/base_NamedCollection.js.html b/doc/base_NamedCollection.js.html index 3ccf4fb7..f28b8d43 100644 --- a/doc/base_NamedCollection.js.html +++ b/doc/base_NamedCollection.js.html @@ -110,7 +110,7 @@

Source: base/NamedCollection.js

diff --git a/doc/base_Unique.js.html b/doc/base_Unique.js.html index 1b233b04..a7f4a9af 100644 --- a/doc/base_Unique.js.html +++ b/doc/base_Unique.js.html @@ -83,7 +83,7 @@

Source: base/Unique.js

diff --git a/doc/base_UniqueNamed.js.html b/doc/base_UniqueNamed.js.html index c30c302e..9620e8fd 100644 --- a/doc/base_UniqueNamed.js.html +++ b/doc/base_UniqueNamed.js.html @@ -95,7 +95,7 @@

Source: base/UniqueNamed.js

diff --git a/doc/calc.js.html b/doc/calc.js.html index c67b6146..332d658e 100644 --- a/doc/calc.js.html +++ b/doc/calc.js.html @@ -523,7 +523,7 @@

Source: calc.js

diff --git a/doc/events.js.html b/doc/events.js.html index cf33c762..48fcd5c0 100644 --- a/doc/events.js.html +++ b/doc/events.js.html @@ -165,7 +165,7 @@

Source: Events.js

diff --git a/doc/external-Event.html b/doc/external-Event.html index 8376f97c..d1bae231 100644 --- a/doc/external-Event.html +++ b/doc/external-Event.html @@ -51,7 +51,7 @@

Event

diff --git a/doc/external-HTMLElement.html b/doc/external-HTMLElement.html index e70aa8a8..8d05b2fc 100644 --- a/doc/external-HTMLElement.html +++ b/doc/external-HTMLElement.html @@ -51,7 +51,7 @@

HTMLElement

diff --git a/doc/external-SVG.html b/doc/external-SVG.html index 4563e4e0..d82329d1 100644 --- a/doc/external-SVG.html +++ b/doc/external-SVG.html @@ -51,7 +51,7 @@

SVG

diff --git a/doc/external-XMLHttpRequest.html b/doc/external-XMLHttpRequest.html index bb177124..83ec2e83 100644 --- a/doc/external-XMLHttpRequest.html +++ b/doc/external-XMLHttpRequest.html @@ -51,7 +51,7 @@

XMLHttpRequest

diff --git a/doc/external-jQuery.html b/doc/external-jQuery.html index 064aeb66..9523281f 100644 --- a/doc/external-jQuery.html +++ b/doc/external-jQuery.html @@ -51,7 +51,7 @@

jQuery

diff --git a/doc/external-momentjs.html b/doc/external-momentjs.html index 79b3a6f5..2fb8c72f 100644 --- a/doc/external-momentjs.html +++ b/doc/external-momentjs.html @@ -51,7 +51,7 @@

momentjs

diff --git a/doc/index.html b/doc/index.html index c03d11a7..1b8d9ecc 100644 --- a/doc/index.html +++ b/doc/index.html @@ -4974,12 +4974,12 @@

meteoJS/thermodynamic
-

meteoJS/thermodynamicDiagram/axes/axes/axisLabels

+

meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis

-

meteoJS/thermodynamicDiagram/axes/axisLabels

+

meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis

- meteoJS/thermodynamicDiagram/axes/axisLabels~options + meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis(options) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis#_drawBackground() +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis#addTo(svgNode) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis#coordinateSystem +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis#drawBackground(svgNode) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis#drawLabels(svgNode[, min][, max][, getTextByInterval][, getPositionByInterval]) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis#getExtendedEvent(e, p)
@@ -5015,11 +5055,76 @@

meteoJS/thermodynamicDiagr @@ -5042,6 +5147,11 @@

meteoJS/thermodynamicDiagram/ax @@ -5064,13 +5174,73 @@

meteoJS/thermodynamicDiag
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#_drawBackground() +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#addTo(svgNode) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#coordinateSystem +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#drawBackground(svgNode) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#drawLabels(svgNode[, min][, max][, getTextByInterval][, getPositionByInterval]) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#getExtendedEvent(e, p) +
+
+

- meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#_drawBackground() + meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#getNormalizedLabelsOptions(options) +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#height +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#init() +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#maxExtentLength +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#minExtentLength +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#onCoordinateSystemChange() +
+
+
+
+ meteoJS/thermodynamicDiagram/axes/xAxis.xAxis#style
@@ -5079,6 +5249,31 @@

meteoJS/thermodynamicDiag @@ -5102,7 +5297,7 @@

meteoJS/thermodynamicDiagram/ax

+
+ +
+
+ +

meteoJS/thermodynamicDiagram/coordinateSystem

@@ -7755,6 +8129,16 @@

meteoJS/thermodynamicDiag
+
+ meteoJS/thermodynamicDiagram/windspeedProfile#change:windspeedMax +
+
+
+
+ meteoJS/thermodynamicDiagram/windspeedProfile~getNormalizedIsolineOptions(options) +
+
+

@@ -7765,6 +8149,16 @@

meteoJS/thermodynamicDiag
+
+ meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions +
+
+
+
+ meteoJS/thermodynamicDiagram/windspeedProfile~isotachsOptions +
+
+
@@ -7927,6 +8321,11 @@

meteoJS/
+
+ meteoJS/thermodynamicDiagram/windspeedProfile.WindspeedProfile#windspeedMax +
+
+
meteoJS/thermodynamicDiagram/windspeedProfile.WindspeedProfile#x
@@ -9381,7 +9780,7 @@

meteoJS/tooltip/boots
diff --git a/doc/index.js.html b/doc/index.js.html index 91958671..9f6f0d78 100644 --- a/doc/index.js.html +++ b/doc/index.js.html @@ -216,6 +216,7 @@

Source: index.js

import WindspeedProfile from './thermodynamicDiagram/WindspeedProfile.js'; import xAxis from './thermodynamicDiagram/axes/xAxis.js'; import yAxis from './thermodynamicDiagram/axes/yAxis.js'; +import WindspeedProfileAxis from './thermodynamicDiagram/axes/WindspeedProfileAxis.js'; export const thermodynamicDiagram = { CoordinateSystem, coordinateSystem: { @@ -233,7 +234,8 @@

Source: index.js

WindspeedProfile, axes: { xAxis, - yAxis + yAxis, + WindspeedProfileAxis } }; @@ -245,7 +247,7 @@

Source: index.js

diff --git a/doc/modelviewer_Container.js.html b/doc/modelviewer_Container.js.html index 66b498e1..58ef7ed2 100644 --- a/doc/modelviewer_Container.js.html +++ b/doc/modelviewer_Container.js.html @@ -854,7 +854,7 @@

Source: modelviewer/Container.js

diff --git a/doc/modelviewer_Display.js.html b/doc/modelviewer_Display.js.html index 83b9fc90..bff25cef 100644 --- a/doc/modelviewer_Display.js.html +++ b/doc/modelviewer_Display.js.html @@ -329,7 +329,7 @@

Source: modelviewer/Display.js

diff --git a/doc/modelviewer_NWPResources.js.html b/doc/modelviewer_NWPResources.js.html index d26b720b..b0ec60ab 100644 --- a/doc/modelviewer_NWPResources.js.html +++ b/doc/modelviewer_NWPResources.js.html @@ -182,7 +182,7 @@

Source: modelviewer/NWPResources.js

diff --git a/doc/modelviewer_Node.js.html b/doc/modelviewer_Node.js.html index 64941e14..995a61ca 100644 --- a/doc/modelviewer_Node.js.html +++ b/doc/modelviewer_Node.js.html @@ -397,7 +397,7 @@

Source: modelviewer/Node.js

diff --git a/doc/modelviewer_OffsetVariable.js.html b/doc/modelviewer_OffsetVariable.js.html index 184d79ce..978cc901 100644 --- a/doc/modelviewer_OffsetVariable.js.html +++ b/doc/modelviewer_OffsetVariable.js.html @@ -125,7 +125,7 @@

Source: modelviewer/OffsetVariable.js

diff --git a/doc/modelviewer_Resource.js.html b/doc/modelviewer_Resource.js.html index 4ad0c6e1..e49bbf6e 100644 --- a/doc/modelviewer_Resource.js.html +++ b/doc/modelviewer_Resource.js.html @@ -210,7 +210,7 @@

Source: modelviewer/Resource.js

diff --git a/doc/modelviewer_Resources.js.html b/doc/modelviewer_Resources.js.html index 323fabeb..24c208d5 100644 --- a/doc/modelviewer_Resources.js.html +++ b/doc/modelviewer_Resources.js.html @@ -532,7 +532,7 @@

Source: modelviewer/Resources.js

diff --git a/doc/modelviewer_ResourcesTreeNode.js.html b/doc/modelviewer_ResourcesTreeNode.js.html index e8287661..8f32390b 100644 --- a/doc/modelviewer_ResourcesTreeNode.js.html +++ b/doc/modelviewer_ResourcesTreeNode.js.html @@ -225,7 +225,7 @@

Source: modelviewer/ResourcesTreeNode.js

diff --git a/doc/modelviewer_TimeVariable.js.html b/doc/modelviewer_TimeVariable.js.html index 9a5feed0..1bdf435e 100644 --- a/doc/modelviewer_TimeVariable.js.html +++ b/doc/modelviewer_TimeVariable.js.html @@ -100,7 +100,7 @@

Source: modelviewer/TimeVariable.js

diff --git a/doc/modelviewer_Variable.js.html b/doc/modelviewer_Variable.js.html index 101958de..a79c04bd 100644 --- a/doc/modelviewer_Variable.js.html +++ b/doc/modelviewer_Variable.js.html @@ -91,7 +91,7 @@

Source: modelviewer/Variable.js

diff --git a/doc/modelviewer_VariableCollection.js.html b/doc/modelviewer_VariableCollection.js.html index 1130bcab..ee0ca0ca 100644 --- a/doc/modelviewer_VariableCollection.js.html +++ b/doc/modelviewer_VariableCollection.js.html @@ -163,7 +163,7 @@

Source: modelviewer/VariableCollection.js

diff --git a/doc/modelviewer_display_SelectNavigation.js.html b/doc/modelviewer_display_SelectNavigation.js.html index 6611309d..32bfdfc1 100644 --- a/doc/modelviewer_display_SelectNavigation.js.html +++ b/doc/modelviewer_display_SelectNavigation.js.html @@ -142,7 +142,7 @@

Source: modelviewer/display/SelectNavigation.js

diff --git a/doc/modelviewer_display_Simple.js.html b/doc/modelviewer_display_Simple.js.html index 18e27b1c..baa11546 100644 --- a/doc/modelviewer_display_Simple.js.html +++ b/doc/modelviewer_display_Simple.js.html @@ -132,7 +132,7 @@

Source: modelviewer/display/Simple.js

diff --git a/doc/modelviewer_resource_Image.js.html b/doc/modelviewer_resource_Image.js.html index 630c3029..6584ea3d 100644 --- a/doc/modelviewer_resource_Image.js.html +++ b/doc/modelviewer_resource_Image.js.html @@ -89,7 +89,7 @@

Source: modelviewer/resource/Image.js

diff --git a/doc/modelviewer_resource_Sounding.js.html b/doc/modelviewer_resource_Sounding.js.html index 454d3521..15f6cf19 100644 --- a/doc/modelviewer_resource_Sounding.js.html +++ b/doc/modelviewer_resource_Sounding.js.html @@ -93,7 +93,7 @@

Source: modelviewer/resource/Sounding.js

diff --git a/doc/module-meteoJS.html b/doc/module-meteoJS.html index f23b8d41..7a5518c0 100644 --- a/doc/module-meteoJS.html +++ b/doc/module-meteoJS.html @@ -44,7 +44,7 @@

meteoJS

diff --git a/doc/module-meteoJS_base_collection.Collection.html b/doc/module-meteoJS_base_collection.Collection.html index f0552b43..9216f8e8 100644 --- a/doc/module-meteoJS_base_collection.Collection.html +++ b/doc/module-meteoJS_base_collection.Collection.html @@ -420,7 +420,7 @@

Parameter

diff --git a/doc/module-meteoJS_base_collection.html b/doc/module-meteoJS_base_collection.html index 9762f1a0..cff0a944 100644 --- a/doc/module-meteoJS_base_collection.html +++ b/doc/module-meteoJS_base_collection.html @@ -322,7 +322,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_named.Named.html b/doc/module-meteoJS_base_named.Named.html index d1531eb4..424349fd 100644 --- a/doc/module-meteoJS_base_named.Named.html +++ b/doc/module-meteoJS_base_named.Named.html @@ -315,7 +315,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_named.html b/doc/module-meteoJS_base_named.html index 1d6d248d..d74ae927 100644 --- a/doc/module-meteoJS_base_named.html +++ b/doc/module-meteoJS_base_named.html @@ -146,7 +146,7 @@

Properties

diff --git a/doc/module-meteoJS_base_namedCollection.NamedCollection.html b/doc/module-meteoJS_base_namedCollection.NamedCollection.html index 4114cb14..966ef9d0 100644 --- a/doc/module-meteoJS_base_namedCollection.NamedCollection.html +++ b/doc/module-meteoJS_base_namedCollection.NamedCollection.html @@ -646,7 +646,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_namedCollection.html b/doc/module-meteoJS_base_namedCollection.html index e4c34dcb..ccaa7097 100644 --- a/doc/module-meteoJS_base_namedCollection.html +++ b/doc/module-meteoJS_base_namedCollection.html @@ -146,7 +146,7 @@

Properties

diff --git a/doc/module-meteoJS_base_unique.Unique.html b/doc/module-meteoJS_base_unique.Unique.html index f669984b..b67d419d 100644 --- a/doc/module-meteoJS_base_unique.Unique.html +++ b/doc/module-meteoJS_base_unique.Unique.html @@ -156,7 +156,7 @@

Parameter

diff --git a/doc/module-meteoJS_base_unique.html b/doc/module-meteoJS_base_unique.html index 01124ba9..69d694ed 100644 --- a/doc/module-meteoJS_base_unique.html +++ b/doc/module-meteoJS_base_unique.html @@ -118,7 +118,7 @@

Property

diff --git a/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html b/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html index 82ceb4e5..fe482279 100644 --- a/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html +++ b/doc/module-meteoJS_base_uniquenamed.UniqueNamed.html @@ -342,7 +342,7 @@

Parameters

diff --git a/doc/module-meteoJS_base_uniquenamed.html b/doc/module-meteoJS_base_uniquenamed.html index 8db4963b..7e9a0869 100644 --- a/doc/module-meteoJS_base_uniquenamed.html +++ b/doc/module-meteoJS_base_uniquenamed.html @@ -118,7 +118,7 @@

Property

diff --git a/doc/module-meteoJS_calc.html b/doc/module-meteoJS_calc.html index b861702d..20d9a8bd 100644 --- a/doc/module-meteoJS_calc.html +++ b/doc/module-meteoJS_calc.html @@ -1319,7 +1319,7 @@

Parameter

diff --git a/doc/module-meteoJS_events.html b/doc/module-meteoJS_events.html index 65066f96..3c93a673 100644 --- a/doc/module-meteoJS_events.html +++ b/doc/module-meteoJS_events.html @@ -363,7 +363,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer.Modelviewer.html b/doc/module-meteoJS_modelviewer.Modelviewer.html index 9e9f2f5b..6516f920 100644 --- a/doc/module-meteoJS_modelviewer.Modelviewer.html +++ b/doc/module-meteoJS_modelviewer.Modelviewer.html @@ -210,7 +210,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer.html b/doc/module-meteoJS_modelviewer.html index 204b7fd4..4730244f 100644 --- a/doc/module-meteoJS_modelviewer.html +++ b/doc/module-meteoJS_modelviewer.html @@ -238,7 +238,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_container.Container.html b/doc/module-meteoJS_modelviewer_container.Container.html index 933da1f1..f001d924 100644 --- a/doc/module-meteoJS_modelviewer_container.Container.html +++ b/doc/module-meteoJS_modelviewer_container.Container.html @@ -403,7 +403,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_container.html b/doc/module-meteoJS_modelviewer_container.html index daaa4f18..459a0594 100644 --- a/doc/module-meteoJS_modelviewer_container.html +++ b/doc/module-meteoJS_modelviewer_container.html @@ -621,7 +621,7 @@

change:visibleRe
diff --git a/doc/module-meteoJS_modelviewer_display.Display.html b/doc/module-meteoJS_modelviewer_display.Display.html index c1348cd6..3cdef63d 100644 --- a/doc/module-meteoJS_modelviewer_display.Display.html +++ b/doc/module-meteoJS_modelviewer_display.Display.html @@ -229,7 +229,7 @@

render<
diff --git a/doc/module-meteoJS_modelviewer_display.html b/doc/module-meteoJS_modelviewer_display.html index 7a4df38b..cac43cd3 100644 --- a/doc/module-meteoJS_modelviewer_display.html +++ b/doc/module-meteoJS_modelviewer_display.html @@ -174,7 +174,7 @@

init:display

diff --git a/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html b/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html index ea98bf4c..93407139 100644 --- a/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html +++ b/doc/module-meteoJS_modelviewer_display_selectNavigation.SelectNavigation.html @@ -69,7 +69,7 @@

onInit<
diff --git a/doc/module-meteoJS_modelviewer_display_selectNavigation.html b/doc/module-meteoJS_modelviewer_display_selectNavigation.html index 18c63042..5d876d4a 100644 --- a/doc/module-meteoJS_modelviewer_display_selectNavigation.html +++ b/doc/module-meteoJS_modelviewer_display_selectNavigation.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_modelviewer_display_simple.Simple.html b/doc/module-meteoJS_modelviewer_display_simple.Simple.html index 79fdfa93..18d6d2f4 100644 --- a/doc/module-meteoJS_modelviewer_display_simple.Simple.html +++ b/doc/module-meteoJS_modelviewer_display_simple.Simple.html @@ -106,7 +106,7 @@

onInit<
diff --git a/doc/module-meteoJS_modelviewer_display_simple.html b/doc/module-meteoJS_modelviewer_display_simple.html index ea1e83c0..39df95ea 100644 --- a/doc/module-meteoJS_modelviewer_display_simple.html +++ b/doc/module-meteoJS_modelviewer_display_simple.html @@ -64,7 +64,7 @@

Simple diff --git a/doc/module-meteoJS_modelviewer_node.Node.html b/doc/module-meteoJS_modelviewer_node.Node.html index 727b1c05..1a72fee5 100644 --- a/doc/module-meteoJS_modelviewer_node.Node.html +++ b/doc/module-meteoJS_modelviewer_node.Node.html @@ -440,7 +440,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_node.html b/doc/module-meteoJS_modelviewer_node.html index f7458d4f..113a9bfd 100644 --- a/doc/module-meteoJS_modelviewer_node.html +++ b/doc/module-meteoJS_modelviewer_node.html @@ -116,7 +116,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html b/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html index 07fd0f37..137feec8 100644 --- a/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html +++ b/doc/module-meteoJS_modelviewer_nwpResources.NWPResources.html @@ -287,7 +287,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_nwpResources.html b/doc/module-meteoJS_modelviewer_nwpResources.html index ef40a585..151229f4 100644 --- a/doc/module-meteoJS_modelviewer_nwpResources.html +++ b/doc/module-meteoJS_modelviewer_nwpResources.html @@ -64,7 +64,7 @@

NWPResou diff --git a/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html b/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html index 6c916d00..cc858e50 100644 --- a/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html +++ b/doc/module-meteoJS_modelviewer_offsetVariable.OffsetVariable.html @@ -128,7 +128,7 @@

run
diff --git a/doc/module-meteoJS_modelviewer_offsetVariable.html b/doc/module-meteoJS_modelviewer_offsetVariable.html index 23afb75e..65195fd7 100644 --- a/doc/module-meteoJS_modelviewer_offsetVariable.html +++ b/doc/module-meteoJS_modelviewer_offsetVariable.html @@ -132,7 +132,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_resource.Resource.html b/doc/module-meteoJS_modelviewer_resource.Resource.html index ae55dd27..678d03f6 100644 --- a/doc/module-meteoJS_modelviewer_resource.Resource.html +++ b/doc/module-meteoJS_modelviewer_resource.Resource.html @@ -310,7 +310,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resource.html b/doc/module-meteoJS_modelviewer_resource.html index 0f8dc83c..2515d0d1 100644 --- a/doc/module-meteoJS_modelviewer_resource.html +++ b/doc/module-meteoJS_modelviewer_resource.html @@ -161,7 +161,7 @@

Parameters

diff --git a/doc/module-meteoJS_modelviewer_resource_image.Image.html b/doc/module-meteoJS_modelviewer_resource_image.Image.html index 01949ec0..e8374213 100644 --- a/doc/module-meteoJS_modelviewer_resource_image.Image.html +++ b/doc/module-meteoJS_modelviewer_resource_image.Image.html @@ -103,7 +103,7 @@

url
diff --git a/doc/module-meteoJS_modelviewer_resource_image.html b/doc/module-meteoJS_modelviewer_resource_image.html index c28d677c..99384370 100644 --- a/doc/module-meteoJS_modelviewer_resource_image.html +++ b/doc/module-meteoJS_modelviewer_resource_image.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html b/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html index f6bc6dde..eb17dd4a 100644 --- a/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html +++ b/doc/module-meteoJS_modelviewer_resource_sounding.Sounding.html @@ -103,7 +103,7 @@

sounding diff --git a/doc/module-meteoJS_modelviewer_resource_sounding.html b/doc/module-meteoJS_modelviewer_resource_sounding.html index 0b899cef..1d7f4ec7 100644 --- a/doc/module-meteoJS_modelviewer_resource_sounding.html +++ b/doc/module-meteoJS_modelviewer_resource_sounding.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resources.Resources.html b/doc/module-meteoJS_modelviewer_resources.Resources.html index 2716eda4..d75a0111 100644 --- a/doc/module-meteoJS_modelviewer_resources.Resources.html +++ b/doc/module-meteoJS_modelviewer_resources.Resources.html @@ -601,7 +601,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_resources.html b/doc/module-meteoJS_modelviewer_resources.html index a24c393f..13be119e 100644 --- a/doc/module-meteoJS_modelviewer_resources.html +++ b/doc/module-meteoJS_modelviewer_resources.html @@ -201,7 +201,7 @@

Properties

diff --git a/doc/module-meteoJS_modelviewer_resourcesTreeNode.ResourcesTreeNode.html b/doc/module-meteoJS_modelviewer_resourcesTreeNode.ResourcesTreeNode.html index e244dbd3..b3cff542 100644 --- a/doc/module-meteoJS_modelviewer_resourcesTreeNode.ResourcesTreeNode.html +++ b/doc/module-meteoJS_modelviewer_resourcesTreeNode.ResourcesTreeNode.html @@ -328,7 +328,7 @@

removeChild diff --git a/doc/module-meteoJS_modelviewer_resourcesTreeNode.html b/doc/module-meteoJS_modelviewer_resourcesTreeNode.html index 19047f8d..75ddc691 100644 --- a/doc/module-meteoJS_modelviewer_resourcesTreeNode.html +++ b/doc/module-meteoJS_modelviewer_resourcesTreeNode.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html b/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html index c44b2c9d..f75fe1e4 100644 --- a/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html +++ b/doc/module-meteoJS_modelviewer_timeVariable.TimeVariable.html @@ -124,7 +124,7 @@

setId diff --git a/doc/module-meteoJS_modelviewer_timeVariable.html b/doc/module-meteoJS_modelviewer_timeVariable.html index 18c00485..457d8838 100644 --- a/doc/module-meteoJS_modelviewer_timeVariable.html +++ b/doc/module-meteoJS_modelviewer_timeVariable.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_variable.Variable.html b/doc/module-meteoJS_modelviewer_variable.Variable.html index a39a565b..dc1b9dc1 100644 --- a/doc/module-meteoJS_modelviewer_variable.Variable.html +++ b/doc/module-meteoJS_modelviewer_variable.Variable.html @@ -103,7 +103,7 @@

variableCollection<
diff --git a/doc/module-meteoJS_modelviewer_variable.html b/doc/module-meteoJS_modelviewer_variable.html index ba02cde0..dead8ece 100644 --- a/doc/module-meteoJS_modelviewer_variable.html +++ b/doc/module-meteoJS_modelviewer_variable.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html b/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html index c0059379..26a4ea90 100644 --- a/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html +++ b/doc/module-meteoJS_modelviewer_variableCollection.VariableCollection.html @@ -198,7 +198,7 @@

setId diff --git a/doc/module-meteoJS_modelviewer_variableCollection.html b/doc/module-meteoJS_modelviewer_variableCollection.html index 04950758..ab398d99 100644 --- a/doc/module-meteoJS_modelviewer_variableCollection.html +++ b/doc/module-meteoJS_modelviewer_variableCollection.html @@ -179,7 +179,7 @@

Parameter

diff --git a/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html b/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html index 66142d2c..08a601af 100644 --- a/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html +++ b/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html @@ -169,7 +169,7 @@

stop diff --git a/doc/module-meteoJS_repetitiveRequests.html b/doc/module-meteoJS_repetitiveRequests.html index 24bafd4b..8dbda6b5 100644 --- a/doc/module-meteoJS_repetitiveRequests.html +++ b/doc/module-meteoJS_repetitiveRequests.html @@ -326,7 +326,7 @@

Property

diff --git a/doc/module-meteoJS_sounding.Sounding.html b/doc/module-meteoJS_sounding.Sounding.html index dc3daa46..899e1fbd 100644 --- a/doc/module-meteoJS_sounding.Sounding.html +++ b/doc/module-meteoJS_sounding.Sounding.html @@ -403,7 +403,7 @@

Parameter

diff --git a/doc/module-meteoJS_sounding.html b/doc/module-meteoJS_sounding.html index d027076a..e11e8700 100644 --- a/doc/module-meteoJS_sounding.html +++ b/doc/module-meteoJS_sounding.html @@ -347,7 +347,7 @@

Parameter

diff --git a/doc/module-meteoJS_sounding_parcel.Parcel.html b/doc/module-meteoJS_sounding_parcel.Parcel.html index ea0ab4e1..3e6547b6 100644 --- a/doc/module-meteoJS_sounding_parcel.Parcel.html +++ b/doc/module-meteoJS_sounding_parcel.Parcel.html @@ -502,7 +502,7 @@

Parameter

diff --git a/doc/module-meteoJS_sounding_parcel.html b/doc/module-meteoJS_sounding_parcel.html index 1c3be7ae..049d908b 100644 --- a/doc/module-meteoJS_sounding_parcel.html +++ b/doc/module-meteoJS_sounding_parcel.html @@ -706,7 +706,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview.html b/doc/module-meteoJS_synview.html index da183df5..e4ae3951 100644 --- a/doc/module-meteoJS_synview.html +++ b/doc/module-meteoJS_synview.html @@ -301,7 +301,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_collection.Collection.html b/doc/module-meteoJS_synview_collection.Collection.html index 5b929400..afe7c505 100644 --- a/doc/module-meteoJS_synview_collection.Collection.html +++ b/doc/module-meteoJS_synview_collection.Collection.html @@ -309,7 +309,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_collection.html b/doc/module-meteoJS_synview_collection.html index a94257b6..55b62bb9 100644 --- a/doc/module-meteoJS_synview_collection.html +++ b/doc/module-meteoJS_synview_collection.html @@ -206,7 +206,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_map.SynviewMap.html b/doc/module-meteoJS_synview_map.SynviewMap.html index 214d880e..2b94525a 100644 --- a/doc/module-meteoJS_synview_map.SynviewMap.html +++ b/doc/module-meteoJS_synview_map.SynviewMap.html @@ -342,7 +342,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_map.html b/doc/module-meteoJS_synview_map.html index ea701030..70c6ab56 100644 --- a/doc/module-meteoJS_synview_map.html +++ b/doc/module-meteoJS_synview_map.html @@ -278,7 +278,7 @@

singleclick:pointer
diff --git a/doc/module-meteoJS_synview_map_ll.MapLL.html b/doc/module-meteoJS_synview_map_ll.MapLL.html index 7ba4d5d6..6352787d 100644 --- a/doc/module-meteoJS_synview_map_ll.MapLL.html +++ b/doc/module-meteoJS_synview_map_ll.MapLL.html @@ -328,7 +328,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_map_ll.html b/doc/module-meteoJS_synview_map_ll.html index 46fe5ea5..d725a30f 100644 --- a/doc/module-meteoJS_synview_map_ll.html +++ b/doc/module-meteoJS_synview_map_ll.html @@ -64,7 +64,7 @@

MapLL

diff --git a/doc/module-meteoJS_synview_map_ol.MapOL.html b/doc/module-meteoJS_synview_map_ol.MapOL.html index eb2f8c06..7da48c72 100644 --- a/doc/module-meteoJS_synview_map_ol.MapOL.html +++ b/doc/module-meteoJS_synview_map_ol.MapOL.html @@ -308,7 +308,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_map_ol.html b/doc/module-meteoJS_synview_map_ol.html index 3065ed4f..2f8d458f 100644 --- a/doc/module-meteoJS_synview_map_ol.html +++ b/doc/module-meteoJS_synview_map_ol.html @@ -100,7 +100,7 @@

projwgs84 diff --git a/doc/module-meteoJS_synview_resource.Resource.html b/doc/module-meteoJS_synview_resource.Resource.html index bcc85f2b..4564dcf6 100644 --- a/doc/module-meteoJS_synview_resource.Resource.html +++ b/doc/module-meteoJS_synview_resource.Resource.html @@ -491,7 +491,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource.html b/doc/module-meteoJS_synview_resource.html index 088aae68..20bc0184 100644 --- a/doc/module-meteoJS_synview_resource.html +++ b/doc/module-meteoJS_synview_resource.html @@ -260,7 +260,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html b/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html index d0a9e8d1..e9326dda 100644 --- a/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html +++ b/doc/module-meteoJS_synview_resourceCollection.ResourceCollection.html @@ -517,7 +517,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resourceCollection.html b/doc/module-meteoJS_synview_resourceCollection.html index 1a9eca84..650deafb 100644 --- a/doc/module-meteoJS_synview_resourceCollection.html +++ b/doc/module-meteoJS_synview_resourceCollection.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html b/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html index abe7f929..fe88fded 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html +++ b/doc/module-meteoJS_synview_resource_GeoJSON.GeoJSON.html @@ -549,7 +549,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_GeoJSON.html b/doc/module-meteoJS_synview_resource_GeoJSON.html index 555c31b1..2d2ec326 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSON.html +++ b/doc/module-meteoJS_synview_resource_GeoJSON.html @@ -64,7 +64,7 @@

GeoJSON diff --git a/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html b/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html index 1537d67b..262e1322 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html +++ b/doc/module-meteoJS_synview_resource_GeoJSONTile.GeoJSONTile.html @@ -81,7 +81,7 @@

makeOLLayer diff --git a/doc/module-meteoJS_synview_resource_GeoJSONTile.html b/doc/module-meteoJS_synview_resource_GeoJSONTile.html index 0d080622..e5eed800 100644 --- a/doc/module-meteoJS_synview_resource_GeoJSONTile.html +++ b/doc/module-meteoJS_synview_resource_GeoJSONTile.html @@ -64,7 +64,7 @@

GeoJS diff --git a/doc/module-meteoJS_synview_resource_Image.ImageStatic.html b/doc/module-meteoJS_synview_resource_Image.ImageStatic.html index 950e1fc4..0dc816ed 100644 --- a/doc/module-meteoJS_synview_resource_Image.ImageStatic.html +++ b/doc/module-meteoJS_synview_resource_Image.ImageStatic.html @@ -538,7 +538,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_Image.html b/doc/module-meteoJS_synview_resource_Image.html index ac47f252..7489594b 100644 --- a/doc/module-meteoJS_synview_resource_Image.html +++ b/doc/module-meteoJS_synview_resource_Image.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_OSM.OSM.html b/doc/module-meteoJS_synview_resource_OSM.OSM.html index e3bcc346..6871acd5 100644 --- a/doc/module-meteoJS_synview_resource_OSM.OSM.html +++ b/doc/module-meteoJS_synview_resource_OSM.OSM.html @@ -506,7 +506,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_OSM.html b/doc/module-meteoJS_synview_resource_OSM.html index a7f589a9..171ea2a4 100644 --- a/doc/module-meteoJS_synview_resource_OSM.html +++ b/doc/module-meteoJS_synview_resource_OSM.html @@ -64,7 +64,7 @@

OSM

diff --git a/doc/module-meteoJS_synview_resource_Vector.Vector.html b/doc/module-meteoJS_synview_resource_Vector.Vector.html index 05076fca..262015c8 100644 --- a/doc/module-meteoJS_synview_resource_Vector.Vector.html +++ b/doc/module-meteoJS_synview_resource_Vector.Vector.html @@ -547,7 +547,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_resource_Vector.html b/doc/module-meteoJS_synview_resource_Vector.html index b5bf6ed3..17d27d29 100644 --- a/doc/module-meteoJS_synview_resource_Vector.html +++ b/doc/module-meteoJS_synview_resource_Vector.html @@ -64,7 +64,7 @@

Vector

diff --git a/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html b/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html index 8ba23d43..4470e1a4 100644 --- a/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html +++ b/doc/module-meteoJS_synview_resource_VectorTile.VectorTile.html @@ -79,7 +79,7 @@

makeOLLayer diff --git a/doc/module-meteoJS_synview_resource_VectorTile.html b/doc/module-meteoJS_synview_resource_VectorTile.html index 4977f36f..3ad0acd6 100644 --- a/doc/module-meteoJS_synview_resource_VectorTile.html +++ b/doc/module-meteoJS_synview_resource_VectorTile.html @@ -64,7 +64,7 @@

VectorT diff --git a/doc/module-meteoJS_synview_tooltip.Tooltip.html b/doc/module-meteoJS_synview_tooltip.Tooltip.html index d605bb27..1ecf7968 100644 --- a/doc/module-meteoJS_synview_tooltip.Tooltip.html +++ b/doc/module-meteoJS_synview_tooltip.Tooltip.html @@ -80,7 +80,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_tooltip.html b/doc/module-meteoJS_synview_tooltip.html index d41e87eb..ce370243 100644 --- a/doc/module-meteoJS_synview_tooltip.html +++ b/doc/module-meteoJS_synview_tooltip.html @@ -191,7 +191,7 @@

Parameters

diff --git a/doc/module-meteoJS_synview_type.Type.html b/doc/module-meteoJS_synview_type.Type.html index 23b2b834..05ffae92 100644 --- a/doc/module-meteoJS_synview_type.Type.html +++ b/doc/module-meteoJS_synview_type.Type.html @@ -619,7 +619,7 @@

Parameter

diff --git a/doc/module-meteoJS_synview_type.html b/doc/module-meteoJS_synview_type.html index b86710bd..0f416efe 100644 --- a/doc/module-meteoJS_synview_type.html +++ b/doc/module-meteoJS_synview_type.html @@ -340,7 +340,7 @@

change:visible diff --git a/doc/module-meteoJS_synview_typeCollection.TypeCollection.html b/doc/module-meteoJS_synview_typeCollection.TypeCollection.html index dec15a72..809a372c 100644 --- a/doc/module-meteoJS_synview_typeCollection.TypeCollection.html +++ b/doc/module-meteoJS_synview_typeCollection.TypeCollection.html @@ -400,7 +400,7 @@

setSyncVisibility diff --git a/doc/module-meteoJS_synview_typeCollection.html b/doc/module-meteoJS_synview_typeCollection.html index b741fefc..3b5054be 100644 --- a/doc/module-meteoJS_synview_typeCollection.html +++ b/doc/module-meteoJS_synview_typeCollection.html @@ -133,7 +133,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html b/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html index 54387c90..6f3f4e55 100644 --- a/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html @@ -26,7 +26,7 @@

Class

+

Abstract type

+
+
inner
+

labelOptions +  module:meteoJS/thermodynamicDiagram/axis~labelsOptions

+

Definitions for the labels of the x-axis of the thermodynamic diagram.

+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

interval

+
+

number

+
+

Yes

+
+

Interval between the labels.

+

Defaults to 10.

+
+

unit

+
+

string

+
+

Yes

+
+

Unit of the label values. Allowed values: '°C', 'K'.

+

Defaults to '°C'.

+
+
+
+
+
@@ -64,7 +134,7 @@

xAxis diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html index 49358ea5..b09686b4 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html @@ -26,7 +26,7 @@
-

Method

+

Properties

+
+ +
+
+
style
+
+
+
svgNode
+
+
+
visible
+
+
+
width
+
+
+
+
+
+
+
x
+
+
+
y
+
+
+
+
+
+
+ @@ -55,15 +127,362 @@

Method

new xAxis()

Extends
-
module:meteoJS/thermodynamicDiagram/axes/yAxis.yAxis
+
module:meteoJS/thermodynamicDiagram/axis.Axis
-

Method

+

Properties

+
+
public
+

coordinateSystem +  unknown

+

Coordinate system.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#coordinateSystem
+
+
public
+

height +  unknown

+

Height of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#height
+
+
read-only
+

maxExtentLength +  unknown

+

Maximal extent length (either width or height).

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#maxExtentLength
+
+
read-only
+

minExtentLength +  unknown

+

Minimal extent length (either width or height).

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#minExtentLength
+
+
public
+

style +  unknown

+

Overflow-style of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#style
+
+
public read-only
+

svgNode +  unknown

+

SVG container node.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#svgNode
+
+
public
+

visible +  unknown

+

Visibility of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#visible
+
+
public
+

width +  unknown

+

Width of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#width
+
+
public
+

x +  unknown

+

X of the top-left edge.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#x
+
+
public
+

y +  unknown

+

Y of the top-left edge.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#y
+
+
+

Methods

_drawBackground()

Draw background into SVG group.

+
Inherited from
+
module:meteoJS/thermodynamicDiagram/axis.Axis#_drawBackground
+
+

addTo(svgNode)

+

Sets the plot area as a child of the argument.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

 

+
+

 

+
+

SVG node.

+
+
+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#addTo
+
+
protected
+

drawBackground(svgNode)

+

Draw background into SVG group.

+

This method is only called, when this.coordinateSystem isn't undefined.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

 

+
+

 

+
+

SVG group, SVG.G.

+
+
+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#drawBackground
+
+

drawLabels(svgNode[, min][, max][, getTextByInterval][, getPositionByInterval])

+

Draws the labels of the axis.

+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

external:SVG

+
+

 

+
+

Node to draw into.

+
+

min

+
+

number

+
+

Yes

+
+

Minimum temperature value to label.

+
+

max

+
+

number

+
+

Yes

+
+

Maximum temperature value to label.

+
+

getTextByInterval

+
+

function()

+
+

Yes

+
+

Returns the text representation of the label value (its argument).

+
+

getPositionByInterval

+
+

function()

+
+

Yes

+
+

Returns the position in pixels of the label value (its argument).

+
+
+
+
+
protected
+

getExtendedEvent(e, p)

+

Extend an event with some properties.

+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

e

+
+

 

+
+

 

+
+

Event.

+
+

p

+
+

 

+
+

 

+
+

Point.

+
+
+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#getExtendedEvent
+
+

getNormalizedLabelsOptions(options) → module:meteoJS/thermodynamicDiagram/axes/xAxis~labelOptions

+

Normalize the options for the labels.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

options

+
+

module:meteoJS/thermodynamicDiagram/axes/xAxis~labelOptions

+
+

 

+
+

Options.

+
+
+
+
Returns
+
+

module:meteoJS/thermodynamicDiagram/axes/xAxis~labelOptions Normalized options.

+
+
+
protected
+

init()

+

Init the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#init
+
+
protected
+

onCoordinateSystemChange()

+

Called, when the coordinateSystem object changes.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#onCoordinateSystemChange
@@ -75,7 +494,7 @@

_drawBackground diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html index 3ea8fc22..40216477 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.html @@ -50,16 +50,21 @@

Child class

-

Abstract type

+

Abstract types

+
+
options
+
+
+
@@ -71,12 +76,12 @@

Class

-

Abstract type

+

Abstract types

inner
-

options -  module:meteoJS/thermodynamicDiagram/plotArea~options

-

Options for the constructor.

+

labelOptions +  module:meteoJS/thermodynamicDiagram/axis~labelsOptions

+

Definitions for the labels of the windspeed profile axis.

Properties

@@ -91,30 +96,66 @@

Properties

+ + + + + +
-

labels

+

interval

-

module:meteoJS/thermodynamicDiagram/axes/axisLabels~options

+

number

-

 

+

Yes

-

Options for the yAxis Labels.

+

Interval between the labels.

+

Defaults to 50.

-

title

+

unit

+
+

string

+
+

Yes

+
+

Defaults to 'hPa'.

+
+
+
+
+
inner
+

options +  module:meteoJS/thermodynamicDiagram/axis~options

+

Options for the constructor.

+
+

Property

+ + + + + + + + + + + + @@ -132,7 +173,7 @@

Properties

diff --git a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html index 1f38f801..97044240 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html +++ b/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html @@ -26,7 +26,7 @@
NameTypeOptionalDescription
+

labels

-

module:meteoJS/thermodynamicDiagram/axes/axisTitle~options

+

module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions

-

 

+

Yes

-

Options for the title of the x-Axis.

+

Options for the labels.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

external:SVG

+
+

 

+
+

Node to draw into.

+
+

min

+
+

number

+
+

Yes

+
+

Minimum windspeed value to label.

+
+

max

+
+

number

+
+

Yes

+
+

Maximum windspeed value to label.

+
+

getTextByInterval

+
+

function()

+
+

Yes

+
+

Returns the text representation of the label value (its argument).

+
+

getPositionByInterval

+
+

function()

+
+

Yes

+
+

Returns the position in pixels of the label value (its argument).

+
+
+
+
protected

getExtendedEvent(e, p)

Extend an event with some properties.

@@ -365,6 +462,43 @@

Parameters

Inherited from
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#getExtendedEvent
+

getNormalizedLabelsOptions(options) → module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions

+

Normalize the options for the labels.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

options

+
+

module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions

+
+

 

+
+

Options.

+
+
+
+
Returns
+
+

module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions Normalized options.

+
+
protected

init()

Init the area.

@@ -389,7 +523,7 @@

onCoordinateSystemCh
diff --git a/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html b/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html new file mode 100644 index 00000000..04801b32 --- /dev/null +++ b/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html @@ -0,0 +1,536 @@ + + + + + + + Class: Axis + + + + + + + + +
+
+
+
+ +
+
+

Properties

+
+
+
+
coordinateSystem
+
+
+
height
+
+
+
maxExtentLength
+
+
+
minExtentLength
+
+
+
+
+
+
+
style
+
+
+
svgNode
+
+
+
visible
+
+
+
width
+
+
+
+
+
+
+
x
+
+
+
y
+
+
+
+
+
+
+ +
+
+

new Axis(options)

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

options

+
+

 

+
+

 

+
+

Options.

+
+
+
+
Extends
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea
+
+
+
+

Properties

+
+
public
+

coordinateSystem +  unknown

+

Coordinate system.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#coordinateSystem
+
+
public
+

height +  unknown

+

Height of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#height
+
+
read-only
+

maxExtentLength +  unknown

+

Maximal extent length (either width or height).

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#maxExtentLength
+
+
read-only
+

minExtentLength +  unknown

+

Minimal extent length (either width or height).

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#minExtentLength
+
+
public
+

style +  unknown

+

Overflow-style of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#style
+
+
public read-only
+

svgNode +  unknown

+

SVG container node.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#svgNode
+
+
public
+

visible +  unknown

+

Visibility of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#visible
+
+
public
+

width +  unknown

+

Width of the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#width
+
+
public
+

x +  unknown

+

X of the top-left edge.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#x
+
+
public
+

y +  unknown

+

Y of the top-left edge.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#y
+
+
+

Methods

+
+

_drawBackground()

+

Draw background into SVG group.

+
+
+

addTo(svgNode)

+

Sets the plot area as a child of the argument.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

 

+
+

 

+
+

SVG node.

+
+
+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#addTo
+
+
protected
+

drawBackground(svgNode)

+

Draw background into SVG group.

+

This method is only called, when this.coordinateSystem isn't undefined.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

 

+
+

 

+
+

SVG group, SVG.G.

+
+
+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#drawBackground
+
+

drawLabels(svgNode, min, max, getTextByInterval, getPositionByInterval)

+

Draws the labels of the axis.

+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

svgNode

+
+

external:SVG

+
+

 

+
+

Node to draw into.

+
+

min

+
+

number

+
+

 

+
+

Minimum value for the labels.

+
+

max

+
+

number

+
+

 

+
+

Maximum value for the labels.

+
+

getTextByInterval

+
+

function()

+
+

 

+
+

Returns the text representation of the label value (its argument).

+
+

getPositionByInterval

+
+

function()

+
+

 

+
+

Returns the position in pixels of the label value (its argument).

+
+
+
+
+
protected
+

getExtendedEvent(e, p)

+

Extend an event with some properties.

+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

e

+
+

 

+
+

 

+
+

Event.

+
+

p

+
+

 

+
+

 

+
+

Point.

+
+
+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#getExtendedEvent
+
+

getNormalizedLabelsOptions(options) → module:meteoJS/thermodynamicDiagram/axis~labelsOptions

+

Normalize the options for the labels.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

options

+
+

module:meteoJS/thermodynamicDiagram/axis~labelsOptions

+
+

 

+
+

Options.

+
+
+
+
Returns
+
+

module:meteoJS/thermodynamicDiagram/axis~labelsOptions Normalized options.

+
+
+
protected
+

init()

+

Init the area.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#init
+
+
protected
+

onCoordinateSystemChange()

+

Called, when the coordinateSystem object changes.

+
+
Inherited from
+
module:meteoJS/thermodynamicDiagram/plotArea.PlotArea#onCoordinateSystemChange
+
+
+
+
+
+ +
+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/module-meteoJS_thermodynamicDiagram_axis.html b/doc/module-meteoJS_thermodynamicDiagram_axis.html new file mode 100644 index 00000000..4fb646cf --- /dev/null +++ b/doc/module-meteoJS_thermodynamicDiagram_axis.html @@ -0,0 +1,344 @@ + + + + + + + Module: meteoJS/thermodynamicDiagram/axis + + + + + + + + +
+
+
+
+ +
+
+

Child class

+
+
+
+
Axis(options)
+
+
+
+
+
+
+
+
+
+
+
+

Method

+
+ +
+
+
+
+
+
+
+

Abstract types

+
+
+
+
labelsOptions
+
+
+
+
+
+
+
options
+
+
+
+
+
+
+
titleOptions
+
+
+
+
+
+
+
+
+

Class

+ +

Method

+
+
inner
+

getNormalizedTitleOptions(options) → module:meteoJS/thermodynamicDiagram/axis~titleOptions

+

Normalize the options for the title.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

options

+
+

module:meteoJS/thermodynamicDiagram/axis~titleOptions

+
+

 

+
+

Options.

+
+
+
+
Returns
+
+

module:meteoJS/thermodynamicDiagram/axis~titleOptions Normalized options.

+
+
+
+

Abstract types

+
+
inner
+

labelsOptions +  module:meteoJS/thermodynamicDiagram~textOptions

+

Definitions for the labels of an axis.

+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

interval

+
+

number

+
+

Yes

+
+

Interval between the labels.

+
+

unit

+
+

string

+
+

Yes

+
+

Unit of the label values.

+
+

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.

+
+
+
+
+
inner
+

options +  module:meteoJS/thermodynamicDiagram/plotArea~options

+

Options for the constructor.

+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

labels

+
+

module:meteoJS/thermodynamicDiagram/axis~labelsOptions

+
+

 

+
+

Options for the yAxis Labels.

+
+

title

+
+

module:meteoJS/thermodynamicDiagram/axis~titleOptions

+
+

 

+
+

Options for the title of the Axis.

+
+

isHorizontal

+
+

boolean

+
+

Yes

+
+

Internal. Is the axis horizontal or vertical.

+

Defaults to true.

+
+
+
+
+
inner
+

titleOptions +  module:meteoJS/thermodynamicDiagram~textOptions

+

Title definition for an axis.

+
+

Property

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

text

+
+

string

+
+

Yes

+
+

Title text.

+

Defaults to ''.

+
+
+
+
+
+
+
+
+ +
+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html index 57f98858..6ddf222e 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.CoordinateSystem.html @@ -1374,7 +1374,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html index 4a8d9f7d..1ed17b99 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem.html @@ -330,7 +330,7 @@

change:options diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html index 6f92e360..978bdee0 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.Emagram.html @@ -1394,7 +1394,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html index 34af42ab..03defabf 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_emagram.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html index fba538e6..fb72dbda 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.SkewTlogPDiagram.html @@ -1391,7 +1391,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html index 99a99fb9..cd106032 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_skewTlogPDiagram.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html index dd90892e..2cab107a 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.StueveDiagram.html @@ -1397,7 +1397,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html index ece68892..498dbbc0 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_coordinateSystem_stueveDiagram.html @@ -64,7 +64,7 @@

diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html index ef989fd2..8382ad85 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.DiagramParcel.html @@ -237,7 +237,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html index 9bacee83..4e1adc9d 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramParcel.html @@ -263,7 +263,7 @@

change:visible diff --git a/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html b/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html index ab576146..121e3fcb 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html +++ b/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html @@ -26,7 +26,7 @@

Options for the circle grid.

Parameter

@@ -209,7 +209,7 @@

Properties

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

-

Defaults to 45.

+

Defaults to 225.

@@ -466,7 +466,7 @@

Properties

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

-

Defaults to 'km/h'.

+

Defaults to 'kn'.

@@ -746,7 +746,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html index 24b8eda6..daea4b24 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.PlotAltitudeDataArea.html @@ -701,7 +701,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html index 78cb618d..f7558769 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotAltitudeDataArea.html @@ -160,7 +160,7 @@

Property

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html index 2a72ca83..c7f5abc6 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotArea.PlotArea.html @@ -408,7 +408,7 @@

onCoordinateSystemCh
diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotArea.html index 92ab4cb7..2f8ee458 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotArea.html @@ -657,7 +657,7 @@

prebuild:background
diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html index 12b36d18..7f96f55f 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.PlotDataArea.html @@ -722,7 +722,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html index 0531dcc8..fcdd9ccd 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html +++ b/doc/module-meteoJS_thermodynamicDiagram_plotDataArea.html @@ -1065,7 +1065,7 @@

remove:sounding<
diff --git a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html index 75fc5169..7e6dbaa9 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html @@ -946,7 +946,7 @@

Parameter

diff --git a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html index ab6c47f7..7f62231c 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html +++ b/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.html @@ -894,7 +894,7 @@

touchstart diff --git a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html index 85ba6e5f..97498038 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.WindbarbsProfile.html @@ -706,7 +706,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html index a90732a5..e30a8045 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windbarbsProfile.html @@ -134,7 +134,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html index 8a59be37..a4e4117a 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html @@ -26,7 +26,7 @@

@@ -285,6 +290,11 @@

widthmodule:meteoJS/thermodynamicDiagram/plotArea.PlotArea#width +

windspeedMax +  number

+

The maximum visible windspeed. Unit: m/s.

+
+
public

x  unknown

@@ -670,7 +680,7 @@

Parameters

diff --git a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html index 38b13a1b..8e6af083 100644 --- a/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html +++ b/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.html @@ -49,6 +49,22 @@

Child class

+
+

Method

+
+ +
+
+
+
+
+

Abstract types

@@ -57,10 +73,16 @@

Abstract types

hoverLabelsOptions
+
isobarsOptions
+
+
+
isotachsOptions
+
+
options
@@ -70,12 +92,69 @@

Abstract types

+
+

Event

+
+
+
+
change:windspeedMax
+
+
+
+
+
+
+
+
+
+

Class

+

Method

+
+
inner
+

getNormalizedIsolineOptions(options) → (module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions or module:meteoJS/thermodynamicDiagram/windspeedProfile~windspeedOptions)

+

Normalize grid options.

+
+

Parameter

+ + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

options

+
+

(module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions or module:meteoJS/thermodynamicDiagram/windspeedProfile~windspeedOptions)

+
+

 

+
+

Options.

+
+
+
+
Returns
+
+

(module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions or module:meteoJS/thermodynamicDiagram/windspeedProfile~windspeedOptions) Normalized options.

+
+
+

Abstract types

inner
@@ -83,7 +162,7 @@

hoverLabelsOptions  module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea~hoverLabelsOptions

Options for labels on hovering the windspeed profile.

-

Parameter

+

Properties

@@ -94,6 +173,20 @@

Parameter

+ + + + + +
+

windspeed

+
+

module:meteoJS/thermodynamicDiagram/tdDiagram~labelsOptions

+
+

Yes

+
+

Options for windspeed label.

+

windspeedMax

@@ -105,15 +198,21 @@

Parameter

Yes

-

The maximum visible windspeed [m/s].

-

Defaults to 41.67.

+

The maximum visible windspeed. Unit: m/s.

+

Defaults to 77.17.

+
+
+
inner
+

isobarsOptions +  module:meteoJS/thermodynamicDiagram~lineOptions

+

Isobar grid lines.

-

Property

+

Properties

@@ -126,16 +225,113 @@

Property

+ + + + + + + + + + + + + + +
-

windspeed

+

max

-

module:meteoJS/thermodynamicDiagram/tdDiagram~labelsOptions

+

number

Yes

-

Options for windspeed label.

+

Maximum isobar value for the grid lines. By default, this is the + maximum pressure of the coordinate system for x=0.

+
+

min

+
+

number

+
+

Yes

+
+

Minimum isobar value for the grid lines. By default, this is the + minimum pressure of the coordinate system for x=0.

+
+

interval

+
+

number

+
+

Yes

+
+

Interval between the grid lines.

+

Defaults to 100.

+
+
+
+
+
inner
+

isotachsOptions +  module:meteoJS/thermodynamicDiagram~lineOptions

+

Isotach grid lines.

+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -147,6 +343,70 @@

Property

options  module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea~options

Options for the constructor.

+
+

Properties

+
NameTypeOptionalDescription
+

max

+
+

number

+
+

Yes

+
+

Maximum windspeed value for the grid lines. By default, this is the + maximum visible windspeed.

+
+

min

+
+

number

+
+

Yes

+
+

Value for the first grid line.

+

Defaults to 0.

+
+

interval

+
+

number

+
+

Yes

+
+

Interval between the grid lines.

+

Defaults to 25.72.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeOptionalDescription
+

grid

+
+

Object

+
+

Yes

+
+

Options for grid.

+
+

isotachs

+
+

module:meteoJS/thermodynamicDiagram/windspeedProfile~isotachsOptions

+
+

Yes

+
+

Options for isotach grid. By default, the lines are grey and dashed.

+
+

isobars

+
+

module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions

+
+

Yes

+
+

Options for isobar grid. By default, the lines are grey and dashed.

+
+
+
+
+
+

Event

+
+

change:windspeedMax

+

Triggered, when the windspeedMax changes.

@@ -159,7 +419,7 @@

options diff --git a/doc/module-meteoJS_timeline.Timeline.html b/doc/module-meteoJS_timeline.Timeline.html index 10ac101b..178edbf5 100644 --- a/doc/module-meteoJS_timeline.Timeline.html +++ b/doc/module-meteoJS_timeline.Timeline.html @@ -686,7 +686,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline.html b/doc/module-meteoJS_timeline.html index 44c94ed8..a81dea5a 100644 --- a/doc/module-meteoJS_timeline.html +++ b/doc/module-meteoJS_timeline.html @@ -408,7 +408,7 @@

change:times

diff --git a/doc/module-meteoJS_timeline_animation.Animation.html b/doc/module-meteoJS_timeline_animation.Animation.html index cabc7e83..4bbc3871 100644 --- a/doc/module-meteoJS_timeline_animation.Animation.html +++ b/doc/module-meteoJS_timeline_animation.Animation.html @@ -301,7 +301,7 @@

toggle<
diff --git a/doc/module-meteoJS_timeline_animation.html b/doc/module-meteoJS_timeline_animation.html index 14f2a1c5..0a21a0f8 100644 --- a/doc/module-meteoJS_timeline_animation.html +++ b/doc/module-meteoJS_timeline_animation.html @@ -949,7 +949,7 @@

stop:animation diff --git a/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html b/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html index 8bb40cc6..5b7be694 100644 --- a/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html +++ b/doc/module-meteoJS_timeline_animation_togglebutton.ToggleButton.html @@ -80,7 +80,7 @@

Parameter

diff --git a/doc/module-meteoJS_timeline_animation_togglebutton.html b/doc/module-meteoJS_timeline_animation_togglebutton.html index 517d2f79..21aef2a9 100644 --- a/doc/module-meteoJS_timeline_animation_togglebutton.html +++ b/doc/module-meteoJS_timeline_animation_togglebutton.html @@ -301,7 +301,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html b/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html index 8ee8b606..3046e6d6 100644 --- a/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html +++ b/doc/module-meteoJS_timeline_navigationButtons.NavigationButtons.html @@ -150,7 +150,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_navigationButtons.html b/doc/module-meteoJS_timeline_navigationButtons.html index 1142bc5f..d3a28d00 100644 --- a/doc/module-meteoJS_timeline_navigationButtons.html +++ b/doc/module-meteoJS_timeline_navigationButtons.html @@ -377,7 +377,7 @@

Properties

diff --git a/doc/module-meteoJS_timeline_visualisation.Visualisation.html b/doc/module-meteoJS_timeline_visualisation.Visualisation.html index c8bf7ab8..a7d91cc5 100644 --- a/doc/module-meteoJS_timeline_visualisation.Visualisation.html +++ b/doc/module-meteoJS_timeline_visualisation.Visualisation.html @@ -428,7 +428,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation.html b/doc/module-meteoJS_timeline_visualisation.html index e786828c..42f4b012 100644 --- a/doc/module-meteoJS_timeline_visualisation.html +++ b/doc/module-meteoJS_timeline_visualisation.html @@ -339,7 +339,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html b/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html index 3847fb48..f35b0e29 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html +++ b/doc/module-meteoJS_timeline_visualisation_bsButtons.bsButtons.html @@ -433,7 +433,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_bsButtons.html b/doc/module-meteoJS_timeline_visualisation_bsButtons.html index 00045f9d..c488ac60 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsButtons.html +++ b/doc/module-meteoJS_timeline_visualisation_bsButtons.html @@ -162,7 +162,7 @@

Parameter

diff --git a/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html b/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html index 375b7d55..fc2f416e 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html +++ b/doc/module-meteoJS_timeline_visualisation_bsDropdown.bsDropdown.html @@ -434,7 +434,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_bsDropdown.html b/doc/module-meteoJS_timeline_visualisation_bsDropdown.html index 21ac761e..08204d0e 100644 --- a/doc/module-meteoJS_timeline_visualisation_bsDropdown.html +++ b/doc/module-meteoJS_timeline_visualisation_bsDropdown.html @@ -357,7 +357,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_slider.Slider.html b/doc/module-meteoJS_timeline_visualisation_slider.Slider.html index 2f090a04..767af4d6 100644 --- a/doc/module-meteoJS_timeline_visualisation_slider.Slider.html +++ b/doc/module-meteoJS_timeline_visualisation_slider.Slider.html @@ -433,7 +433,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_slider.html b/doc/module-meteoJS_timeline_visualisation_slider.html index 5df48260..a357d1d7 100644 --- a/doc/module-meteoJS_timeline_visualisation_slider.html +++ b/doc/module-meteoJS_timeline_visualisation_slider.html @@ -89,7 +89,7 @@

options diff --git a/doc/module-meteoJS_timeline_visualisation_text.Text.html b/doc/module-meteoJS_timeline_visualisation_text.Text.html index e7d8e080..fafc2744 100644 --- a/doc/module-meteoJS_timeline_visualisation_text.Text.html +++ b/doc/module-meteoJS_timeline_visualisation_text.Text.html @@ -433,7 +433,7 @@

Parameters

diff --git a/doc/module-meteoJS_timeline_visualisation_text.html b/doc/module-meteoJS_timeline_visualisation_text.html index 3341a590..91556d6a 100644 --- a/doc/module-meteoJS_timeline_visualisation_text.html +++ b/doc/module-meteoJS_timeline_visualisation_text.html @@ -118,7 +118,7 @@

Parameter

diff --git a/doc/module-meteoJS_tooltip.Tooltip.html b/doc/module-meteoJS_tooltip.Tooltip.html index 481ec60b..632e5013 100644 --- a/doc/module-meteoJS_tooltip.Tooltip.html +++ b/doc/module-meteoJS_tooltip.Tooltip.html @@ -220,7 +220,7 @@

update<
diff --git a/doc/module-meteoJS_tooltip.html b/doc/module-meteoJS_tooltip.html index 26feb558..cf38111c 100644 --- a/doc/module-meteoJS_tooltip.html +++ b/doc/module-meteoJS_tooltip.html @@ -96,7 +96,7 @@

show:tooltip

diff --git a/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html b/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html index 0f571462..eefc773f 100644 --- a/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html +++ b/doc/module-meteoJS_tooltip_bootstrapTooltip.BootstrapTooltip.html @@ -267,7 +267,7 @@

update<
diff --git a/doc/module-meteoJS_tooltip_bootstrapTooltip.html b/doc/module-meteoJS_tooltip_bootstrapTooltip.html index d85c3791..ec35b9ed 100644 --- a/doc/module-meteoJS_tooltip_bootstrapTooltip.html +++ b/doc/module-meteoJS_tooltip_bootstrapTooltip.html @@ -162,7 +162,7 @@

Properties

diff --git a/doc/scripts/jsdoc-toc.js b/doc/scripts/jsdoc-toc.js index 4834326b..3a0903e8 100644 --- a/doc/scripts/jsdoc-toc.js +++ b/doc/scripts/jsdoc-toc.js @@ -6,7 +6,7 @@ treeNode.tree({ autoEscape: false, closedIcon: '⇢', - data: [{"label":"Event","id":"external:Event","children":[]},{"label":"HTMLElement","id":"external:HTMLElement","children":[]},{"label":"SVG","id":"external:SVG","children":[]},{"label":"XMLHttpRequest","id":"external:XMLHttpRequest","children":[]},{"label":"jQuery","id":"external:jQuery","children":[]},{"label":"momentjs","id":"external:momentjs","children":[]},{"label":"meteoJS","id":"module:meteoJS","children":[{"label":"base","id":"module:meteoJS/base","children":[{"label":"collection","id":"module:meteoJS/base/collection","children":[{"label":"Collection","id":"module:meteoJS/base/collection.Collection","children":[]}]},{"label":"named","id":"module:meteoJS/base/named","children":[{"label":"Named","id":"module:meteoJS/base/named.Named","children":[]}]},{"label":"namedCollection","id":"module:meteoJS/base/namedCollection","children":[{"label":"NamedCollection","id":"module:meteoJS/base/namedCollection.NamedCollection","children":[]}]},{"label":"unique","id":"module:meteoJS/base/unique","children":[{"label":"Unique","id":"module:meteoJS/base/unique.Unique","children":[]}]},{"label":"uniquenamed","id":"module:meteoJS/base/uniquenamed","children":[{"label":"UniqueNamed","id":"module:meteoJS/base/uniquenamed.UniqueNamed","children":[]}]}]},{"label":"calc","id":"module:meteoJS/calc","children":[]},{"label":"events","id":"module:meteoJS/events","children":[]},{"label":"modelviewer","id":"module:meteoJS/modelviewer","children":[{"label":"Modelviewer","id":"module:meteoJS/modelviewer.Modelviewer","children":[]},{"label":"container","id":"module:meteoJS/modelviewer/container","children":[{"label":"Container","id":"module:meteoJS/modelviewer/container.Container","children":[]}]},{"label":"display","id":"module:meteoJS/modelviewer/display","children":[{"label":"Display","id":"module:meteoJS/modelviewer/display.Display","children":[]},{"label":"selectNavigation","id":"module:meteoJS/modelviewer/display/selectNavigation","children":[{"label":"SelectNavigation","id":"module:meteoJS/modelviewer/display/selectNavigation.SelectNavigation","children":[]}]},{"label":"simple","id":"module:meteoJS/modelviewer/display/simple","children":[{"label":"Simple","id":"module:meteoJS/modelviewer/display/simple.Simple","children":[]}]}]},{"label":"node","id":"module:meteoJS/modelviewer/node","children":[{"label":"Node","id":"module:meteoJS/modelviewer/node.Node","children":[]}]},{"label":"nwpResources","id":"module:meteoJS/modelviewer/nwpResources","children":[{"label":"NWPResources","id":"module:meteoJS/modelviewer/nwpResources.NWPResources","children":[]}]},{"label":"offsetVariable","id":"module:meteoJS/modelviewer/offsetVariable","children":[{"label":"OffsetVariable","id":"module:meteoJS/modelviewer/offsetVariable.OffsetVariable","children":[]}]},{"label":"resource","id":"module:meteoJS/modelviewer/resource","children":[{"label":"Resource","id":"module:meteoJS/modelviewer/resource.Resource","children":[]},{"label":"image","id":"module:meteoJS/modelviewer/resource/image","children":[{"label":"Image","id":"module:meteoJS/modelviewer/resource/image.Image","children":[]}]},{"label":"sounding","id":"module:meteoJS/modelviewer/resource/sounding","children":[{"label":"Sounding","id":"module:meteoJS/modelviewer/resource/sounding.Sounding","children":[]}]}]},{"label":"resources","id":"module:meteoJS/modelviewer/resources","children":[{"label":"Resources","id":"module:meteoJS/modelviewer/resources.Resources","children":[]}]},{"label":"resourcesTreeNode","id":"module:meteoJS/modelviewer/resourcesTreeNode","children":[{"label":"ResourcesTreeNode","id":"module:meteoJS/modelviewer/resourcesTreeNode.ResourcesTreeNode","children":[]}]},{"label":"timeVariable","id":"module:meteoJS/modelviewer/timeVariable","children":[{"label":"TimeVariable","id":"module:meteoJS/modelviewer/timeVariable.TimeVariable","children":[]}]},{"label":"variable","id":"module:meteoJS/modelviewer/variable","children":[{"label":"Variable","id":"module:meteoJS/modelviewer/variable.Variable","children":[]}]},{"label":"variableCollection","id":"module:meteoJS/modelviewer/variableCollection","children":[{"label":"VariableCollection","id":"module:meteoJS/modelviewer/variableCollection.VariableCollection","children":[]}]}]},{"label":"repetitiveRequests","id":"module:meteoJS/repetitiveRequests","children":[{"label":"RepetitiveRequests","id":"module:meteoJS/repetitiveRequests.RepetitiveRequests","children":[]}]},{"label":"sounding","id":"module:meteoJS/sounding","children":[{"label":"Sounding","id":"module:meteoJS/sounding.Sounding","children":[]},{"label":"parcel","id":"module:meteoJS/sounding/parcel","children":[{"label":"Parcel","id":"module:meteoJS/sounding/parcel.Parcel","children":[]}]}]},{"label":"synview","id":"module:meteoJS/synview","children":[{"label":"collection","id":"module:meteoJS/synview/collection","children":[{"label":"Collection","id":"module:meteoJS/synview/collection.Collection","children":[]}]},{"label":"map","id":"module:meteoJS/synview/map","children":[{"label":"SynviewMap","id":"module:meteoJS/synview/map.SynviewMap","children":[]},{"label":"ll","id":"module:meteoJS/synview/map/ll","children":[{"label":"MapLL","id":"module:meteoJS/synview/map/ll.MapLL","children":[]}]},{"label":"ol","id":"module:meteoJS/synview/map/ol","children":[{"label":"MapOL","id":"module:meteoJS/synview/map/ol.MapOL","children":[]}]}]},{"label":"resource","id":"module:meteoJS/synview/resource","children":[{"label":"Resource","id":"module:meteoJS/synview/resource.Resource","children":[]},{"label":"GeoJSON","id":"module:meteoJS/synview/resource/GeoJSON","children":[{"label":"GeoJSON","id":"module:meteoJS/synview/resource/GeoJSON.GeoJSON","children":[]}]},{"label":"GeoJSONTile","id":"module:meteoJS/synview/resource/GeoJSONTile","children":[{"label":"GeoJSONTile","id":"module:meteoJS/synview/resource/GeoJSONTile.GeoJSONTile","children":[]}]},{"label":"Image","id":"module:meteoJS/synview/resource/Image","children":[{"label":"ImageStatic","id":"module:meteoJS/synview/resource/Image.ImageStatic","children":[]}]},{"label":"OSM","id":"module:meteoJS/synview/resource/OSM","children":[{"label":"OSM","id":"module:meteoJS/synview/resource/OSM.OSM","children":[]}]},{"label":"Vector","id":"module:meteoJS/synview/resource/Vector","children":[{"label":"Vector","id":"module:meteoJS/synview/resource/Vector.Vector","children":[]}]},{"label":"VectorTile","id":"module:meteoJS/synview/resource/VectorTile","children":[{"label":"VectorTile","id":"module:meteoJS/synview/resource/VectorTile.VectorTile","children":[]}]}]},{"label":"resourceCollection","id":"module:meteoJS/synview/resourceCollection","children":[{"label":"ResourceCollection","id":"module:meteoJS/synview/resourceCollection.ResourceCollection","children":[]}]},{"label":"tooltip","id":"module:meteoJS/synview/tooltip","children":[{"label":"Tooltip","id":"module:meteoJS/synview/tooltip.Tooltip","children":[]}]},{"label":"type","id":"module:meteoJS/synview/type","children":[{"label":"Type","id":"module:meteoJS/synview/type.Type","children":[]}]},{"label":"typeCollection","id":"module:meteoJS/synview/typeCollection","children":[{"label":"TypeCollection","id":"module:meteoJS/synview/typeCollection.TypeCollection","children":[]}]}]},{"label":"thermodynamicDiagram","id":"module:meteoJS/thermodynamicDiagram","children":[{"label":"ThermodynamicDiagram","id":"module:meteoJS/thermodynamicDiagram.ThermodynamicDiagram","children":[]},{"label":"axes","id":"module:meteoJS/thermodynamicDiagram/axes","children":[{"label":"axes","id":"module:meteoJS/thermodynamicDiagram/axes/axes","children":[{"label":"axisLabels","id":"module:meteoJS/thermodynamicDiagram/axes/axes/axisLabels","children":[]}]},{"label":"xAxis","id":"module:meteoJS/thermodynamicDiagram/axes/xAxis","children":[{"label":"xAxis","id":"module:meteoJS/thermodynamicDiagram/axes/xAxis.xAxis","children":[]}]},{"label":"yAxis","id":"module:meteoJS/thermodynamicDiagram/axes/yAxis","children":[{"label":"yAxis","id":"module:meteoJS/thermodynamicDiagram/axes/yAxis.yAxis","children":[]}]}]},{"label":"coordinateSystem","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem","children":[{"label":"CoordinateSystem","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem","children":[]},{"label":"emagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/emagram","children":[{"label":"Emagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/emagram.Emagram","children":[]}]},{"label":"skewTlogPDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/skewTlogPDiagram","children":[{"label":"SkewTlogPDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/skewTlogPDiagram.SkewTlogPDiagram","children":[]}]},{"label":"stueveDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/stueveDiagram","children":[{"label":"StueveDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/stueveDiagram.StueveDiagram","children":[]}]}]},{"label":"diagramParcel","id":"module:meteoJS/thermodynamicDiagram/diagramParcel","children":[{"label":"DiagramParcel","id":"module:meteoJS/thermodynamicDiagram/diagramParcel.DiagramParcel","children":[]}]},{"label":"diagramSounding","id":"module:meteoJS/thermodynamicDiagram/diagramSounding","children":[{"label":"DiagramSounding","id":"module:meteoJS/thermodynamicDiagram/diagramSounding.DiagramSounding","children":[]}]},{"label":"functions","id":"module:meteoJS/thermodynamicDiagram/functions","children":[]},{"label":"hodograph","id":"module:meteoJS/thermodynamicDiagram/hodograph","children":[{"label":"Hodograph","id":"module:meteoJS/thermodynamicDiagram/hodograph.Hodograph","children":[]}]},{"label":"plotAltitudeDataArea","id":"module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea","children":[{"label":"PlotAltitudeDataArea","id":"module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea.PlotAltitudeDataArea","children":[]}]},{"label":"plotArea","id":"module:meteoJS/thermodynamicDiagram/plotArea","children":[{"label":"PlotArea","id":"module:meteoJS/thermodynamicDiagram/plotArea.PlotArea","children":[]}]},{"label":"plotDataArea","id":"module:meteoJS/thermodynamicDiagram/plotDataArea","children":[{"label":"PlotDataArea","id":"module:meteoJS/thermodynamicDiagram/plotDataArea.PlotDataArea","children":[]}]},{"label":"tdDiagram","id":"module:meteoJS/thermodynamicDiagram/tdDiagram","children":[{"label":"TDDiagram","id":"module:meteoJS/thermodynamicDiagram/tdDiagram.TDDiagram","children":[]}]},{"label":"windbarbsProfile","id":"module:meteoJS/thermodynamicDiagram/windbarbsProfile","children":[{"label":"WindbarbsProfile","id":"module:meteoJS/thermodynamicDiagram/windbarbsProfile.WindbarbsProfile","children":[]}]},{"label":"windspeedProfile","id":"module:meteoJS/thermodynamicDiagram/windspeedProfile","children":[{"label":"WindspeedProfile","id":"module:meteoJS/thermodynamicDiagram/windspeedProfile.WindspeedProfile","children":[]}]}]},{"label":"thermodynamicDiagramPluggable","id":"module:meteoJS/thermodynamicDiagramPluggable","children":[{"label":"ThermodynamicDiagramPluggable","id":"module:meteoJS/thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable","children":[]}]},{"label":"timeline","id":"module:meteoJS/timeline","children":[{"label":"Timeline","id":"module:meteoJS/timeline.Timeline","children":[]},{"label":"animation","id":"module:meteoJS/timeline/animation","children":[{"label":"Animation","id":"module:meteoJS/timeline/animation.Animation","children":[]},{"label":"togglebutton","id":"module:meteoJS/timeline/animation/togglebutton","children":[{"label":"ToggleButton","id":"module:meteoJS/timeline/animation/togglebutton.ToggleButton","children":[]}]}]},{"label":"navigationButtons","id":"module:meteoJS/timeline/navigationButtons","children":[{"label":"NavigationButtons","id":"module:meteoJS/timeline/navigationButtons.NavigationButtons","children":[]}]},{"label":"visualisation","id":"module:meteoJS/timeline/visualisation","children":[{"label":"Visualisation","id":"module:meteoJS/timeline/visualisation.Visualisation","children":[]},{"label":"bsButtons","id":"module:meteoJS/timeline/visualisation/bsButtons","children":[{"label":"bsButtons","id":"module:meteoJS/timeline/visualisation/bsButtons.bsButtons","children":[]}]},{"label":"bsDropdown","id":"module:meteoJS/timeline/visualisation/bsDropdown","children":[{"label":"bsDropdown","id":"module:meteoJS/timeline/visualisation/bsDropdown.bsDropdown","children":[]}]},{"label":"slider","id":"module:meteoJS/timeline/visualisation/slider","children":[{"label":"Slider","id":"module:meteoJS/timeline/visualisation/slider.Slider","children":[]}]},{"label":"text","id":"module:meteoJS/timeline/visualisation/text","children":[{"label":"Text","id":"module:meteoJS/timeline/visualisation/text.Text","children":[]}]}]}]},{"label":"tooltip","id":"module:meteoJS/tooltip","children":[{"label":"Tooltip","id":"module:meteoJS/tooltip.Tooltip","children":[]},{"label":"bootstrapTooltip","id":"module:meteoJS/tooltip/bootstrapTooltip","children":[{"label":"BootstrapTooltip","id":"module:meteoJS/tooltip/bootstrapTooltip.BootstrapTooltip","children":[]}]}]}]}], + data: [{"label":"Event","id":"external:Event","children":[]},{"label":"HTMLElement","id":"external:HTMLElement","children":[]},{"label":"SVG","id":"external:SVG","children":[]},{"label":"XMLHttpRequest","id":"external:XMLHttpRequest","children":[]},{"label":"jQuery","id":"external:jQuery","children":[]},{"label":"momentjs","id":"external:momentjs","children":[]},{"label":"meteoJS","id":"module:meteoJS","children":[{"label":"base","id":"module:meteoJS/base","children":[{"label":"collection","id":"module:meteoJS/base/collection","children":[{"label":"Collection","id":"module:meteoJS/base/collection.Collection","children":[]}]},{"label":"named","id":"module:meteoJS/base/named","children":[{"label":"Named","id":"module:meteoJS/base/named.Named","children":[]}]},{"label":"namedCollection","id":"module:meteoJS/base/namedCollection","children":[{"label":"NamedCollection","id":"module:meteoJS/base/namedCollection.NamedCollection","children":[]}]},{"label":"unique","id":"module:meteoJS/base/unique","children":[{"label":"Unique","id":"module:meteoJS/base/unique.Unique","children":[]}]},{"label":"uniquenamed","id":"module:meteoJS/base/uniquenamed","children":[{"label":"UniqueNamed","id":"module:meteoJS/base/uniquenamed.UniqueNamed","children":[]}]}]},{"label":"calc","id":"module:meteoJS/calc","children":[]},{"label":"events","id":"module:meteoJS/events","children":[]},{"label":"modelviewer","id":"module:meteoJS/modelviewer","children":[{"label":"Modelviewer","id":"module:meteoJS/modelviewer.Modelviewer","children":[]},{"label":"container","id":"module:meteoJS/modelviewer/container","children":[{"label":"Container","id":"module:meteoJS/modelviewer/container.Container","children":[]}]},{"label":"display","id":"module:meteoJS/modelviewer/display","children":[{"label":"Display","id":"module:meteoJS/modelviewer/display.Display","children":[]},{"label":"selectNavigation","id":"module:meteoJS/modelviewer/display/selectNavigation","children":[{"label":"SelectNavigation","id":"module:meteoJS/modelviewer/display/selectNavigation.SelectNavigation","children":[]}]},{"label":"simple","id":"module:meteoJS/modelviewer/display/simple","children":[{"label":"Simple","id":"module:meteoJS/modelviewer/display/simple.Simple","children":[]}]}]},{"label":"node","id":"module:meteoJS/modelviewer/node","children":[{"label":"Node","id":"module:meteoJS/modelviewer/node.Node","children":[]}]},{"label":"nwpResources","id":"module:meteoJS/modelviewer/nwpResources","children":[{"label":"NWPResources","id":"module:meteoJS/modelviewer/nwpResources.NWPResources","children":[]}]},{"label":"offsetVariable","id":"module:meteoJS/modelviewer/offsetVariable","children":[{"label":"OffsetVariable","id":"module:meteoJS/modelviewer/offsetVariable.OffsetVariable","children":[]}]},{"label":"resource","id":"module:meteoJS/modelviewer/resource","children":[{"label":"Resource","id":"module:meteoJS/modelviewer/resource.Resource","children":[]},{"label":"image","id":"module:meteoJS/modelviewer/resource/image","children":[{"label":"Image","id":"module:meteoJS/modelviewer/resource/image.Image","children":[]}]},{"label":"sounding","id":"module:meteoJS/modelviewer/resource/sounding","children":[{"label":"Sounding","id":"module:meteoJS/modelviewer/resource/sounding.Sounding","children":[]}]}]},{"label":"resources","id":"module:meteoJS/modelviewer/resources","children":[{"label":"Resources","id":"module:meteoJS/modelviewer/resources.Resources","children":[]}]},{"label":"resourcesTreeNode","id":"module:meteoJS/modelviewer/resourcesTreeNode","children":[{"label":"ResourcesTreeNode","id":"module:meteoJS/modelviewer/resourcesTreeNode.ResourcesTreeNode","children":[]}]},{"label":"timeVariable","id":"module:meteoJS/modelviewer/timeVariable","children":[{"label":"TimeVariable","id":"module:meteoJS/modelviewer/timeVariable.TimeVariable","children":[]}]},{"label":"variable","id":"module:meteoJS/modelviewer/variable","children":[{"label":"Variable","id":"module:meteoJS/modelviewer/variable.Variable","children":[]}]},{"label":"variableCollection","id":"module:meteoJS/modelviewer/variableCollection","children":[{"label":"VariableCollection","id":"module:meteoJS/modelviewer/variableCollection.VariableCollection","children":[]}]}]},{"label":"repetitiveRequests","id":"module:meteoJS/repetitiveRequests","children":[{"label":"RepetitiveRequests","id":"module:meteoJS/repetitiveRequests.RepetitiveRequests","children":[]}]},{"label":"sounding","id":"module:meteoJS/sounding","children":[{"label":"Sounding","id":"module:meteoJS/sounding.Sounding","children":[]},{"label":"parcel","id":"module:meteoJS/sounding/parcel","children":[{"label":"Parcel","id":"module:meteoJS/sounding/parcel.Parcel","children":[]}]}]},{"label":"synview","id":"module:meteoJS/synview","children":[{"label":"collection","id":"module:meteoJS/synview/collection","children":[{"label":"Collection","id":"module:meteoJS/synview/collection.Collection","children":[]}]},{"label":"map","id":"module:meteoJS/synview/map","children":[{"label":"SynviewMap","id":"module:meteoJS/synview/map.SynviewMap","children":[]},{"label":"ll","id":"module:meteoJS/synview/map/ll","children":[{"label":"MapLL","id":"module:meteoJS/synview/map/ll.MapLL","children":[]}]},{"label":"ol","id":"module:meteoJS/synview/map/ol","children":[{"label":"MapOL","id":"module:meteoJS/synview/map/ol.MapOL","children":[]}]}]},{"label":"resource","id":"module:meteoJS/synview/resource","children":[{"label":"Resource","id":"module:meteoJS/synview/resource.Resource","children":[]},{"label":"GeoJSON","id":"module:meteoJS/synview/resource/GeoJSON","children":[{"label":"GeoJSON","id":"module:meteoJS/synview/resource/GeoJSON.GeoJSON","children":[]}]},{"label":"GeoJSONTile","id":"module:meteoJS/synview/resource/GeoJSONTile","children":[{"label":"GeoJSONTile","id":"module:meteoJS/synview/resource/GeoJSONTile.GeoJSONTile","children":[]}]},{"label":"Image","id":"module:meteoJS/synview/resource/Image","children":[{"label":"ImageStatic","id":"module:meteoJS/synview/resource/Image.ImageStatic","children":[]}]},{"label":"OSM","id":"module:meteoJS/synview/resource/OSM","children":[{"label":"OSM","id":"module:meteoJS/synview/resource/OSM.OSM","children":[]}]},{"label":"Vector","id":"module:meteoJS/synview/resource/Vector","children":[{"label":"Vector","id":"module:meteoJS/synview/resource/Vector.Vector","children":[]}]},{"label":"VectorTile","id":"module:meteoJS/synview/resource/VectorTile","children":[{"label":"VectorTile","id":"module:meteoJS/synview/resource/VectorTile.VectorTile","children":[]}]}]},{"label":"resourceCollection","id":"module:meteoJS/synview/resourceCollection","children":[{"label":"ResourceCollection","id":"module:meteoJS/synview/resourceCollection.ResourceCollection","children":[]}]},{"label":"tooltip","id":"module:meteoJS/synview/tooltip","children":[{"label":"Tooltip","id":"module:meteoJS/synview/tooltip.Tooltip","children":[]}]},{"label":"type","id":"module:meteoJS/synview/type","children":[{"label":"Type","id":"module:meteoJS/synview/type.Type","children":[]}]},{"label":"typeCollection","id":"module:meteoJS/synview/typeCollection","children":[{"label":"TypeCollection","id":"module:meteoJS/synview/typeCollection.TypeCollection","children":[]}]}]},{"label":"thermodynamicDiagram","id":"module:meteoJS/thermodynamicDiagram","children":[{"label":"ThermodynamicDiagram","id":"module:meteoJS/thermodynamicDiagram.ThermodynamicDiagram","children":[]},{"label":"axes","id":"module:meteoJS/thermodynamicDiagram/axes","children":[{"label":"windspeedProfileAxis","id":"module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis","children":[{"label":"WindspeedProfileAxis","id":"module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis.WindspeedProfileAxis","children":[]}]},{"label":"xAxis","id":"module:meteoJS/thermodynamicDiagram/axes/xAxis","children":[{"label":"xAxis","id":"module:meteoJS/thermodynamicDiagram/axes/xAxis.xAxis","children":[]}]},{"label":"yAxis","id":"module:meteoJS/thermodynamicDiagram/axes/yAxis","children":[{"label":"yAxis","id":"module:meteoJS/thermodynamicDiagram/axes/yAxis.yAxis","children":[]}]}]},{"label":"axis","id":"module:meteoJS/thermodynamicDiagram/axis","children":[{"label":"Axis","id":"module:meteoJS/thermodynamicDiagram/axis.Axis","children":[]}]},{"label":"coordinateSystem","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem","children":[{"label":"CoordinateSystem","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem","children":[]},{"label":"emagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/emagram","children":[{"label":"Emagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/emagram.Emagram","children":[]}]},{"label":"skewTlogPDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/skewTlogPDiagram","children":[{"label":"SkewTlogPDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/skewTlogPDiagram.SkewTlogPDiagram","children":[]}]},{"label":"stueveDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/stueveDiagram","children":[{"label":"StueveDiagram","id":"module:meteoJS/thermodynamicDiagram/coordinateSystem/stueveDiagram.StueveDiagram","children":[]}]}]},{"label":"diagramParcel","id":"module:meteoJS/thermodynamicDiagram/diagramParcel","children":[{"label":"DiagramParcel","id":"module:meteoJS/thermodynamicDiagram/diagramParcel.DiagramParcel","children":[]}]},{"label":"diagramSounding","id":"module:meteoJS/thermodynamicDiagram/diagramSounding","children":[{"label":"DiagramSounding","id":"module:meteoJS/thermodynamicDiagram/diagramSounding.DiagramSounding","children":[]}]},{"label":"functions","id":"module:meteoJS/thermodynamicDiagram/functions","children":[]},{"label":"hodograph","id":"module:meteoJS/thermodynamicDiagram/hodograph","children":[{"label":"Hodograph","id":"module:meteoJS/thermodynamicDiagram/hodograph.Hodograph","children":[]}]},{"label":"plotAltitudeDataArea","id":"module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea","children":[{"label":"PlotAltitudeDataArea","id":"module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea.PlotAltitudeDataArea","children":[]}]},{"label":"plotArea","id":"module:meteoJS/thermodynamicDiagram/plotArea","children":[{"label":"PlotArea","id":"module:meteoJS/thermodynamicDiagram/plotArea.PlotArea","children":[]}]},{"label":"plotDataArea","id":"module:meteoJS/thermodynamicDiagram/plotDataArea","children":[{"label":"PlotDataArea","id":"module:meteoJS/thermodynamicDiagram/plotDataArea.PlotDataArea","children":[]}]},{"label":"tdDiagram","id":"module:meteoJS/thermodynamicDiagram/tdDiagram","children":[{"label":"TDDiagram","id":"module:meteoJS/thermodynamicDiagram/tdDiagram.TDDiagram","children":[]}]},{"label":"windbarbsProfile","id":"module:meteoJS/thermodynamicDiagram/windbarbsProfile","children":[{"label":"WindbarbsProfile","id":"module:meteoJS/thermodynamicDiagram/windbarbsProfile.WindbarbsProfile","children":[]}]},{"label":"windspeedProfile","id":"module:meteoJS/thermodynamicDiagram/windspeedProfile","children":[{"label":"WindspeedProfile","id":"module:meteoJS/thermodynamicDiagram/windspeedProfile.WindspeedProfile","children":[]}]}]},{"label":"thermodynamicDiagramPluggable","id":"module:meteoJS/thermodynamicDiagramPluggable","children":[{"label":"ThermodynamicDiagramPluggable","id":"module:meteoJS/thermodynamicDiagramPluggable.ThermodynamicDiagramPluggable","children":[]}]},{"label":"timeline","id":"module:meteoJS/timeline","children":[{"label":"Timeline","id":"module:meteoJS/timeline.Timeline","children":[]},{"label":"animation","id":"module:meteoJS/timeline/animation","children":[{"label":"Animation","id":"module:meteoJS/timeline/animation.Animation","children":[]},{"label":"togglebutton","id":"module:meteoJS/timeline/animation/togglebutton","children":[{"label":"ToggleButton","id":"module:meteoJS/timeline/animation/togglebutton.ToggleButton","children":[]}]}]},{"label":"navigationButtons","id":"module:meteoJS/timeline/navigationButtons","children":[{"label":"NavigationButtons","id":"module:meteoJS/timeline/navigationButtons.NavigationButtons","children":[]}]},{"label":"visualisation","id":"module:meteoJS/timeline/visualisation","children":[{"label":"Visualisation","id":"module:meteoJS/timeline/visualisation.Visualisation","children":[]},{"label":"bsButtons","id":"module:meteoJS/timeline/visualisation/bsButtons","children":[{"label":"bsButtons","id":"module:meteoJS/timeline/visualisation/bsButtons.bsButtons","children":[]}]},{"label":"bsDropdown","id":"module:meteoJS/timeline/visualisation/bsDropdown","children":[{"label":"bsDropdown","id":"module:meteoJS/timeline/visualisation/bsDropdown.bsDropdown","children":[]}]},{"label":"slider","id":"module:meteoJS/timeline/visualisation/slider","children":[{"label":"Slider","id":"module:meteoJS/timeline/visualisation/slider.Slider","children":[]}]},{"label":"text","id":"module:meteoJS/timeline/visualisation/text","children":[{"label":"Text","id":"module:meteoJS/timeline/visualisation/text.Text","children":[]}]}]}]},{"label":"tooltip","id":"module:meteoJS/tooltip","children":[{"label":"Tooltip","id":"module:meteoJS/tooltip.Tooltip","children":[]},{"label":"bootstrapTooltip","id":"module:meteoJS/tooltip/bootstrapTooltip","children":[{"label":"BootstrapTooltip","id":"module:meteoJS/tooltip/bootstrapTooltip.BootstrapTooltip","children":[]}]}]}]}], openedIcon: ' ⇣', saveState: false, useContextMenu: false diff --git a/doc/sounding_Parcel.js.html b/doc/sounding_Parcel.js.html index 0a033833..1be35b2e 100644 --- a/doc/sounding_Parcel.js.html +++ b/doc/sounding_Parcel.js.html @@ -446,7 +446,7 @@

Source: sounding/Parcel.js

diff --git a/doc/synview_Collection.js.html b/doc/synview_Collection.js.html index d4106d89..038b8ade 100644 --- a/doc/synview_Collection.js.html +++ b/doc/synview_Collection.js.html @@ -192,7 +192,7 @@

Source: synview/Collection.js

diff --git a/doc/synview_Resource.js.html b/doc/synview_Resource.js.html index d45bfe4f..0cee6e91 100644 --- a/doc/synview_Resource.js.html +++ b/doc/synview_Resource.js.html @@ -549,7 +549,7 @@

Source: synview/Resource.js

diff --git a/doc/synview_ResourceCollection.js.html b/doc/synview_ResourceCollection.js.html index 28dd4f0a..c639d6f2 100644 --- a/doc/synview_ResourceCollection.js.html +++ b/doc/synview_ResourceCollection.js.html @@ -278,7 +278,7 @@

Source: synview/ResourceCollection.js

diff --git a/doc/synview_SynviewMap.js.html b/doc/synview_SynviewMap.js.html index 94848ec0..04940e3a 100644 --- a/doc/synview_SynviewMap.js.html +++ b/doc/synview_SynviewMap.js.html @@ -210,7 +210,7 @@

Source: synview/SynviewMap.js

diff --git a/doc/synview_Tooltip.js.html b/doc/synview_Tooltip.js.html index bbbb72fd..2607aad6 100644 --- a/doc/synview_Tooltip.js.html +++ b/doc/synview_Tooltip.js.html @@ -171,7 +171,7 @@

Source: synview/Tooltip.js

diff --git a/doc/synview_Type.js.html b/doc/synview_Type.js.html index b4c15b22..1b48c026 100644 --- a/doc/synview_Type.js.html +++ b/doc/synview_Type.js.html @@ -574,7 +574,7 @@

Source: synview/Type.js

diff --git a/doc/synview_TypeCollection.js.html b/doc/synview_TypeCollection.js.html index 73516f4e..32f772b2 100644 --- a/doc/synview_TypeCollection.js.html +++ b/doc/synview_TypeCollection.js.html @@ -200,7 +200,7 @@

Source: synview/TypeCollection.js

diff --git a/doc/synview_map_MapLL.js.html b/doc/synview_map_MapLL.js.html index 9c2f0fc3..b9eaad83 100644 --- a/doc/synview_map_MapLL.js.html +++ b/doc/synview_map_MapLL.js.html @@ -70,7 +70,7 @@

Source: synview/map/MapLL.js

diff --git a/doc/synview_map_MapOL.js.html b/doc/synview_map_MapOL.js.html index ee67c8fd..3e325485 100644 --- a/doc/synview_map_MapOL.js.html +++ b/doc/synview_map_MapOL.js.html @@ -253,7 +253,7 @@

Source: synview/map/MapOL.js

diff --git a/doc/synview_resource_GeoJSON.js.html b/doc/synview_resource_GeoJSON.js.html index 69ab1161..eb58774c 100644 --- a/doc/synview_resource_GeoJSON.js.html +++ b/doc/synview_resource_GeoJSON.js.html @@ -60,7 +60,7 @@

Source: synview/resource/GeoJSON.js

diff --git a/doc/synview_resource_GeoJSONTile.js.html b/doc/synview_resource_GeoJSONTile.js.html index cc188bea..94eeb969 100644 --- a/doc/synview_resource_GeoJSONTile.js.html +++ b/doc/synview_resource_GeoJSONTile.js.html @@ -59,7 +59,7 @@

Source: synview/resource/GeoJSONTile.js

diff --git a/doc/synview_resource_Image.js.html b/doc/synview_resource_Image.js.html index a97afa80..486b038b 100644 --- a/doc/synview_resource_Image.js.html +++ b/doc/synview_resource_Image.js.html @@ -132,7 +132,7 @@

Source: synview/resource/Image.js

diff --git a/doc/synview_resource_OSM.js.html b/doc/synview_resource_OSM.js.html index 67261f84..9a977102 100644 --- a/doc/synview_resource_OSM.js.html +++ b/doc/synview_resource_OSM.js.html @@ -68,7 +68,7 @@

Source: synview/resource/OSM.js

diff --git a/doc/synview_resource_Vector.js.html b/doc/synview_resource_Vector.js.html index 8caf2935..08e8ef13 100644 --- a/doc/synview_resource_Vector.js.html +++ b/doc/synview_resource_Vector.js.html @@ -115,7 +115,7 @@

Source: synview/resource/Vector.js

diff --git a/doc/synview_resource_VectorTile.js.html b/doc/synview_resource_VectorTile.js.html index 5ec89ea5..61d7203b 100644 --- a/doc/synview_resource_VectorTile.js.html +++ b/doc/synview_resource_VectorTile.js.html @@ -87,7 +87,7 @@

Source: synview/resource/VectorTile.js

diff --git a/doc/thermodynamicDiagram_Axis.js.html b/doc/thermodynamicDiagram_Axis.js.html new file mode 100644 index 00000000..832a372c --- /dev/null +++ b/doc/thermodynamicDiagram_Axis.js.html @@ -0,0 +1,338 @@ + + + + + + + Source: thermodynamicDiagram/Axis.js + + + + + + + + +
+
+
+ +
+ +
+
/**
+ * @module meteoJS/thermodynamicDiagram/axis
+ */
+import {
+  getNormalizedTextOptions
+} from './Functions.js';
+import PlotArea from './PlotArea.js';
+
+/**
+ * Definitions for the labels of an axis.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram~textOptions}
+ *   module:meteoJS/thermodynamicDiagram/axis~labelsOptions
+ * @property {number} [interval] - Interval between the labels.
+ * @property {string} [unit] - Unit of the label values.
+ * @property {string} [prefix=''] - Prefix of the label text.
+ * @property {integer} [decimalPlaces=0]
+ *   Number of digits to appear after the decimal point of the label values.
+ */
+
+/**
+ * Title definition for an axis.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram~textOptions}
+ *   module:meteoJS/thermodynamicDiagram/axis~titleOptions
+ * @property {string} [text=''] - Title text.
+ */
+
+/**
+ * Options for the constructor.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram/plotArea~options}
+ *   module:meteoJS/thermodynamicDiagram/axis~options
+ * @property {module:meteoJS/thermodynamicDiagram/axis~labelsOptions} labels
+ *   Options for the yAxis Labels.
+ * @property {module:meteoJS/thermodynamicDiagram/axis~titleOptions} title
+ *   Options for the title of the Axis.
+ * @property {boolean} [isHorizontal=true]
+ *   Internal. Is the axis horizontal or vertical.
+ */
+
+/**
+ * Abstract class to draw an axis with labelling.
+ * 
+ * @extends module:meteoJS/thermodynamicDiagram/plotArea.PlotArea
+ * @abstract
+ */
+export class Axis extends PlotArea {
+
+  /**
+   * @param {module:meteoJS/thermodynamicDiagram/axis~options} options
+   *   Options.
+   */
+  constructor({
+    svgNode = undefined,
+    coordinateSystem,
+    x,
+    y,
+    width,
+    height,
+    style = {},
+    visible = true,
+    events = {},
+    labels = {},
+    title = {},
+    isHorizontal = true
+  }) {
+    if (style.overflow === undefined)
+      style.overflow = 'visible';
+    
+    super({
+      svgNode,
+      coordinateSystem,
+      x,
+      y,
+      width,
+      height,
+      style,
+      visible,
+      events
+    });
+    
+    /**
+     * @type Object
+     * @private
+     */
+    this._labelsOptions = this.getNormalizedLabelsOptions(labels);
+    
+    /**
+     * @type Object
+     * @private
+     */
+    this._titleOptions = getNormalizedTitleOptions(title);
+
+    /**
+     * @type boolean
+     * @private
+     */
+    this._isHorizontal = isHorizontal;
+    
+    this.init();
+  }
+
+  /**
+   * Normalize the options for the labels.
+   * 
+   * @param {module:meteoJS/thermodynamicDiagram/axis~labelsOptions}
+   *   options - Options.
+   * @returns {module:meteoJS/thermodynamicDiagram/axis~labelsOptions}
+   *   Normalized options.
+   */
+  getNormalizedLabelsOptions({
+    interval = undefined,
+    unit = '',
+    prefix = '',
+    decimalPlaces = 0,
+    ...rest
+  }) {
+    const options = getNormalizedTextOptions({ ...rest }, {
+      font: {
+        size: 11,
+        anchor: 'middle'
+      }
+    });
+    options.interval = interval;
+    options.unit = unit;
+    options.prefix = prefix;
+    options.decimalPlaces = decimalPlaces;
+    return options;
+  }
+
+  /**
+   * Draws the labels of the axis.
+   * 
+   * @param {external:SVG} svgNode - Node to draw into.
+   * @param {number} min - Minimum value for the labels.
+   * @param {number} max - Maximum value for the labels.
+   * @param {Function} getTextByInterval
+   *   Returns the text representation of the label value (its argument).
+   * @param {Function} getPositionByInterval
+   *   Returns the position in pixels of the label value (its argument).
+   * @internal
+   */
+  drawLabels({
+    svgNode,
+    min,
+    max,
+    getTextByInterval =
+    i => Number.parseFloat(i).toFixed(this._labelsOptions.decimalPlaces),
+    getPositionByInterval
+  }) {
+    for (let i=min; i&lt;=max; i+=this._labelsOptions.interval) {
+      let text = getTextByInterval(i);
+      text += this._labelsOptions.prefix;
+      let fontColor = undefined;
+      const font = {...this._labelsOptions.font};
+      if ('color' in font) {
+        fontColor = font.color;
+        delete font.color;
+      }
+      if (!this._isHorizontal)
+        font['anchor'] = 'end';
+      const textNode = svgNode
+        .plain(text)
+        .font(font);
+      if (this._isHorizontal) {
+        textNode.center(
+          getPositionByInterval(i),
+          font.size
+        );
+        if (font['anchor'] == 'end')
+          textNode.dx(-textNode.bbox().width/2);
+        else if (font['anchor'] == 'start')
+          textNode.dx(+textNode.bbox().width/2);
+      }
+      else
+        textNode
+          .x(this.width)
+          .cy(getPositionByInterval(i))
+          .dx(-textNode.bbox().width);
+      if (fontColor !== undefined)
+        textNode.fill(fontColor);
+    }
+  }
+
+  /**
+   * Draws a title for the axis.
+   * 
+   * @param {Object} options - Options.
+   * @param {external:SVG} svgNode - Node to insert into.
+   * @param {external:SVG} svgLabelsNode - Node of the axis labels.
+   * @private
+   */
+  _drawTitle({
+    svgNode,
+    svgLabelsNode
+  }) {
+    let rotation = 0;
+    if (!this._isHorizontal)
+      rotation = -90;
+    let margin = 0;
+    if (svgLabelsNode !== undefined)
+      margin = (rotation == -90)
+        ? svgLabelsNode.bbox().width
+        : svgLabelsNode.bbox().height;
+    
+    let fontColor = undefined;
+    const font = {...this._titleOptions.font};
+    if ('color' in font) {
+      fontColor = font.color;
+      delete font.color;
+    }
+    let cxText = this.width/2;
+    let cyText = font.size + margin;
+    if (rotation == -90) {
+      cxText = this.width - font.size - margin;
+      cyText = this.height/2;
+    }
+    const textNode = svgNode
+      .plain(this._titleOptions.text)
+      .font(font)
+      .center(cxText, cyText)
+      .rotate(rotation);
+    if (fontColor !== undefined)
+      textNode.fill(fontColor);
+    if (rotation == -90) {
+      if (font['anchor'] == 'end')
+        textNode.dy(-textNode.bbox().height/2);
+      else if (font['anchor'] == 'start')
+        textNode.dy(+textNode.bbox().height/2);
+    }
+    else {
+      if (font['anchor'] == 'end')
+        textNode.dx(-textNode.bbox().width/2);
+      else if (font['anchor'] == 'start')
+        textNode.dx(+textNode.bbox().width/2);
+    }
+  }
+  
+  /**
+   * Draw background into SVG group.
+   * 
+   * @override
+   */
+  _drawBackground(svgNode) {
+    super._drawBackground(svgNode);
+    
+    let svgLabelsGroup = undefined;
+    if (this._labelsOptions.visible) {
+      svgLabelsGroup = svgNode.group();
+      this.drawLabels({
+        svgNode: svgLabelsGroup
+      });
+    }
+    
+    if (this._titleOptions.visible)
+      this._drawTitle({
+        svgNode: svgNode.group(),
+        svgLabelsNode: svgLabelsGroup
+      });
+  }
+  
+}
+export default Axis;
+
+/**
+ * Normalize the options for the title.
+ * 
+ * @param {module:meteoJS/thermodynamicDiagram/axis~titleOptions}
+ *   options - Options.
+ * @returns {module:meteoJS/thermodynamicDiagram/axis~titleOptions}
+ *   Normalized options.
+ */
+function getNormalizedTitleOptions({
+  text = '',
+  ...rest
+}) {
+  const options = getNormalizedTextOptions({...rest}, {
+    font: {
+      anchor: 'middle'
+    }
+  });
+  options.text = text;
+  return options;
+}
+
+
+
+ +
+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/thermodynamicDiagram_CoordinateSystem.js.html b/doc/thermodynamicDiagram_CoordinateSystem.js.html index b3436bad..5cc47e8a 100644 --- a/doc/thermodynamicDiagram_CoordinateSystem.js.html +++ b/doc/thermodynamicDiagram_CoordinateSystem.js.html @@ -641,7 +641,7 @@

Source: thermodynamicDiagram/CoordinateSystem.js

diff --git a/doc/thermodynamicDiagram_DiagramParcel.js.html b/doc/thermodynamicDiagram_DiagramParcel.js.html index 701fcbcc..e4bb5d8c 100644 --- a/doc/thermodynamicDiagram_DiagramParcel.js.html +++ b/doc/thermodynamicDiagram_DiagramParcel.js.html @@ -213,7 +213,7 @@

Source: thermodynamicDiagram/DiagramParcel.js

diff --git a/doc/thermodynamicDiagram_DiagramSounding.js.html b/doc/thermodynamicDiagram_DiagramSounding.js.html index 306f5575..7293141e 100644 --- a/doc/thermodynamicDiagram_DiagramSounding.js.html +++ b/doc/thermodynamicDiagram_DiagramSounding.js.html @@ -54,6 +54,30 @@

Source: thermodynamicDiagram/DiagramSounding.js

* @event module:meteoJS/thermodynamicDiagram/diagramSounding#change:options */ +/** + * Options for a line-segment of a sounding in the hodograph. + * + * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} + * module:meteoJS/thermodynamicDiagram/diagramSounding~hodographSegmentOptions + * @property {number|undefined} + * [minPressure] - Minimum pressure level of the segment. Unit: hPa. + * @property {number|undefined} + * [maxPressure] - Maximum pressure level of the segment. Unit: hPa. + */ + +/** + * Options for a sounding in the hodograph. + * + * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} + * module:meteoJS/thermodynamicDiagram/diagramSounding~hodographOptions + * @property {number|undefined} + * [minPressure] - Minimum pressure level to plot in the hodograph. Unit: hPa. + * @property {number|undefined} + * [maxPressure] - Maximum pressure level to plot in the hodograph. Unit: hPa. + * @property {module:meteoJS/thermodynamicDiagram/diagramSounding~hodographSegmentOptions[]} + * [segments] - Array of segment definitions. + */ + /** * Definition of the options for the constructor. * @@ -63,7 +87,7 @@

Source: thermodynamicDiagram/DiagramSounding.js

* [diagram] - Options for the thermodynamic diagram part. * @param {module:meteoJS/thermodynamicDiagram/diagramSounding~windprofileOptions} * [windprofile] - Options for the windprofile part. - * @param {module:meteoJS/thermodynamicDiagram~lineOptions} + * @param {module:meteoJS/thermodynamicDiagram/diagramSounding~hodographOptions} * [hodograph] - Options for this sounding for the hodograph. * @param {module:meteoJS/thermodynamicDiagram/diagramSounding~parcelsOptions} * [parcels] - Options for this sounding for the parcels. @@ -403,30 +427,6 @@

Source: thermodynamicDiagram/DiagramSounding.js

return updateOptionsPart(options, updateOptions, ['windbarbs', 'windspeed']); } -/** - * Options for a line-segment of a sounding in the hodograph. - * - * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} - * module:meteoJS/thermodynamicDiagram/diagramSounding~hodographSegmentOptions - * @property {number|undefined} - * [minPressure] - Minimum pressure level of the segment. Unit: hPa. - * @property {number|undefined} - * [maxPressure] - Maximum pressure level of the segment. Unit: hPa. - */ - -/** - * Options for a sounding in the hodograph. - * - * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} - * module:meteoJS/thermodynamicDiagram/diagramSounding~hodographOptions - * @property {number|undefined} - * [minPressure] - Minimum pressure level to plot in the hodograph. Unit: hPa. - * @property {number|undefined} - * [maxPressure] - Maximum pressure level to plot in the hodograph. Unit: hPa. - * @property {module:meteoJS/thermodynamicDiagram/diagramSounding~hodographSegmentOptions[]} - * [segments] - Array of segment definitions. - */ - /** * Returns normalized hodograph options. * @@ -606,7 +606,7 @@

Source: thermodynamicDiagram/DiagramSounding.js

diff --git a/doc/thermodynamicDiagram_Functions.js.html b/doc/thermodynamicDiagram_Functions.js.html index fd17aabc..8f1458f5 100644 --- a/doc/thermodynamicDiagram_Functions.js.html +++ b/doc/thermodynamicDiagram_Functions.js.html @@ -423,7 +423,7 @@

Source: thermodynamicDiagram/Functions.js

diff --git a/doc/thermodynamicDiagram_Hodograph.js.html b/doc/thermodynamicDiagram_Hodograph.js.html index 88714f11..7bb52739 100644 --- a/doc/thermodynamicDiagram_Hodograph.js.html +++ b/doc/thermodynamicDiagram_Hodograph.js.html @@ -49,7 +49,7 @@

Source: thermodynamicDiagram/Hodograph.js

/** * Options for the circle grid. * - * @typedef {module:meteoJS/thermodynamicDiagram~lineStyleOptions} + * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} * module:meteoJS/thermodynamicDiagram/hodograph~gridCirclesOptions * @param {number} [interval=13.89] * Interval between grid circles (and value for the first grid circle). @@ -70,7 +70,7 @@

Source: thermodynamicDiagram/Hodograph.js

* * @typedef {module:meteoJS/thermodynamicDiagram~textOptions} * module:meteoJS/thermodynamicDiagram/hodograph~gridLabelsOptions - * @property {number} [angle=45] + * @property {number} [angle=225] * Angle of the labels starting from the origin * (in degrees, 0 relates to North). * @property {string} [unit='km/h'] @@ -95,7 +95,7 @@

Source: thermodynamicDiagram/Hodograph.js

* @property {Object} [windspeed] * Options for the output of the windspeed value. * @property {boolean} [windspeed.visible=true] - Visibility. - * @property {string} [windspeed.unit='km/h'] + * @property {string} [windspeed.unit='kn'] * Unit of the value text. Allowed values: 'm/s', 'kn', 'km/h' * @property {integer} [windspeed.decimalPlaces=0] * Number of digits to appear after the decimal point. @@ -724,7 +724,7 @@

Source: thermodynamicDiagram/Hodograph.js

diff --git a/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html b/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html index 5d156c4c..d05aef54 100644 --- a/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html +++ b/doc/thermodynamicDiagram_PlotAltitudeDataArea.js.html @@ -179,7 +179,7 @@

Source: thermodynamicDiagram/PlotAltitudeDataArea.js

diff --git a/doc/thermodynamicDiagram_TDDiagram.js.html b/doc/thermodynamicDiagram_TDDiagram.js.html index 2b784cae..df5f32ed 100644 --- a/doc/thermodynamicDiagram_TDDiagram.js.html +++ b/doc/thermodynamicDiagram_TDDiagram.js.html @@ -1005,11 +1005,12 @@

Source: thermodynamicDiagram/TDDiagram.js

return point; }, this)) .fill('none').stroke(options.style); - if (options.highlightedLines !== undefined) - options.highlightedLines.forEach(function (vHighlight) { - if (v == vHighlight) + if (options.highlightedLines !== undefined) { + options.highlightedLines.forEach(vHighlight => { + if (v == tempKelvinToCelsius(vHighlight)) line.stroke({width: highlightLineWidth}); - }, this); + }); + } }, this); } @@ -1290,7 +1291,7 @@

Source: thermodynamicDiagram/TDDiagram.js

diff --git a/doc/thermodynamicDiagram_WindbarbsProfile.js.html b/doc/thermodynamicDiagram_WindbarbsProfile.js.html index fd4274af..9f5d4006 100644 --- a/doc/thermodynamicDiagram_WindbarbsProfile.js.html +++ b/doc/thermodynamicDiagram_WindbarbsProfile.js.html @@ -147,7 +147,7 @@

Source: thermodynamicDiagram/WindbarbsProfile.js

diff --git a/doc/thermodynamicDiagram_WindspeedProfile.js.html b/doc/thermodynamicDiagram_WindspeedProfile.js.html index 5f006b2a..ee3d27b8 100644 --- a/doc/thermodynamicDiagram_WindspeedProfile.js.html +++ b/doc/thermodynamicDiagram_WindspeedProfile.js.html @@ -38,10 +38,17 @@

Source: thermodynamicDiagram/WindspeedProfile.js

} from '../calc.js'; import { getNormalizedFontOptions, + getNormalizedLineOptions, drawTextInto } from './Functions.js'; import PlotAltitudeDataArea from './PlotAltitudeDataArea.js'; +/** + * Triggered, when the windspeedMax changes. + * + * @event module:meteoJS/thermodynamicDiagram/windspeedProfile#change:windspeedMax + */ + /** * Options for labels on hovering the windspeed profile. * @@ -49,8 +56,37 @@

Source: thermodynamicDiagram/WindspeedProfile.js

* module:meteoJS/thermodynamicDiagram/windspeedProfile~hoverLabelsOptions * @property {module:meteoJS/thermodynamicDiagram/tdDiagram~labelsOptions} * [windspeed] - Options for windspeed label. - * @param {number} [windspeedMax=41.67] - * The maximum visible windspeed [m/s]. + * @property {number} [windspeedMax=77.17] + * The maximum visible windspeed. Unit: m/s. + */ + +/** + * Isobar grid lines. + * + * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} + * module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions + * @property {number} [max] + * Maximum isobar value for the grid lines. By default, this is the + * maximum pressure of the coordinate system for x=0. + * @property {number} [min] + * Minimum isobar value for the grid lines. By default, this is the + * minimum pressure of the coordinate system for x=0. + * @property {number} [interval=100] + * Interval between the grid lines. + */ + +/** + * Isotach grid lines. + * + * @typedef {module:meteoJS/thermodynamicDiagram~lineOptions} + * module:meteoJS/thermodynamicDiagram/windspeedProfile~isotachsOptions + * @property {number} [max=undefined] + * Maximum windspeed value for the grid lines. By default, this is the + * maximum visible windspeed. + * @property {number} [min=0] + * Value for the first grid line. + * @property {number} [interval=25.72] + * Interval between the grid lines. */ /** @@ -58,6 +94,11 @@

Source: thermodynamicDiagram/WindspeedProfile.js

* * @typedef {module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea~options} * module:meteoJS/thermodynamicDiagram/windspeedProfile~options + * @property {Object} [grid] - Options for grid. + * @property {module:meteoJS/thermodynamicDiagram/windspeedProfile~isotachsOptions} + * [isotachs] - Options for isotach grid. By default, the lines are grey and dashed. + * @property {module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions} + * [isobars] - Options for isobar grid. By default, the lines are grey and dashed. */ /** @@ -66,6 +107,7 @@

Source: thermodynamicDiagram/WindspeedProfile.js

* &lt;pre>&lt;code>import WindspeedProfile from 'meteojs/thermodynamicDiagram/WindspeedProfile';&lt;/code>&lt;/pre> * * @extends module:meteoJS/thermodynamicDiagram/plotAltitudeDataArea.PlotAltitudeDataArea + * @fires module:meteoJS/thermodynamicDiagram/windspeedProfile#change:windspeedMax */ export class WindspeedProfile extends PlotAltitudeDataArea { @@ -84,7 +126,6 @@

Source: thermodynamicDiagram/WindspeedProfile.js

visible = true, events = {}, hoverLabels = {}, - windspeedMax = windspeedKNToMS(150), dataGroupIds = ['windspeed'], getCoordinatesByLevelData = (dataGroupId, sounding, levelData, plotArea) => { if (levelData.pres === undefined || @@ -92,7 +133,7 @@

Source: thermodynamicDiagram/WindspeedProfile.js

return {}; return { - x: plotArea.width * levelData.wspd / windspeedMax, + x: plotArea.width * levelData.wspd / plotArea.windspeedMax, y: plotArea.coordinateSystem.height - plotArea.coordinateSystem.getYByXP(0, levelData.pres) }; @@ -103,6 +144,8 @@

Source: thermodynamicDiagram/WindspeedProfile.js

.fill('none') .stroke(sounding.options.windprofile.windspeed.style); }, + windspeedMax = windspeedKNToMS(150), + grid = {}, filterDataPoint = undefined, minDataPointsDistance = 0 }) { @@ -125,9 +168,32 @@

Source: thermodynamicDiagram/WindspeedProfile.js

filterDataPoint, minDataPointsDistance }); + + /** + * @type number + * @private + */ + this._windspeedMax = windspeedMax; + + this._gridOptions = this.getNormalizedGridOptions(grid); this.init(); } + + /** + * The maximum visible windspeed. Unit: m/s. + * + * @type number + */ + get windspeedMax() { + return this._windspeedMax; + } + set windspeedMax(windspeedMax) { + const oldWindspeedMax = this._windspeedMax; + this._windspeedMax = windspeedMax; + if (this._windspeedMax != oldWindspeedMax) + this.trigger('change:windspeedMax'); + } /** * Draw background into SVG group. @@ -136,13 +202,28 @@

Source: thermodynamicDiagram/WindspeedProfile.js

*/ _drawBackground(svgNode) { super._drawBackground(svgNode); - - svgNode - .line(0, 0, 0, this.height) - .stroke({color: 'black', width: 1}); - svgNode - .line(this.width, 0, this.width, this.height) - .stroke({color: 'black', width: 1}); + + // isobars + if (this._gridOptions.isobars.visible) { + const isobarsNode = svgNode.group(); + for (let i=this._gridOptions.isobars.min; i&lt;=this._gridOptions.isobars.max; i+=this._gridOptions.isobars.interval) { + const y = this.coordinateSystem.height - this.coordinateSystem.getYByXP(0, i); + isobarsNode + .line(0, y, this.width, y) + .stroke(this._gridOptions.isobars.style); + } + } + + // isotach grid + if (this._gridOptions.isotachs.visible) { + const isotachsNode = svgNode.group(); + for (let i=this._gridOptions.isotachs.min; i&lt;=this._gridOptions.isotachs.max; i+=this._gridOptions.isotachs.interval) { + const x = this.width * i / this.windspeedMax; + isotachsNode + .line(x, 0, x, this.height) + .stroke(this._gridOptions.isotachs.style); + } + } } /** @@ -250,8 +331,70 @@

Source: thermodynamicDiagram/WindspeedProfile.js

}); }; } + + /** + * Normalizes options for grid. + * + * @private + */ + getNormalizedGridOptions({ + isotachs = {}, + isobars = {} + }) { + isotachs = getNormalizedIsolineOptions(isotachs, { + min: 0, + max: this._windspeedMax, + interval: windspeedKNToMS(50), + style: { + color: 'grey', + dasharray: '2 2' + } + }); + const isobarsInterval = 100; + const min = (this.coordinateSystem === undefined) + ? 100 + : Math.ceil(this.coordinateSystem.getPByXY(0, this.height)/isobarsInterval)*isobarsInterval; + const max = (this.coordinateSystem === undefined) + ? 1050 + : Math.floor(this.coordinateSystem.getPByXY(0, 0)/isobarsInterval)*isobarsInterval; + isobars = getNormalizedIsolineOptions(isobars, { + min, + max, + interval: isobarsInterval, + style: { + color: 'grey', + dasharray: '1 3' + } + }); + + return { + isotachs, + isobars + }; + } } -export default WindspeedProfile; +export default WindspeedProfile; + +/** + * Normalize grid options. + * + * @param {module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions|module:meteoJS/thermodynamicDiagram/windspeedProfile~windspeedOptions} + * options - Options. + * @returns {module:meteoJS/thermodynamicDiagram/windspeedProfile~isobarsOptions|module:meteoJS/thermodynamicDiagram/windspeedProfile~windspeedOptions} + * Normalized options. + */ +function getNormalizedIsolineOptions({ + min = undefined, + max = undefined, + interval = undefined, + ...rest +}, defaults = {}) { + const options = getNormalizedLineOptions({ ...rest }, defaults); + options.min = (min === undefined) ? defaults.min : min; + options.max = (max === undefined) ? defaults.max : max; + options.interval = (interval === undefined) ? defaults.interval : interval; + return options; +} @@ -261,7 +404,7 @@

Source: thermodynamicDiagram/WindspeedProfile.js

diff --git a/doc/thermodynamicDiagram_axes_WindspeedProfileAxis.js.html b/doc/thermodynamicDiagram_axes_WindspeedProfileAxis.js.html new file mode 100644 index 00000000..a75faaaa --- /dev/null +++ b/doc/thermodynamicDiagram_axes_WindspeedProfileAxis.js.html @@ -0,0 +1,217 @@ + + + + + + + Source: thermodynamicDiagram/axes/WindspeedProfileAxis.js + + + + + + + + +
+
+
+ +
+ +
+
/**
+ * @module meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis
+ */
+import {
+  windspeedKNToMS,
+  windspeedMSToKN,
+  windspeedMSToKMH
+} from '../../calc.js';
+import Axis from '../Axis.js';
+
+/**
+ * Definitions for the labels of the windspeed profile axis.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram/axis~labelsOptions}
+ *   module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~labelOptions
+ * @property {number} [interval=25.72] - Interval between the labels.
+ * @property {string} [unit='kn']
+ *   Unit of the label values. Allowed values: 'm/s', 'kn', 'km/h'.
+ * @property {string} [prefix=' kn'] - Prefix of the label text.
+ */
+
+/**
+ * Options for the constructor.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram/axis~options}
+ *   module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~options
+ * @property {module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~labelOptions}
+ *   [labels] - Options for the labels.
+ * @property {number} [windspeedMax=77.17]
+ *   The maximum windspeed value. Unit: m/s.
+ */
+
+/**
+ * Class to draw the labelling of the windspeed profile.
+ * 
+ * &lt;pre>&lt;code>import WindspeedProfileAxis from 'meteojs/thermodynamicDiagram/axes/WindspeedProfileAxis';&lt;/code>&lt;/pre>
+ * 
+ * @extends module:meteoJS/thermodynamicDiagram/axis.Axis
+ */
+export class WindspeedProfileAxis extends Axis {
+
+  /**
+   * @param {module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~options}
+   *   options - Options.
+   */
+  constructor({
+    svgNode = undefined,
+    coordinateSystem,
+    x,
+    y,
+    width,
+    height,
+    style = {},
+    visible = true,
+    events = {},
+    labels = {},
+    title = {},
+    windspeedMax = windspeedKNToMS(150)
+  }) {
+    super({
+      svgNode,
+      coordinateSystem,
+      x,
+      y,
+      width,
+      height,
+      style,
+      visible,
+      events,
+      labels,
+      title
+    });
+
+    /**
+     * @type number
+     * @private
+     */
+    this._windspeedMax = windspeedMax;
+
+    this.init();
+  }
+
+  /**
+   * Maximum axis value. Unit: m/s.
+   * 
+   * @type number
+   */
+  get windspeedMax() {
+    return this._windspeedMax;
+  }
+  set windspeedMax(windspeedMax) {
+    const oldWindspeedMax = this._windspeedMax;
+    this._windspeedMax = windspeedMax;
+    if (this._windspeedMax != oldWindspeedMax)
+      this.onCoordinateSystemChange();
+  }
+
+  /**
+   * Normalize the options for the labels.
+   * 
+   * @param {module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~labelOptions}
+   *   options - Options.
+   * @returns {module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~labelOptions}
+   *   Normalized options.
+   * @override
+   */
+  getNormalizedLabelsOptions({
+    interval = windspeedKNToMS(50),
+    unit = 'kn',
+    prefix = ' kn',
+    ...rest
+  }) {
+    return super. getNormalizedLabelsOptions({
+      interval,
+      unit,
+      prefix,
+      ...rest
+    });
+  }
+
+  /**
+   * Draws the labels of the axis.
+   * 
+   * @param {external:SVG} svgNode - Node to draw into.
+   * @param {number} [min=0] - Minimum windspeed value to label.
+   * @param {number} [max=this._windspeedMax]
+   *   Maximum windspeed value to label.
+   * @param {Function} [getTextByInterval]
+   *   Returns the text representation of the label value (its argument).
+   * @param {Function} [getPositionByInterval]
+   *   Returns the position in pixels of the label value (its argument).
+   * @override
+   */
+  drawLabels({
+    svgNode,
+    min = 0,
+    max = this._windspeedMax,
+    getTextByInterval = windspeed => {
+      switch (this._labelsOptions.unit) {
+      case 'm/s':
+        return Number.parseFloat(windspeed)
+          .toFixed(this._labelsOptions.decimalPlaces);
+      case 'kn':
+        return windspeedMSToKN(windspeed)
+          .toFixed(this._labelsOptions.decimalPlaces);
+      default:
+        return windspeedMSToKMH(windspeed)
+          .toFixed(this._labelsOptions.decimalPlaces);
+      }
+    },
+    getPositionByInterval =
+    windspeed => this.width * windspeed / this._windspeedMax
+  }) {
+    super.drawLabels({
+      svgNode,
+      min,
+      max,
+      getTextByInterval,
+      getPositionByInterval
+    });
+  }
+  
+}
+export default WindspeedProfileAxis;
+
+
+
+ +
+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/doc/thermodynamicDiagram_axes_xAxis.js.html b/doc/thermodynamicDiagram_axes_xAxis.js.html index 0ca1b01f..6dd4fbb8 100644 --- a/doc/thermodynamicDiagram_axes_xAxis.js.html +++ b/doc/thermodynamicDiagram_axes_xAxis.js.html @@ -32,61 +32,84 @@

Source: thermodynamicDiagram/axes/xAxis.js

/**
  * @module meteoJS/thermodynamicDiagram/axes/xAxis
  */
-import { tempKelvinToCelsius, tempCelsiusToKelvin } from '../../calc.js';
-import yAxis from './yAxis.js';
+import {
+  tempKelvinToCelsius,
+  tempCelsiusToKelvin
+} from '../../calc.js';
+import Axis from '../Axis.js';
+
+/**
+ * Definitions for the labels of the x-axis of the thermodynamic diagram.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram/axis~labelsOptions}
+ *   module:meteoJS/thermodynamicDiagram/axes/xAxis~labelOptions
+ * @property {number} [interval=10] - Interval between the labels.
+ * @property {string} [unit='°C']
+ *   Unit of the label values. Allowed values: '°C', 'K'.
+ */
 
 /**
  * Class to draw the xAxis labelling.
  * 
- * @extends module:meteoJS/thermodynamicDiagram/axes/yAxis.yAxis
+ * @extends module:meteoJS/thermodynamicDiagram/axis.Axis
  */
-export class xAxis extends yAxis {
+export class xAxis extends Axis {
+
+  /**
+   * Normalize the options for the labels.
+   * 
+   * @param {module:meteoJS/thermodynamicDiagram/axes/xAxis~labelOptions}
+   *   options - Options.
+   * @returns {module:meteoJS/thermodynamicDiagram/axes/xAxis~labelOptions}
+   *   Normalized options.
+   * @override
+   */
+  getNormalizedLabelsOptions({
+    interval = 10,
+    unit = '°C',
+    ...rest
+  }) {
+    return super.getNormalizedLabelsOptions({
+      interval,
+      unit,
+      ...rest
+    });
+  }
   
   /**
-   * Draw background into SVG group.
+   * Draws the labels of the axis.
    * 
+   * @param {external:SVG} svgNode - Node to draw into.
+   * @param {number} [min] - Minimum temperature value to label.
+   * @param {number} [max] - Maximum temperature value to label.
+   * @param {Function} [getTextByInterval]
+   *   Returns the text representation of the label value (its argument).
+   * @param {Function} [getPositionByInterval]
+   *   Returns the position in pixels of the label value (its argument).
    * @override
    */
-  _drawBackground(svgNode) {
-    svgNode.clear();
-    //super.drawBackground(svgNode);
-    
-    if (this._labelsOptions.enabled) {
-      let svgLabelsGroup = svgNode.group();
-      let isothermsAzimut = 10;
-      let minT = Math.ceil(tempKelvinToCelsius(this.coordinateSystem.getTByXY(0, 0))/isothermsAzimut)*isothermsAzimut;
-      let maxT = Math.floor(tempKelvinToCelsius(this.coordinateSystem.getTByXY(this.width, 0))/isothermsAzimut)*isothermsAzimut;
-      let fontSize = 10;
-      for (let T=minT; T&lt;=maxT; T+=isothermsAzimut) {
-        let TKelvin = tempCelsiusToKelvin(T);
-        svgLabelsGroup
-          .plain(Math.round(tempKelvinToCelsius(TKelvin)))
-          .attr({
-            x: this.coordinateSystem.getXByYT(0, TKelvin),
-            y: fontSize,
-            fill: this._labelsOptions.style.color
-          })
-          .font({
-            size: fontSize+'px',
-            anchor: 'middle'
-          });
-      }
-    }
-    
-    if (this._titleOptions.text !== undefined) {
-      let svgTitleGroup = svgNode.group();
-      let fontSize = 12;
-      svgTitleGroup.plain(this._titleOptions.text)
-        .attr({
-          x: this.width/2,
-          y: this.height - fontSize*0.3,
-          fill: this._titleOptions.style.color
-        })
-        .font({
-          size: fontSize,
-          anchor: 'middle'
-        });
+  drawLabels({
+    svgNode,
+    getTextByInterval = T => Number.parseFloat(T).toFixed(this._labelsOptions.decimalPlaces),
+    getPositionByInterval = T => {
+      if (this._labelsOptions.unit == '°C')
+        T = tempCelsiusToKelvin(T);
+      return this.coordinateSystem.getXByYT(0, T);
     }
+  }) {
+    const min = (this._labelsOptions.unit == '°C')
+      ? Math.ceil(tempKelvinToCelsius(this.coordinateSystem.getTByXY(0, 0))/this._labelsOptions.interval)*this._labelsOptions.interval
+      : Math.ceil((this.coordinateSystem.getTByXY(0, 0))/this._labelsOptions.interval)*this._labelsOptions.interval;
+    const max = (this._labelsOptions.unit == '°C')
+      ? Math.floor(tempKelvinToCelsius(this.coordinateSystem.getTByXY(this.width, 0))/this._labelsOptions.interval)*this._labelsOptions.interval
+      : Math.floor((this.coordinateSystem.getTByXY(this.width, 0))/this._labelsOptions.interval)*this._labelsOptions.interval;
+    super.drawLabels({
+      svgNode,
+      min,
+      max,
+      getTextByInterval,
+      getPositionByInterval
+    });
   }
   
 }
@@ -100,7 +123,7 @@ 

Source: thermodynamicDiagram/axes/xAxis.js

diff --git a/doc/thermodynamicDiagram_axes_yAxis.js.html b/doc/thermodynamicDiagram_axes_yAxis.js.html index 0eb6448c..978cc589 100644 --- a/doc/thermodynamicDiagram_axes_yAxis.js.html +++ b/doc/thermodynamicDiagram_axes_yAxis.js.html @@ -32,29 +32,35 @@

Source: thermodynamicDiagram/axes/yAxis.js

/**
  * @module meteoJS/thermodynamicDiagram/axes/yAxis
  */
-import { getNormalizedLineStyleOptions } from '../Functions.js';
-import PlotArea from '../PlotArea.js';
+import Axis from '../Axis.js';
+
+/**
+ * Definitions for the labels of the windspeed profile axis.
+ * 
+ * @typedef {module:meteoJS/thermodynamicDiagram/axis~labelsOptions}
+ *   module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions
+ * @property {number} [interval=50] - Interval between the labels.
+ * @property {string} [unit='hPa']
+ */
 
 /**
  * Options for the constructor.
  * 
- * @typedef {module:meteoJS/thermodynamicDiagram/plotArea~options}
+ * @typedef {module:meteoJS/thermodynamicDiagram/axis~options}
  *   module:meteoJS/thermodynamicDiagram/axes/yAxis~options
- * @property {module:meteoJS/thermodynamicDiagram/axes/axisLabels~options} labels
- *   Options for the yAxis Labels.
- * @property {module:meteoJS/thermodynamicDiagram/axes/axisTitle~options} title
- *   Options for the title of the x-Axis.
+ * @property {module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions}
+ *   [labels] - Options for the labels.
  */
 
 /**
  * Class to draw the yAxis labelling.
  * 
- * @extends module:meteoJS/thermodynamicDiagram/plotArea.PlotArea
+ * @extends module:meteoJS/thermodynamicDiagram/axis.Axis
  */
-export class yAxis extends PlotArea {
+export class yAxis extends Axis {
 
   /**
-   * @param {module:meteoJS/thermodynamicDiagram/yAxis~options} options
+   * @param {module:meteoJS/thermodynamicDiagram/axes/yAxis~options} options
    *   Options.
    */
   constructor({
@@ -70,9 +76,6 @@ 

Source: thermodynamicDiagram/axes/yAxis.js

labels = {}, title = {} }) { - if (style.overflow === undefined) - style.overflow = 'visible'; - super({ svgNode, coordinateSystem, @@ -82,100 +85,65 @@

Source: thermodynamicDiagram/axes/yAxis.js

height, style, visible, - events + events, + labels, + title, + isHorizontal: false }); - - /** - * @type Object - * @private - */ - this._labelsOptions = getNormalizedLabelsOptions(labels); - - /** - * @type Object - * @private - */ - this._titleOptions = getNormalizedTitleOptions(title); - - this.init(); } - + /** - * Draw background into SVG group. + * Normalize the options for the labels. * + * @param {module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions} + * options - Options. + * @returns {module:meteoJS/thermodynamicDiagram/axes/yAxis~labelOptions} + * Normalized options. * @override */ - _drawBackground(svgNode) { - super._drawBackground(svgNode); - - if (this._labelsOptions.enabled) { - let svgLabelsGroup = svgNode.group(); - let isobarsAzimut = 50; - let minLevel = Math.ceil(this.coordinateSystem.getPByXY(0, this.height)/isobarsAzimut)*isobarsAzimut; - let maxLevel = Math.floor(this.coordinateSystem.getPByXY(0, 0)/isobarsAzimut)*isobarsAzimut; - let fontSize = 11; - for (let level=minLevel; level&lt;=maxLevel; level+=isobarsAzimut) { - let y = this.height - this.coordinateSystem.getYByXP(0, level); - let text = svgLabelsGroup.plain(level).attr({ - y: y+fontSize*0.3, - x: this.width - }); - text - .font({ - size: fontSize+'px', - anchor: 'end' - }) - .attr({ - fill: this._labelsOptions.style.color - }); - } - } - - if (this._titleOptions.text !== undefined) { - let svgTitleGroup = svgNode.group(); - let fontSize = 12; - svgTitleGroup.plain(this._titleOptions.text) - .attr({ - x: fontSize*0.4, - y: this.height/2, - fill: this._titleOptions.style.color - }) - .font({ - size: fontSize, - anchor: 'middle' - }) - .rotate(-90); - } + getNormalizedLabelsOptions({ + interval = 50, + unit = 'hPa', + ...rest + }) { + return super.getNormalizedLabelsOptions({ + interval, + unit, + ...rest + }); } - -} -export default yAxis; -function getNormalizedLabelsOptions({ - enabled = true, - style = {} -}) { - let options = { - enabled, - style - }; - options.style = getNormalizedLineStyleOptions(options.style); - return options; -} + /** + * Draws the labels of the axis. + * + * @param {external:SVG} svgNode - Node to draw into. + * @param {number} [min] - Minimum windspeed value to label. + * @param {number} [max] + * Maximum windspeed value to label. + * @param {Function} [getTextByInterval] + * Returns the text representation of the label value (its argument). + * @param {Function} [getPositionByInterval] + * Returns the position in pixels of the label value (its argument). + * @override + */ + drawLabels({ + svgNode, + min = Math.ceil(this.coordinateSystem.getPByXY(0, this.height)/this._labelsOptions.interval)*this._labelsOptions.interval, + max = Math.floor(this.coordinateSystem.getPByXY(0, 0)/this._labelsOptions.interval)*this._labelsOptions.interval, + getTextByInterval = level => Number.parseFloat(level).toFixed(this._labelsOptions.decimalPlaces), + getPositionByInterval = level => this.height - this.coordinateSystem.getYByXP(0, level) + }) { + super.drawLabels({ + svgNode, + min, + max, + getTextByInterval, + getPositionByInterval + }); + } -function getNormalizedTitleOptions({ - align = 'middle', - style = {}, - text = undefined -}) { - let options = { - align, - style, - text - }; - options.style = getNormalizedLineStyleOptions(options.style); - return options; -}
+} +export default yAxis;
@@ -185,7 +153,7 @@

Source: thermodynamicDiagram/axes/yAxis.js

diff --git a/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html b/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html index 6150ef2d..4597a739 100644 --- a/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html +++ b/doc/thermodynamicDiagram_coordinateSystem_Emagram.js.html @@ -76,7 +76,7 @@

Source: thermodynamicDiagram/coordinateSystem/Emagram.js

diff --git a/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html b/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html index 98d4a5b9..275907cf 100644 --- a/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html +++ b/doc/thermodynamicDiagram_coordinateSystem_SkewTlogPDiagram.js.html @@ -53,7 +53,7 @@

Source: thermodynamicDiagram/coordinateSystem/SkewTlogPDiagram.js

diff --git a/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html b/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html index 2859bbcf..e5264a67 100644 --- a/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html +++ b/doc/thermodynamicDiagram_coordinateSystem_StueveDiagram.js.html @@ -120,7 +120,7 @@

Source: thermodynamicDiagram/coordinateSystem/StueveDiagram.js

diff --git a/doc/thermodynamicDiagram_plotArea.js.html b/doc/thermodynamicDiagram_plotArea.js.html index bc6d6417..2947041e 100644 --- a/doc/thermodynamicDiagram_plotArea.js.html +++ b/doc/thermodynamicDiagram_plotArea.js.html @@ -530,7 +530,7 @@

Source: thermodynamicDiagram/PlotArea.js

diff --git a/doc/thermodynamicDiagram_plotDataArea.js.html b/doc/thermodynamicDiagram_plotDataArea.js.html index 36651362..9a4a4263 100644 --- a/doc/thermodynamicDiagram_plotDataArea.js.html +++ b/doc/thermodynamicDiagram_plotDataArea.js.html @@ -631,7 +631,7 @@

Source: thermodynamicDiagram/PlotDataArea.js

diff --git a/doc/timeline_Animation.js.html b/doc/timeline_Animation.js.html index 887b0b92..505c6189 100644 --- a/doc/timeline_Animation.js.html +++ b/doc/timeline_Animation.js.html @@ -622,7 +622,7 @@

Source: timeline/Animation.js

diff --git a/doc/timeline_NavigationButtons.js.html b/doc/timeline_NavigationButtons.js.html index 2b25d0c1..0a1084a8 100644 --- a/doc/timeline_NavigationButtons.js.html +++ b/doc/timeline_NavigationButtons.js.html @@ -212,7 +212,7 @@

Source: timeline/NavigationButtons.js

diff --git a/doc/timeline_Visualisation.js.html b/doc/timeline_Visualisation.js.html index 8de22ca3..cb83f64d 100644 --- a/doc/timeline_Visualisation.js.html +++ b/doc/timeline_Visualisation.js.html @@ -351,7 +351,7 @@

Source: timeline/Visualisation.js

diff --git a/doc/timeline_animation_ToggleButton.js.html b/doc/timeline_animation_ToggleButton.js.html index 7b279866..4f973d29 100644 --- a/doc/timeline_animation_ToggleButton.js.html +++ b/doc/timeline_animation_ToggleButton.js.html @@ -226,7 +226,7 @@

Source: timeline/animation/ToggleButton.js

diff --git a/doc/timeline_visualisation_Slider.js.html b/doc/timeline_visualisation_Slider.js.html index b9186a25..1afa89b3 100644 --- a/doc/timeline_visualisation_Slider.js.html +++ b/doc/timeline_visualisation_Slider.js.html @@ -124,7 +124,7 @@

Source: timeline/visualisation/Slider.js

diff --git a/doc/timeline_visualisation_Text.js.html b/doc/timeline_visualisation_Text.js.html index b4b1b5e7..bb352c63 100644 --- a/doc/timeline_visualisation_Text.js.html +++ b/doc/timeline_visualisation_Text.js.html @@ -92,7 +92,7 @@

Source: timeline/visualisation/Text.js

diff --git a/doc/timeline_visualisation_bsButtons.js.html b/doc/timeline_visualisation_bsButtons.js.html index 766be45a..08eeb067 100644 --- a/doc/timeline_visualisation_bsButtons.js.html +++ b/doc/timeline_visualisation_bsButtons.js.html @@ -232,7 +232,7 @@

Source: timeline/visualisation/bsButtons.js

diff --git a/doc/timeline_visualisation_bsDropdown.js.html b/doc/timeline_visualisation_bsDropdown.js.html index f9b9f975..5130ede9 100644 --- a/doc/timeline_visualisation_bsDropdown.js.html +++ b/doc/timeline_visualisation_bsDropdown.js.html @@ -287,7 +287,7 @@

Source: timeline/visualisation/bsDropdown.js

diff --git a/doc/tooltip_BootstrapTooltip.js.html b/doc/tooltip_BootstrapTooltip.js.html index 99bca3bf..6c7e81ad 100644 --- a/doc/tooltip_BootstrapTooltip.js.html +++ b/doc/tooltip_BootstrapTooltip.js.html @@ -247,7 +247,7 @@

Source: tooltip/BootstrapTooltip.js

diff --git a/meteoJS.min.js b/meteoJS.min.js index 53a6d039..a8c2327a 100644 --- a/meteoJS.min.js +++ b/meteoJS.min.js @@ -1,3 +1,3 @@ /*! For license information please see meteoJS.min.js.LICENSE.txt */ -var meteoJS,SVG=SVG||{},jQuery=jQuery||{},ol=ol||{layer:{},source:{},format:{},style:{}},Popper=Popper||{},bootstrap=bootstrap||{};(()=>{var e={588:(e,t,n)=>{function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){"use strict";var t,n=Object.prototype,o=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof m?t:m,r=Object.create(o.prototype),a=new R(i||[]);return r._invoke=function(e,t,n){var i=d;return function(o,r){if(i===h)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw r;return C()}for(n.method=o,n.arg=r;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=f(e,t,n);if("normal"===l.type){if(i=n.done?v:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=v,n.method="throw",n.arg=l.arg)}}}(e,n,a),r}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",v="completed",y={};function m(){}function b(){}function g(){}var w={};w[a]=function(){return this};var _=Object.getPrototypeOf,O=_&&_(_(E([])));O&&O!==n&&o.call(O,a)&&(w=O);var S=g.prototype=m.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(r,a,s,l){var u=f(e[r],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===i(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}var r;this._invoke=function(e,i){function o(){return new t((function(t,o){n(e,i,t,o)}))}return r=r?r.then(o,o):o()}}function T(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var r=o.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function n(){for(;++i=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var o=i.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}("object"===i(e=n.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){Function("r","regeneratorRuntime = r")(o)}}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i](r,r.exports,n),r.loaded=!0,r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i={};(()=>{"use strict";n.r(i),n.d(i,{Modelviewer:()=>ki,RepetitiveRequests:()=>V,Sounding:()=>Ho,Synview:()=>Pt,ThermodynamicDiagram:()=>Vl,ThermodynamicDiagramPluggable:()=>Va,Timeline:()=>z,Tooltip:()=>Hn,calc:()=>e,events:()=>tu,modelviewer:()=>ru,sounding:()=>au,synview:()=>iu,thermodynamicDiagram:()=>su,timeline:()=>nu,tooltip:()=>ou});var e={};function t(e){if(void 0!==e&&!isNaN(e))return 44330.769*(1-Math.pow(e/1013.25,.19029496))}function o(e){if(void 0!==e&&!isNaN(e))return 1013.25*Math.pow(1-e/44330.769,5.255)}function r(e,t){if(void 0!==e&&!isNaN(e)&&void 0!==t&&!isNaN(t))return e*Math.pow(1e3/t,.286)}function a(e,t){if(void 0!==e&&!isNaN(e)&&void 0!==t&&!isNaN(t))return e*Math.pow(t/1e3,.286)}function s(e,t){if(void 0!==t&&!isNaN(t)){for(var n=void 0,i=Math.pow(1e3/t,.286),o=273,r=20,a=0;Math.abs(r)>.1&&a<100;)a++,n=d(o,t),(o*i*Math.exp(2.5*n/o)-e)*r>0&&(r*=-.5),o+=r;return o}}function l(e,t){if(void 0!==e&&!isNaN(e)&&void 0!==t&&!isNaN(t)){var n=.4343*Math.log(e*t/(622+e));return Math.pow(10,.0498646455*n+2.4082965)-7.07475+38.9114*Math.pow(Math.pow(10,.0915*n)-1.2035,2)}}function u(e,t,n){if(!(void 0===e||isNaN(e)||void 0===t||isNaN(t)||void 0===n||isNaN(n))){for(var i=t-273.15,o=1,r=10,a=1,s=6.112*Math.exp(17.67*i/(i+243.5));Math.abs(o)>.05&&0!=(o=s-(6.112*Math.exp(17.67*i/(i+243.5))-n*(e-273.15-i)*66e-5*(1+.00115*i)))&&(o<0?-1!=a&&(a=-1,r/=10):1!=a&&(a=1,r/=10),!(Math.abs(o)<=.05));)i+=r*a;return i+273.15}}function c(e,t,n){var i=r(e,n);if(!(void 0===i||void 0===t||isNaN(t)||void 0===e||isNaN(e)||void 0===n||isNaN(n)))return i*Math.exp(2.4819*d(t,n)/v(e,t))}function f(e){if(void 0!==e&&!isNaN(e)){var t=new Array(6.1104546,.4442351,.014302099,.00026454708,30357098e-13,2.0972268e-8,60487594e-18,-1469687e-19),n=new Array(.06485546857696639,.03783195122560735,.02224449342887902,.013182892842468312,.007874020771412448,.004739730494884733,.0028751203550435793,.001757430376758103,.0010824173951885098,.0006717089391856059,.0004199647026320394,.0002645243638634699,.00016784796373681322,.00010728539763162038,6907426344961356e-20,4479404897680843e-20,2925704195639373e-20,19245291263499416e-21,12749137241074795e-21,8505070102755051e-21,5713400253349711e-21,3864650296738762e-21,2632109719650053e-21,18049107293057043e-22,12460785055581605e-22,8.660705713468708e-7,6.059822176688955e-7,4.2682119794324277e-7,3.026165085143795e-7,2.15963854234914e-7,1.5512895457833687e-7),i=0;if((e-=273.15)>-50)i=t[0]+e*(t[1]+e*(t[2]+e*(t[3]+e*(t[4]+e*(t[5]+e*(t[6]+e*t[7]))))));else{var o=(-e-50)/5;i=010;){var o=i+(n-i)/2,r=d(a(e,o),o);if(void 0===r)return;r.1;){var o=i+(n-i)/2,r=p(o,t);if(void 0===r)return;r>e?i=o:n=o}return i+(n-i)/2}}function v(e,t){if(void 0!==e&&!isNaN(e)&&void 0!==t&&!isNaN(t))return t-(.001296*t-.15772)*(e-t)}function y(e){return void 0===e||isNaN(e)?void 0:e+273.15}function m(e){return void 0===e||isNaN(e)?void 0:e-273.15}function b(e){return void 0===e||isNaN(e)?void 0:3.6*e}function g(e){return void 0===e||isNaN(e)?void 0:e/3.6}function w(e){return void 0===e||isNaN(e)?void 0:900*e/463}function _(e){return void 0===e||isNaN(e)?void 0:463*e/900}function O(e){return void 0===e||isNaN(e)?void 0:Math.min(12,Math.pow(e/.836,2/3))}function S(e){return void 0===e||isNaN(e)?void 0:.836*Math.pow(e,1.5)}function k(e,t){if(void 0!==e&&!isNaN(e)&&void 0!==t&&!isNaN(t))return 153*m(e)+.9985*t-304.26}function P(e,t,n,i){if(!(void 0===e||isNaN(e)||void 0===t||isNaN(t)||void 0===n||isNaN(n))){if(0==t)return e;var o=.02896;if(void 0===i&&(i=n),n==i)return e*Math.exp(9.807*-o/8.314/n*t);var r=(n-i)/t;return e*Math.exp(9.807*o/8.314/r*Math.log(1-r*t/n))}}function T(e,t,n){if(!(void 0===e||isNaN(e)||void 0===t||isNaN(t)||void 0===n||isNaN(n))){var i=f(t)*n;return 100*(e-i)/287.058/t+100*i/461.495/t}}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t,n){"listeners"in this&&void 0!==this.listeners||(this.listeners={}),e in this.listeners||(this.listeners[e]={});var i=Math.random().toString(36).substr(2,9);return this.listeners[e][i]={callback:t,thisArg:n},i}function R(e,t){"listeners"in this&&void 0!==this.listeners&&e in this.listeners&&t in this.listeners[e]&&delete this.listeners[e][t]}function E(e,t,n){"once_listeners"in this&&void 0!==this.once_listeners||(this.once_listeners={}),e in this.once_listeners&&"push"in this.once_listeners[e]||(this.once_listeners[e]=[]),this.once_listeners[e].push({callback:t,thisArg:n})}function C(e){return"listeners"in this&&void 0!==this.listeners&&e in this.listeners&&Object.keys(this.listeners[e]).length||"once_listeners"in this&&e in this.once_listeners&&Object.keys(this.once_listeners[e]).length}function N(e){var t=this,n=Array.prototype.slice.call(arguments);if(n.shift(),"listeners"in this&&void 0!==this.listeners&&e in this.listeners&&"object"==x(this.listeners[e])&&Object.keys(this.listeners[e]).forEach((function(i){t.listeners[e][i].callback.apply(void 0===t.listeners[e][i].thisArg?t:t.listeners[e][i].thisArg,n)})),"once_listeners"in this&&void 0!==this.once_listeners&&e in this.once_listeners&&"forEach"in this.once_listeners[e]){var i=this.once_listeners[e];this.once_listeners[e]=[],i.forEach((function(e){e.callback.apply(void 0===e.thisArg?t:e.thisArg,n)}))}}n.r(e),n.d(e,{altitudeISAByPres:()=>t,densityHumidAirByPressureAndTempAndRelHumidity:()=>T,dewpointByHMRAndPres:()=>l,equiPotentialTempByTempAndDewpointAndPres:()=>c,lclByPotentialTempAndHMR:()=>p,lclTemperatureByTempAndDewpoint:()=>v,potentialTempByLCLAndHMR:()=>h,potentialTempByTempAndPres:()=>r,pressureByBarometricFormula:()=>P,pressureISAByAltitude:()=>o,saturationHMRByTempAndPres:()=>d,saturationPressureByTemp:()=>f,snowlineByTemp850hPaAndAltidude:()=>k,tempByEquiPotTempAndPres:()=>s,tempByPotentialTempAndPres:()=>a,tempCelsiusToKelvin:()=>y,tempKelvinToCelsius:()=>m,wetbulbTempByTempAndDewpointAndPres:()=>u,windspeedBFToMS:()=>S,windspeedKMHToMS:()=>g,windspeedKNToMS:()=>_,windspeedMSToBF:()=>O,windspeedMSToKMH:()=>b,windspeedMSToKN:()=>w}),n(588);const B=function(e){e.on=j,e.un=R,e.once=E,e.hasListener=C,e.trigger=N};function I(e,t,n,i,o,r,a){try{var s=e[r](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,o)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.url,i=void 0===n?void 0:n,o=t.user,r=void 0===o?"":o,a=t.password,s=void 0===a?"":a,l=t.start,u=void 0===l||l,c=t.defaultTimeout,f=void 0===c?void 0:c,d=t.timeoutOnError,p=void 0===d?void 0:d,h=t.pauseOnHiddenDocument,v=void 0!==h&&h,y=t.responseType,m=void 0===y?"":y;D(this,e),this._url=i,this._user=r,this._password=s,this._isStarted=u,this._defaultTimeout=f,this._timeoutOnError=p,this._pauseOnHiddenDocument=v,this._initPauseOnHiddenDocument(),this._isSuppressedByHiddenDocument=!1,this._responseType=m,this._timeoutID=void 0,this._loading=!1,this._isStarted&&this.start()}var t,n,i,o;return t=e,(n=[{key:"url",get:function(){return this._url},set:function(e){this._url=e}},{key:"user",get:function(){return this._user},set:function(e){this._user=e}},{key:"password",get:function(){return this._password},set:function(e){this._password=e}},{key:"responseType",get:function(){return this._responseType},set:function(e){this._responseType=e}},{key:"start",value:function(){this._isStarted=!0,this._startRequest()}},{key:"stop",value:function(){this._isStarted=!1,void 0!==this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=void 0)}},{key:"_planRequest",value:function(e){var t=this,n=e.delay;void 0===this._timeoutID&&(this._timeoutID=setTimeout((function(){t._pauseOnHiddenDocument&&"hidden"in document&&document.hidden?t._isSuppressedByHiddenDocument=!0:t._startRequest()}),n))}},{key:"_startRequest",value:function(){var e=this;void 0!==this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=void 0),this._makeRequest().then((function(t){var n=t.request;if(e._isStarted){var i=e._defaultTimeout,o=n.getResponseHeader("Cache-Control");if(null!==o){var r=/(^|,\s*)max-age=([0-9]+)($|\s*,)/.exec(o);null!==r&&r[2]>0&&(i=Math.round(1e3*r[2]))}e.trigger("success:request",{request:n}),void 0!==i&&e._planRequest({delay:i})}}),(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.request;e._isStarted&&void 0!==n&&(e.trigger("error:request",{request:n}),void 0!==e._timeoutOnError&&e._planRequest({delay:e._timeoutOnError}))}),(function(t){var n=t.request,i=void 0===n?void 0:n;void 0!==i&&e.trigger("error:request",{request:i})}))}},{key:"_makeRequest",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.trigger("before:request"),e.abrupt("return",new Promise((function(e,n){if(void 0!==t._url)if(t._loading)n();else{t._loading=!0;var i=new XMLHttpRequest;void 0!==t.responseType&&(i.responseType=t.responseType),i.addEventListener("load",(function(){t._loading=!1,200==i.status?e({request:i}):n({request:i})})),i.addEventListener("error",(function(){t._loading=!1,n({request:i})})),i.open("GET",t._url,!0,t._user,t._password),i.send()}else n()})));case 2:case"end":return e.stop()}}),e,this)})),o=function(){var e=this,t=arguments;return new Promise((function(n,o){var r=i.apply(e,t);function a(e){I(r,n,o,a,s,"next",e)}function s(e){I(r,n,o,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)})},{key:"_initPauseOnHiddenDocument",value:function(){var e=this;this._pauseOnHiddenDocument&&document.addEventListener("visibilitychange",(function(){"hidden"in document&&!document.hidden&&e._isSuppressedByHiddenDocument&&e._isStarted&&(e._isSuppressedByHiddenDocument=!1,e.start())}))}}])&&A(t.prototype,n),e}();B(M.prototype);const V=M;function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.maxTimeGap,i=void 0===n?void 0:n,o=t.keyboardNavigation,r=void 0===o?{}:o;F(this,e),this.maxTimeGap=i,this.selectedTime=new Date("invalid"),this.times=[],this.enabledTimes=[],this.allEnabledTimes=[],this.timesByKey={},this._keyboardNavigation={},this._initKeyboardNavigation(r)}var t,n;return t=e,(n=[{key:"getSelectedTime",value:function(){return this.selectedTime}},{key:"setSelectedTime",value:function(e){return this._setSelectedTime(q(e,this.times)>-1?e:new Date("invalid")),this}},{key:"getTimes",value:function(){return this.times}},{key:"getEnabledTimes",value:function(){return this.enabledTimes}},{key:"getAllEnabledTimes",value:function(){return this.allEnabledTimes}},{key:"setTimesBySetID",value:function(e,t){return this.timesByKey[e]={times:t,enabled:t},this._updateTimes(),this._updateEnabledTimes(),this}},{key:"setEnabledTimesBySetID",value:function(e,t){return e in this.timesByKey&&(this.timesByKey[e].enabled=t,this._updateEnabledTimes()),this}},{key:"getSetIDs",value:function(){return Object.keys(this.timesByKey)}},{key:"deleteSetID",value:function(e){return e in this.timesByKey&&(delete this.timesByKey[e],this._updateTimes(),this._updateEnabledTimes()),this}},{key:"first",value:function(){return this._setSelectedTime(this.getFirstEnabledTime()),this}},{key:"last",value:function(){return this._setSelectedTime(this.getLastEnabledTime()),this}},{key:"next",value:function(){return this._setSelectedTime(this.getNextEnabledTime()),this}},{key:"prev",value:function(){return this._setSelectedTime(this.getPrevEnabledTime()),this}},{key:"nextAllEnabledTime",value:function(){return this._setSelectedTime(this.getNextAllEnabledTime()),this}},{key:"prevAllEnabledTime",value:function(){return this._setSelectedTime(this.getPrevAllEnabledTime()),this}},{key:"add",value:function(e,t){var n=this.getSelectedTime(),i=0;switch(t){case"hours":case"h":i=3600*e*1e3;break;case"minutes":case"m":i=60*e*1e3;break;case"seconds":case"s":i=1e3*e;break;case"milliseconds":case"ms":i=e}switch(0!=i&&(n=new Date(n.valueOf()+i)),t){case"years":case"y":n.setUTCFullYear(n.getUTCFullYear()+e);break;case"months":case"M":n.setUTCMonth(n.getUTCMonth()+e);break;case"days":case"d":n.setUTCDate(n.getUTCDate()+e)}return q(n,this.times)>-1&&this._setSelectedTime(n),this}},{key:"sub",value:function(e,t){var n=this.getSelectedTime(),i=0;switch(t){case"hours":case"h":i=3600*e*1e3;break;case"minutes":case"m":i=60*e*1e3;break;case"seconds":case"s":i=1e3*e;break;case"milliseconds":case"ms":i=e}switch(0!=i&&(n=new Date(n.valueOf()-i)),t){case"years":case"y":n.setUTCFullYear(n.getUTCFullYear()-e);break;case"months":case"M":n.setUTCMonth(n.getUTCMonth()-e);break;case"days":case"d":n.setUTCDate(n.getUTCDate()-e)}return q(n,this.times)>-1&&this._setSelectedTime(n),this}},{key:"getFirstEnabledTime",value:function(){return this.enabledTimes.length>0?this.enabledTimes[0]:new Date("invalid")}},{key:"getLastEnabledTime",value:function(){return this.enabledTimes.length>0?this.enabledTimes[this.enabledTimes.length-1]:new Date("invalid")}},{key:"getNextEnabledTime",value:function(){if(this.enabledTimes.length<1)return new Date("invalid");var e=q(this.getSelectedTime(),this.enabledTimes);if(e>-1)return++e-1)return-1<--e?this.enabledTimes[e]:this.enabledTimes[0];if(isNaN(this.getSelectedTime()))return this.enabledTimes[0];for(var t=new Date("invalid"),n=this.enabledTimes.length-1;n>=0;n--)if(this.getSelectedTime().valueOf()>this.enabledTimes[n].valueOf()){t=this.enabledTimes[n];break}return t}},{key:"getFirstAllEnabledTime",value:function(){return this.allEnabledTimes.length>0?this.allEnabledTimes[0]:new Date("invalid")}},{key:"getLastAllEnabledTime",value:function(){return this.allEnabledTimes.length>0?this.allEnabledTimes[this.allEnabledTimes.length-1]:new Date("invalid")}},{key:"getNextAllEnabledTime",value:function(){if(this.allEnabledTimes.length<1)return new Date("invalid");var e=q(this.getSelectedTime(),this.allEnabledTimes);if(e>-1)return++e-1)return-1<--e?this.allEnabledTimes[e]:this.allEnabledTimes[0];if(isNaN(this.getSelectedTime()))return this.allEnabledTimes[0];for(var t=new Date("invalid"),n=this.allEnabledTimes.length-1;n>=0;n--)if(this.getSelectedTime().valueOf()>this.allEnabledTimes[n].valueOf()){t=this.allEnabledTimes[n];break}return t}},{key:"isTimeEnabled",value:function(e){return this.enabledTimes.reduce((function(t,n){return n.valueOf()==e.valueOf()||t}),!1)}},{key:"isTimeAllEnabled",value:function(e){return this.allEnabledTimes.reduce((function(t,n){return n.valueOf()==e.valueOf()||t}),!1)}},{key:"isFirstEnabledTime",value:function(){return this.getFirstEnabledTime().valueOf()==this.getSelectedTime().valueOf()}},{key:"isLastEnabledTime",value:function(){return this.getLastEnabledTime().valueOf()==this.getSelectedTime().valueOf()}},{key:"_setSelectedTime",value:function(e){var t=this.selectedTime;return this.selectedTime=e,this.trigger("change:time",t),this.selectedTime}},{key:"_updateTimes",value:function(){this.times=[];var e=[],t={};for(var n in this.timesByKey)this.timesByKey[n].times.forEach((function(n){n.valueOf()in t||(e.push(n),t[n.valueOf()]=n)}));H(e),e.forEach((function(e){if(this.times.length<1)this.times.push(e);else{var t=this.times[this.times.length-1];if(void 0!==this.maxTimeGap&&e.valueOf()-t.valueOf()>1e3*this.maxTimeGap){var n=t;do{n=new Date(n.getTime()+1e3*this.maxTimeGap),this.times.push(n)}while(e.valueOf()-n.valueOf()>1e3*this.maxTimeGap)}this.times.push(e)}}),this),H(this.times),this.trigger("change:times")}},{key:"_updateEnabledTimes",value:function(){this.enabledTimes=[],this.allEnabledTimes=[];var e={},t={};for(var n in this.timesByKey)this.timesByKey[n].enabled.forEach((function(n){n.valueOf()in e||(this.enabledTimes.push(n),e[n.valueOf()]=n),n.valueOf()in t?t[n.valueOf()]++:t[n.valueOf()]=1}),this);for(var i in H(this.enabledTimes),t)t[i]==Object.keys(this.timesByKey).length&&this.allEnabledTimes.push(e[i]);H(this.allEnabledTimes),this.trigger("change:enabledTimes")}},{key:"_initKeyboardNavigation",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.enabled,i=void 0!==n&&n,o=t.first,r=void 0===o?36:o,a=t.last,s=void 0===a?35:a,l=t.prev,u=void 0===l?37:l,c=t.next,f=void 0===c?39:c,d=t.prevAllEnabledTime,p=void 0===d?[37,"ctrl"]:d,h=t.nextAllEnabledTime,v=void 0===h?[39,"ctrl"]:h,y=t.add,m=void 0===y?void 0:y,b=t.sub,g=void 0===b?void 0:b;void 0===m&&(m={"3h":[39,"ctrl","shift"],"6h":[39,"shift"],"12h":[39,"alt","shift"],"24h":[39,"alt"]}),void 0===g&&(g={"3h":[37,"ctrl","shift"],"6h":[37,"shift"],"12h":[37,"alt","shift"],"24h":[37,"alt"]}),this._keyboardNavigation={enabled:i,first:r,last:s,prev:u,next:f,prevAllEnabledTime:p,nextAllEnabledTime:v,add:m,sub:g},document&&this._keyboardNavigation.enabled&&document.addEventListener("keydown",(function(t){Object.keys(e._keyboardNavigation).forEach((function(n){"enabled"!=n&&(/^(add|sub)$/.test(n)?Object.keys(e._keyboardNavigation[n]).forEach((function(i){var o=i.match(/^([0-9]+)\s*([a-zA-Z]+)$/);null!==o&&K(t,e._keyboardNavigation[n][i])&&(e[n](+o[1],o[2]),t.preventDefault(),t.stopPropagation())})):n in e&&K(t,e._keyboardNavigation[n])&&(e[n](),t.preventDefault(),t.stopPropagation()))}))}))}}])&&Y(t.prototype,n),e}();B(X.prototype);const z=X;var q=function(e,t){return t.findIndex((function(t){return t.valueOf()==e.valueOf()}))};function H(e){e.sort((function(e,t){return e.valueOf()-t.valueOf()}))}function K(e,t){if("object"==G(t)&&"forEach"in t||(t=[t]),0==t.length)return!1;var n=[["ctrl","ctrlKey"],["alt","altKey"],["shift","shiftKey"],["meta","metaKey"]].reduce((function(n,i){return n&&(t.indexOf(i[0])>-1?e[i[1]]:!e[i[1]])}),!0);return t.forEach((function(t){switch(t){case"ctrl":case"alt":case"shift":case"meta":break;default:t!=e.keyCode&&(n=!1)}})),n}const U=jQuery;var $=n.n(U);function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},i=n.timeline,o=n.restartPause,r=void 0===o?1.8:o,a=n.imagePeriod,s=void 0===a?.2:a,l=n.imageFrequency,u=void 0===l?void 0:l,c=n.enabledStepsOnly,f=void 0===c||c,d=n.allEnabledStepsOnly,p=void 0!==d&&d;Z(this,e),this.options={timeline:i,restartPause:r,imagePeriod:s,imageFrequency:u,enabledStepsOnly:f,allEnabledStepsOnly:p},void 0===this.options.timeline&&(this.options.timeline=new z),void 0!==this.options.imageFrequency&&0!=this.options.imageFrequency&&(this.options.imagePeriod=1/this.options.imageFrequency),this.animationIntervalID=void 0,this.animationTimeoutID=void 0,this.animationStep=0,this.timesHash={},this.times=[];var h=function(){t.times=t.options.timeline[t._getTimelineTimesMethod()](),t.timesHash={},t.times.forEach((function(e,n){return t.timesHash[e.valueOf()]=n}))};this.options.timeline.on(this._getTimelineChangeTimesEvent(),h),h()}var t,n;return t=e,(n=[{key:"getImagePeriod",value:function(){return this.options.imagePeriod}},{key:"setImagePeriod",value:function(e){return this.options.imagePeriod=e,this.isStarted()&&this._updateAnimation(),this.trigger("change:imageFrequency"),this}},{key:"getImageFrequency",value:function(){return 1/this.options.imagePeriod}},{key:"setImageFrequency",value:function(e){return 0!=e&&this.setImagePeriod(1/e),this}},{key:"getRestartPause",value:function(){return this.options.restartPause}},{key:"setRestartPause",value:function(e){return this.options.restartPause=Number(e),this.trigger("change:restartPause"),this}},{key:"isStarted",value:function(){return void 0!==this.animationIntervalID||void 0!==this.animationTimeoutID}},{key:"start",value:function(){this.options.timeline.getSelectedTime().valueOf()in this.timesHash&&this._setStep(this.timesHash[this.options.timeline.getSelectedTime().valueOf()]),this.isStarted()||this._updateAnimation(),this.trigger("start:animation")}},{key:"stop",value:function(){this._clearAnimation(),this.trigger("stop:animation")}},{key:"toggle",value:function(){this.isStarted()?this.stop():this.start()}},{key:"_setStep",value:function(e){0<=e&&e=e._getCount()-1&&(e.trigger("end:animation"),e._clearAnimation(),e._initRestartPause())}),1e3*this.options.imagePeriod))}},{key:"_initRestartPause",value:function(){var e=this;void 0===this.animationTimeoutID&&(this.animationTimeoutID=window.setTimeout((function(){e.animationStep=0,e.trigger("restart:animation"),e.animationStep").addClass("form-control").attr("type","number").attr("min",1).attr("step",1),a=$()("
").addClass("input-group").append(r).append($()("").addClass("input-group-text").text(o));r.on("change",(function(){return n.setImageFrequency(r.val())}));var s=function(){return r.val(n.getImageFrequency())};return n.on("change:imageFrequency",s),s(),e.append(a),a}function te(e,t){var n=t.animation,i=t.frequencies;i=i||[1];var o=$()("").addClass("form-range").attr("type","range").attr("min",0).attr("max",i.length-1);o.on("change input",(function(){var e=o.val();e-1&&o.val(e)};return n.on("change:imageFrequency",r),r(),e.append(o),o}function ne(e,t){var n=t.animation,i=t.suffix,o=void 0===i?"s":i,r=$()("").addClass("form-control").attr("type","number").attr("min",0).attr("step",.1),a=$()("
").addClass("input-group").append(r).append($()("").addClass("input-group-text").text(o));r.on("change",(function(){return n.setRestartPause(r.val())}));var s=function(){return r.val(n.getRestartPause())};return n.on("change:restartPause",s),s(),e.append(a),a}const ie='\n \n',oe='\n \n';function re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.timeline,i=void 0===n?void 0:n,o=t.node,r=void 0===o?void 0:o,a=t.animation,s=void 0===a?void 0:a,l=t.enabledStepsOnly,u=void 0===l||l,c=t.allEnabledStepsOnly,f=void 0!==c&&c,d=t.textInvalid,p=void 0===d?"-":d,h=t.getTimeText,v=void 0===h?void 0:h,y=t.outputTimezone,m=void 0===y?void 0:y;ae(this,e),this.options={timeline:i,node:r,animation:s,enabledStepsOnly:u,allEnabledStepsOnly:f,textInvalid:p,getTimeText:v,outputTimezone:m},void 0===this.options.timeline&&(this.options.timeline=new z),this.listeners=[],this.inputListener=void 0}var t,n;return t=e,(n=[{key:"setNode",value:function(e){if(void 0!==this.options.node&&this.emptyNode(),void 0===e)this.detachEventListeners(),this.options.node=e;else{this.options.node=e;var t=this.listeners.length>0;t||(this.attachEventListener(this.options.timeline,"change:time",(function(){this.onChangeTime()}),this),this.attachEventListener(this.options.timeline,"change:times",(function(){this.onChangeTimes()}),this),this.attachEventListener(this.options.timeline,"change:enabledTimes",(function(){this.onChangeTimes()}),this)),this.onInitNode(t),this.onChangeTimes(),this.onChangeTime()}return void 0===this.inputListener&&(this.inputListener=this.on("input",(function(){void 0!==this.options.animation&&this.options.animation.stop()}),this)),this}},{key:"getOutputTimezone",value:function(){return this.options.outputTimezone}},{key:"setOutputTimezone",value:function(e){var t=this.options.outputTimezone!=e;return this.options.outputTimezone=e,t&&void 0!==this.options.node&&(this.onChangeTimes(),this.onChangeTime()),this}},{key:"onChangeTime",value:function(){}},{key:"onChangeTimes",value:function(){}},{key:"emptyNode",value:function(){}},{key:"onInitNode",value:function(){}},{key:"getTimelineTimes",value:function(){var e=this.options.allEnabledStepsOnly?"getAllEnabledTimes":this.options.enabledStepsOnly?"getEnabledTimes":"getTimes";return this.options.timeline[e]()}},{key:"timeToText",value:function(e,t){return isNaN(e)?this.options.textInvalid:void 0!==this.options.getTimeText?this.options.getTimeText.call(this,e,t):e.toISOString()}},{key:"attachEventListener",value:function(e,t,n,i){this.listeners.push([e,t]),e.on(t,n,i)}},{key:"detachEventListeners",value:function(){this.listeners.forEach((function(e){"un"in e[0]?e[0].un(e[1]):"off"in e[0]&&e[0].off(e[1])})),this.listeners=[]}}])&&se(t.prototype,n),e}();B(le.prototype);const ue=le;function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var fe=["format"];function de(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.format,i=void 0===n?void 0:n,o=de(t,fe);return pe(this,a),(e=r.call(this,o)).options.format=i,e.setNode(e.options.node),e}return t=a,(n=[{key:"onChangeTime",value:function(){this.options.node.text(this.timeToText(this.options.timeline.getSelectedTime(),this.options.format))}},{key:"emptyNode",value:function(){this.options.node.text("")}}])&&he(t.prototype,n),a}(ue);function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.format,i=void 0===n?"HH":n,o=t.grouping,s=void 0===o?"daily":o,l=t.groupingFormat,u=void 0===l?"ddd, DD. MMM":l,c=t.classMain,f=void 0===c?"btn-toolbar":c,d=t.classButtonGroup,p=void 0===d?"btn-group":d,h=t.classButtonGroupMargin,v=void 0===h?"me-2":h,y=t.classLabel,m=void 0===y?void 0:y,b=t.classLabelSpan,g=void 0===b?"d-block w-100":b,w=t.classButton,_=void 0===w?"btn":w,O=t.classButtonActive,S=void 0===O?"active":O,k=t.classButtonNotEnabled,P=void 0===k?"btn-light":k,T=t.classButtonEnabled,x=void 0===T?"btn-secondary":T,j=t.classButtonAllEnabled,R=void 0===j?"btn-primary":j,E=xe(t,Te);return je(this,a),(e=r.call(this,E)).options.format=i,e.options.grouping=s,e.options.groupingFormat=u,e.options.classMain=f,e.options.classButtonGroup=p,e.options.classButtonGroupMargin=v,e.options.classLabel=m,e.options.classLabelSpan=g,e.options.classButton=_,e.options.classButtonActive=S,e.options.classButtonNotEnabled=P,e.options.classButtonEnabled=x,e.options.classButtonAllEnabled=R,e.toolbarNode=void 0,e.setNode(e.options.node),e}return t=a,(n=[{key:"onChangeTime",value:function(){if(void 0!==this.toolbarNode){var e=this.options.timeline.getSelectedTime(),t=this;this.toolbarNode.find("button").each((function(){var n=new Date(+$()(this).data("time"));$()(this).removeClass(t.options.classButtonActive),e.valueOf()==n.valueOf()&&$()(this).addClass(t.options.classButtonActive)}))}}},{key:"onChangeTimes",value:function(){void 0===this.toolbarNode&&(this.toolbarNode=$()("
")),this.toolbarNode.empty();var e="daily"==this.options.grouping?"YYYY-MM-DD":"hourly"==this.options.grouping?"YYYY-MM-DD HH":this.options.grouping,t=void 0;this.getTimelineTimes().forEach((function(n){if(void 0===t||t.data("date")!=this.timeToText(n,e)){var i=$()("
").addClass(this.options.classButtonGroup).addClass(this.options.classButtonGroupMargin).attr("role","group").attr("aria-label",this.timeToText(n,e));if(void 0===this.options.groupingFormat)t=i;else{var o=$()("").addClass(this.options.classLabelSpan).text(this.timeToText(n,this.options.groupingFormat));t=$()("