Library: Sources
Overview
Sources
- desc: Sources
Constructors
Timeplot.DefaultEventSource is an extension of Timeline.DefaultEventSource
and therefore reuses the exact same event loading subsystem that
Timeline uses.
parameters
eventIndex |
methods
A NumericEvent is an Event that also contains an array of values,
one for each columns in the loaded data file.
parameters
time | ||
values |
A DataSource represent an abstract class that represents a monodimensional time series.
parameters
eventSource |
methods
Implementation of a DataSource that extracts the time series out of a
single column from the events
parameters
eventSource | ||
column |
Data Source that generates the time series out of the difference
between the first and the second column
parameters
eventSource | ||
column1 | ||
column2 |
Functions
Function used by Timeplot to load time series data from a text file.
parameters
text | ||
separator | ||
url | ||
filter |
Timeplot.DefaultEventSource.getRange()
Return the range of the loaded data
Timeplot.DataSource.getRange()
Return the range of this data source
Timeplot.DataSource.getData()
Return the actual data that this data source represents.
NOTE: _data = { times: [], values: [] }
Return the value associate with the given time in this time series
parameters
t |
Add a listener to the underlying event source
parameters
listener |
Remove a listener from the underlying event source
parameters
listener |
Replace a listener from the underlying event source
parameters
oldListener | ||
newListener |
Objects