TimeSeries
Namespace: Wisej.Web.Ext.SmoothieChart
Assembly: Wisej.Web.Ext.SmoothieChart (4.1.0.0)
Represents a line on the SmoothieChart control.
- C#
- VB.NET
public class TimeSeries
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
TimeSeries()
Initializes a new instance of TimeSeries.
Properties
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.
LineColor
Color: Returns or sets the line color. (Default: Color [Green])
LineWidth
Int32: Returns or sets the line width in pixels. (Default: 1)