Library: Sources
Overview
Sources
  • desc: Sources
Constructors
Timeplot.DefaultEventSource(eventIndex)
Timeplot.DefaultEventSource is an extension of Timeline.DefaultEventSource and therefore reuses the exact same event loading subsystem that Timeline uses.
parameters
eventIndex
methods
Timeplot.DefaultEventSource.NumericEvent(time, values)
A NumericEvent is an Event that also contains an array of values, one for each columns in the loaded data file.
parameters
time
values
Timeplot.DataSource(eventSource)
A DataSource represent an abstract class that represents a monodimensional time series.
parameters
eventSource
methods
Timeplot.ColumnSource(eventSource, column)
Implementation of a DataSource that extracts the time series out of a single column from the events
parameters
eventSource
column
Timeplot.ColumnDiffSource(eventSource, column1, column2)
Data Source that generates the time series out of the difference between the first and the second column
parameters
eventSource
column1
column2
Functions
Timeplot.DefaultEventSource.loadText(text, separator, url, filter)
Function used by Timeplot to load time series data from a text file.
parameters
text
separator
url
filter
Return the range of the loaded data
Return the range of this data source
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
Timeplot.DataSource.addListener(listener)
Add a listener to the underlying event source
parameters
listener
Timeplot.DataSource.removeListener(listener)
Remove a listener from the underlying event source
parameters
listener
Timeplot.DataSource.replaceListener(oldListener, newListener)
Replace a listener from the underlying event source
parameters
oldListener
newListener
Objects
Generated by JsDoc Toolkit on Fri, 27 Jul 2007 04:11:47 GMT