TimeSeriesPlot
Extends:
Displays a popup with an interactive plot showing the data of a time series coverage (all axes fixed except time).
Examples are VerticalProfile or PointSeries coverages.
Example:
layer.bindPopup(new C.TimeSeriesPlot(coverage))
Constructor Summary
Public Constructor | ||
public |
constructor(coverage: Coverage | Array<Coverage>, options: object) Creates a time series plot popup. |
Public Constructors
public constructor(coverage: Coverage | Array<Coverage>, options: object) source
Creates a time series plot popup.
Params:
Name | Type | Attribute | Description |
coverage | Coverage | Array<Coverage> | The time series coverage to visualize. If an array of time series coverages is given, then the reference systems are assumed to be identical. |
|
options | object |
|
Popup options. See also http://leafletjs.com/reference.html#popup-options. |
options.parameters | Array | Array<Array> |
|
The parameters to display. For a single coverage, an array of parameter keys, each parameter is accessible in a drop down. The default for a single coverage is to display all parameters. For multiple coverages, an array of parameter key groups, each group is accessible in a drop down. Each group array is ordered as the coverage array and determines which parameter of each coverage is displayed in a single plot. In each group, at least one item must be defined. The default for multiple coverages is to display all parameters and treat each one as a separate group. |
options.language | string |
|
A language tag, indicating the preferred language to use for labels. |
options.precision | string |
|
The number of significant digits to display. |