Components

SingleTimeSeries

<SingleTimeSeries isBinary xAxesLabelString yAxesLabelString dataSet type />

Constructor

# <SingleTimeSeries isBinary xAxesLabelString yAxesLabelString dataSet type />

This is a component used to display a time series graph of the history of values for the single-property items.

PropTypes:
Name Type Required Description Default
isBinary bool Yes A flag to check whether the values are continuous values or a two-state values like true and false.
xAxesLabelString string Yes The title of the x-axis of the time series.
yAxesLabelString string Yes The title of the y-axis of the time series.
dataSet array Yes The array of values to be displayed in the time series.
type string Yes The type of sensor value whose history is being displayed.

View Source components/timeseries/SingleTimeSeries.jsx, line 12

<SingleTimeSeries />