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
Type | Name | |
---|---|---|
TimeSchedulerGraphType | type | The 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
Type | Name | |
---|---|---|
TimeSchedulerGraphType | type | The type of a graph. |
Color | color | A 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
Type | Name | |
---|---|---|
TimeSchedulerGraphType | type | The type of a graph. |
Color | color | A representing color of a the a graph. |
double | scaleMinValue | The minimum value of the graph. |
double | scaleMaxValue | The 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; }
ScaleMinValue
Gets the minimum value of the graph scale.
public double? ScaleMinValue { get; }
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
Type | Name | |
---|---|---|
DateTime | dateTime | The date time the point will be created. |
double | value | The value which the point will have. |