Table of Contents

Class LineChart

Namespace
Bonsai.Vision.Drawing
Assembly
Bonsai.Vision.dll

Represents an operator that specifies drawing a line chart by plotting each row of a matrix as a polyline element.

public class LineChart : CanvasElement
Inheritance
LineChart
Inherited Members

Properties

Color

Gets or sets the color of the chart lines.

[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar Color { get; set; }

Property Value

Scalar

Data

Gets or sets the matrix specifying the data content of the line chart.

public Mat Data { get; set; }

Property Value

Mat

Destination

Gets or sets the optional region in which to draw the chart. By default the chart will cover the entire image.

public Rect Destination { get; set; }

Property Value

Rect

LineType

Gets or sets a value specifying the line drawing algorithm used to draw the chart lines.

public LineFlags LineType { get; set; }

Property Value

LineFlags

Max

Gets or sets the upper bound of the data range.

public double Max { get; set; }

Property Value

double

Min

Gets or sets the lower bound of the data range.

public double Min { get; set; }

Property Value

double

Thickness

Gets or sets the thickness of the chart lines.

public int Thickness { get; set; }

Property Value

int

Methods

GetRenderer()

Returns the line chart drawing operation.

protected override Action<IplImage> GetRenderer()

Returns

Action<IplImage>

The Action<T> object that will be invoked to apply the drawing operation to the canvas bitmap during rendering.