Chart component for the map.
Example
<OlMapChart />
Methods
(function) data()
Method data
(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. |
(function) filter()
Method filter
(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). |
(function) filter()
Method filter
(function) mounted()
Method mounted