Class TimeSeriesVisualizerBase
- Namespace
- Bonsai.Design.Visualizers
- Assembly
- Bonsai.Design.Visualizers.dll
Provides a base class for rolling graph visualizers of multi-dimensional time series data.
public class TimeSeriesVisualizerBase : BufferedVisualizer
- Inheritance
-
TimeSeriesVisualizerBase
- Derived
- Inherited Members
Methods
AddValue(DateTime, params double[])
Adds a new data point to the multi-dimensional time series.
protected void AddValue(DateTime time, params double[] value)
Parameters
time
DateTimeThe timestamp associated with the data point.
value
double[]A double array representing all the attribute dimensions of the data point.
Load(IServiceProvider)
Loads type visualizer resources using the specified service provider.
public override void Load(IServiceProvider provider)
Parameters
provider
IServiceProviderA service provider object which can be used to obtain visualization, runtime inspection, or other editing services.
Show(DateTime, object)
Updates the type visualizer to display a buffered value object received at the specified time.
protected override void Show(DateTime time, object value)
Parameters
Show(object)
Updates the type visualizer to display the specified value object.
public override void Show(object value)
Parameters
value
objectThe value to visualize.
Unload()
Unloads all type visualizer resources.
public override void Unload()