Skip to main content

TimeSeries

Namespace: Wisej.Web.Ext.SmoothieChart

Assembly: Wisej.Web.Ext.SmoothieChart (4.1.0.0)

Represents a line on the SmoothieChart control.

public class TimeSeries

Add instances to the TimeSeries collection; the values of the line are provided by the DataNeeded event.

Example:

Adding a filled line to the chart:

this.smoothieChart1.TimeSeries.Add(new TimeSeries
{
LineColor = Color.Lime,
FillColor = Color.FromArgb(80, Color.Lime),
LineWidth = 2
});

Constructors​

Instance member TimeSeries()​

Initializes a new instance of TimeSeries.

Properties​

Instance member FillColor​

Color: Returns or sets the color used to fill the area below the line. (Default: Color [Transparent])

The default is Transparent (no fill). Use a semi-transparent color to keep the grid and the other lines visible.

Instance member LineColor​

Color: Returns or sets the line color. (Default: Color [Green])

Instance member LineWidth​

Int32: Returns or sets the line width in pixels. (Default: 1)