Components

MultipleTimeSeries

<MultipleTimeSeries dataSetList xAxesLabelStringList yAxesLabelStringList typeList isBinaryList />

Constructor

# <MultipleTimeSeries dataSetList xAxesLabelStringList yAxesLabelStringList typeList isBinaryList />

This is a component used to display a time series graph of the history of values for the multiple-property items. It relies on SingleTimeSeries to display the time series of each property measured by the sensor. And it uses the useInterval hook to switch the display among each time series at regular time intervals.

PropTypes:
Name Type Required Description Default
dataSetList array Yes The list of data of each of the properties to be visualized in the multiple time series.
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/timeseries/MultipleTimeSeries.jsx, line 15

<MultipleTimeSeries />