Class RollingGraphBuilder
- 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 rolling graph.
[TypeVisualizer(typeof(RollingGraphVisualizer))]
public class RollingGraphBuilder : SingleArgumentExpressionBuilder, IExpressionBuilder
- Inheritance
-
RollingGraphBuilder
- 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?
IndexSelector
Gets or sets the name of the property that will be used as index for the graph.
public string IndexSelector { get; set; }
Property Value
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
Max
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? Max { get; set; }
Property Value
Min
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? Min { get; set; }
Property Value
SymbolType
Gets or sets the optional symbol type to use for the line graph.
public SymbolType SymbolType { get; set; }
Property Value
ValueSelector
Gets or sets the names of the properties that will be displayed in the graph.
public string ValueSelector { get; set; }
Property Value
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.