Table of Contents

Class LineGraphVisualizer

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

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

public class LineGraphVisualizer : BufferedVisualizer
Inheritance
LineGraphVisualizer
Inherited Members

Properties

AutoScaleX

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

public bool AutoScaleX { get; set; }

Property Value

bool

AutoScaleY

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

public bool AutoScaleY { get; set; }

Property Value

bool

Capacity

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

public int Capacity { get; set; }

Property Value

int

XMax

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

public double XMax { get; set; }

Property Value

double

XMin

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

public double XMin { get; set; }

Property Value

double

YMax

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

public double YMax { get; set; }

Property Value

double

YMin

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

public double YMin { 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(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()