SmoothieChart

Wisej.Web.Ext.SmoothieChart.SmoothieChart

Namespace: Wisej.Web.Ext.SmoothieChart

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

Implements the SmoothieChart (http://smoothiecharts.org/). A JavaScript charting library for streaming data.

public class SmoothieChart : Control

Constructors

SmoothieChart()

constructor

Properties

BackColor

Color: Returns or sets the background color for the control. (Default: Color [Black])

BorderStyle

BorderStyle: Indicates the border style for the control. (Default: None)

DataFrequency

Int32: DataFrequency in milliseconds. It is the interval between data requests. (Default: 500)

FontSize

Int32: Returns or sets the text color for the control. (Default: 10)

ForeColor

Color: Returns or sets the text color for the control. (Default: Color [White])

GidLineSize

Int32: Returns or sets the size of the grid lines. (Default: 1)

GridLineColor

Color: Returns or sets the color of the grid lines. (Default: Color [White])

Interpolation

InterpolationType: Returns or sets the type of interpolation to use when drawing this time series. (Default: Bezier)

MaxValue

Nullable<Int32>: Returns or sets the maximum value. Leave null to let the chart dynamically adjust the maximum value. (Default: null)

MinValue

Nullable<Int32>: Returns or sets the minimum value. Leave null to let the chart dynamically adjust the minimum value. (Default: null)

ScrollSpeed

Int32: ScrollSpeed in milliseconds/pixel. (Default: 20)

ShowMinMaxLabels

Boolean: Returns or sets whether the control displays the minimum and maximum labels. (Default: True)

ShowTimeStamps

Boolean: Returns or sets whether the control displays the time stamp labels. (Default: True)

TimeLineSpacing

Int32: Returns or sets the distance between the vertical grid lines in milliseconds/line. (Default: 1000)

TimeSeries

TimeSeriesCollection: Returns or sets the TimeSeries lines to display in the chart.

UpdateDelay

Int32: UpdateDelay in milliseconds. It is the time lag between the data received from the server and the screen update. (Default: 1000)

VerticalSections

Int32: Returns or sets the number of vertical sections marked out by horizontal grid lines. (Default: 2)

Methods

GetData()

Returns the data requested by the widget.

Returns: Object.

Start()

Starts the data streaming.

Stop()

Stops the data streaming.

Events

DataNeeded

DataNeededEventHandler Fired when the chart needs a data point.

Last updated

Was this helpful?