Table of Contents

Class RollingGraphVisualizer

Namespace
Bonsai.Design.Visualizers
Assembly
Bonsai.Design.Visualizers.dll

Provides a type visualizer to display an object as a rolling graph.

public class RollingGraphVisualizer : BufferedVisualizer
Inheritance
RollingGraphVisualizer
Inherited Members

Properties

AutoScale

Gets or sets a value indicating whether the y-axis range should be recalculated automatically as the graph updates.

public bool AutoScale { get; set; }

Property Value

bool

Capacity

Gets or sets the maximum number of time points displayed at any one moment in the graph.

public int Capacity { get; set; }

Property Value

int

Max

Gets or sets the upper limit of the y-axis range when using a fixed scale.

public double Max { get; set; }

Property Value

double

Min

Gets or sets the lower limit of the y-axis range when using a fixed scale.

public double Min { get; set; }

Property Value

double

Methods

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.

SequenceCompleted()

Updates the type visualizer when one of the active subscriptions gracefully terminates.

public override void SequenceCompleted()

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()