public static DateTimeSteps FindDateTimeStep(Double stepValue)
Parameters
- stepValue
- Desired Increment
Return Value
Remarks
This method is useful for converting a double value into a DateTimeSteps enum. Example
[C#]
private void button1_Click(object sender, System.EventArgs e) {
Steema.TeeChart.DateTimeSteps myStep;
myStep = Steema.TeeChart.Axis.FindDateTimeStep(TimeSpan.FromDays(2).TotalDays);
tChart1.Axes.Bottom.Increment = Steema.TeeChart.Utils.DateTimeStep[(int)myStep];
}
See Also
Axis Class | Axis Members | Steema.TeeChart Namespace