Module: ol-map-chart-obsolete

Chart component for the map.

Source:

Example

<OlMapChart />

Methods

(function) data()

Method data
Source:

(method) showChart(type, ds, labelField, valueField, seriesField, title, unit)

Displays a time chart based on the provided parameters.

Parameters:
Name Type Description
type string

The type of the chart.

ds object

The data source for the chart.

labelField string

The field representing the label in the data source.

valueField string

The field representing the value in the data source.

seriesField string

The field representing the series in the data source.

title string

The title of the chart.

unit string

The unit of measurement for the chart.

Source:

(function) filter()

Method filter
Source:

(method) showFeatureFrequencyChart(type, data, title, feature, numerical, unit)

Displays a frequency chart.

Parameters:
Name Type Description
type string

The type of the chart.

data Array

The data to be displayed in the chart.

title string

The title of the chart.

feature string

The feature to be analyzed.

numerical boolean

Indicates whether the feature is numerical or categorical.

unit string

The unit of measurement for the feature (if applicable).

Source:

(function) filter()

Method filter
Source:

(function) mounted()

Method mounted
Source: