Table of Contents

Class LineGraphBuilder

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

Represents an operator that configures a visualizer to plot each element of the sequence as a line graph.

[TypeVisualizer(typeof(LineGraphVisualizer))]
public class LineGraphBuilder : SingleArgumentExpressionBuilder, IExpressionBuilder
Inheritance
LineGraphBuilder
Implements
Inherited Members
Extension Methods

Properties

Capacity

Gets or sets the optional capacity used for rolling line graphs. If no capacity is specified, all data points will be displayed.

public int? Capacity { get; set; }

Property Value

int?

LineWidth

Gets or sets the width, in points, to be used for the line graph. Use a value of zero to hide the line.

public float LineWidth { get; set; }

Property Value

float

SymbolType

Gets or sets the optional symbol type to use for the line graph.

public SymbolType SymbolType { get; set; }

Property Value

SymbolType

ValueSelector

Gets or sets the names of the properties to be displayed in the graph. Each selected property must have a point pair compatible type.

public string ValueSelector { get; set; }

Property Value

string

XMax

Gets or sets a value specifying a fixed upper limit for the x-axis range. If no fixed range is specified, the graph limits can be edited online.

public double? XMax { get; set; }

Property Value

double?

XMin

Gets or sets a value specifying a fixed lower limit for the x-axis range. If no fixed range is specified, the graph limits can be edited online.

public double? XMin { get; set; }

Property Value

double?

YMax

Gets or sets a value specifying a fixed upper limit for the y-axis range. If no fixed range is specified, the graph limits can be edited online.

public double? YMax { get; set; }

Property Value

double?

YMin

Gets or sets a value specifying a fixed lower limit for the y-axis range. If no fixed range is specified, the graph limits can be edited online.

public double? YMin { get; set; }

Property Value

double?

Methods

Build(IEnumerable<Expression>)

Builds the expression tree for configuring and calling the line graph visualizer on the specified input argument.

public override Expression Build(IEnumerable<Expression> arguments)

Parameters

arguments IEnumerable<Expression>

A collection of Expression nodes representing the input arguments.

Returns

Expression

The constructed Expression node.