Components

MultipleTimeSeriesItem

<MultipleTimeSeriesItem description urlList xAxesLabelStringList yAxesLabelStringList typeList isBinaryList />

Constructor

# <MultipleTimeSeriesItem description urlList xAxesLabelStringList yAxesLabelStringList typeList isBinaryList />

This is a component used as container to hold the MultipleTimeSeries component which is used to display a time series graph of the history of values for the multiple-property items. It relies on useMultipleFetch to post the time interval of interest and useInterval for periodic posting of the data to get results.

PropTypes:
Name Type Required Description Default
description string Yes The name of the sensor element or item.
urlList arrayOf Yes The list of endpoints to fetch the history of the different values from.
xAxesLabelStringList arrayOf Yes The list of titles of the x-axis of each of the graphs in the time series.
yAxesLabelStringList arrayOf Yes The list of titles of the y-axis of each of the graphs in the time series.
typeList arrayOf Yes The list of types of sensor values whose history is being displayed.
isBinaryList arrayOf Yes The list flags to check whether the value which the multiple-property sensor returns is a continuous value or a two-state value like true and false.

View Source components/dashboard/MultipleTimeSeriesItem.jsx, line 19

<MultipleTimeSeriesItem />