API Documentation

TimeSchedulerGraph

Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll

Represents a graph for TagBites.WinSchedulers.TimeScheduler control.

public class TimeSchedulerGraph

Constructors

TimeSchedulerGraph(TimeSchedulerGraphType)

Initializes a new instance of the TagBites.WinSchedulers.TimeSchedulerGraph class with specified the type of graph.

public void TimeSchedulerGraph(TimeSchedulerGraphType type)

Result Type: void

Parameters

TypeName
TimeSchedulerGraphTypetypeThe type of a graph.

TimeSchedulerGraph(TimeSchedulerGraphType, Color)

Initializes a new instance of the TagBites.WinSchedulers.TimeSchedulerGraph class with specified type and color of graph.

public void TimeSchedulerGraph(TimeSchedulerGraphType type, Color color)

Result Type: void

Parameters

TypeName
TimeSchedulerGraphTypetypeThe type of a graph.
ColorcolorA representing color of a the a graph.

TimeSchedulerGraph(TimeSchedulerGraphType, Color, double, double)

Initializes a new instance of the TagBites.WinSchedulers.TimeSchedulerGraph class with specified type, color of graph and its scale range.

public void TimeSchedulerGraph(TimeSchedulerGraphType type, Color color, double scaleMinValue, double scaleMaxValue)

Result Type: void

Parameters

TypeName
TimeSchedulerGraphTypetypeThe type of a graph.
ColorcolorA representing color of a the a graph.
doublescaleMinValueThe minimum value of the graph.
doublescaleMaxValueThe maximum value of the graph.

Properties

Color

public Color Color { get; }

Result Type: Color

ScaleMaxValue

Gets the maximum value of the graph scale.

public double? ScaleMaxValue { get; }

Result Type: double?<double>

ScaleMinValue

Gets the minimum value of the graph scale.

public double? ScaleMinValue { get; }

Result Type: double?<double>

Type

Gets the type of this graph.

public TimeSchedulerGraphType Type { get; }

Result Type: TimeSchedulerGraphType

Methods

AddPoint(DateTime, double)

Adds point to graph.

public void AddPoint(DateTime dateTime, double value)

Result Type: void

Parameters

TypeName
DateTimedateTimeThe date time the point will be created.
doublevalueThe value which the point will have.