Table of Contents

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 DateTime

The 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 IServiceProvider

A 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

time DateTime

The time at which the value was received.

value object

The value to visualize.

Show(object)

Updates the type visualizer to display the specified value object.

public override void Show(object value)

Parameters

value object

The value to visualize.

Unload()

Unloads all type visualizer resources.

public override void Unload()