new HorizontalChart(optionsopt, isRealTimeopt)
Initialises a new
HorizontalChart
.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
options |
DefaultChartOptions |
<optional> |
HorizontalChart options. |
|
isRealTime |
boolean |
<optional> |
false | Enables the real-time data visualization mode. |
- Source:
Methods
addTimeSeries(…timeSeries)
Adds
TimeSeries
to this chart.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
timeSeries |
TimeSeries |
<repeatable> |
The TimeSeries to add. |
- Source:
streamTo(canvas)
Instructs the
HorizontalChart
to start rendering to the provided Canvas
.
Parameters:
Name | Type | Description |
---|---|---|
canvas |
Canvas | The target canvas element. |
- Source: