Class BarGraphBuilder
- 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 bar graph.
[TypeVisualizer(typeof(BarGraphVisualizer))]
public class BarGraphBuilder : SingleArgumentExpressionBuilder, IExpressionBuilder
- Inheritance
-
BarGraphBuilder
- Implements
- Inherited Members
- Extension Methods
Properties
BarType
Gets or sets a value specifying how the different bars in the graph will be visually arranged.
public BarType BarType { get; set; }
Property Value
BaseAxis
Gets or sets a value specifying the axis on which the bars in the graph will be displayed.
[TypeConverter(typeof(BarGraphBuilder.BaseAxisConverter))]
public BarBase BaseAxis { get; set; }
Property Value
Capacity
Gets or sets the optional capacity used for rolling bar 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
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
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 bar 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.