Click or drag to resize

ChartToolsRoundToNearestInterval Method

LightningChart .NET Help
Rounds the value to nearest multiple of Interval.

Namespace:  Arction.WinForms.Charting
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static double RoundToNearestInterval(
	double value,
	double interval
)

Parameters

value
Type: SystemDouble
Value to round.
interval
Type: SystemDouble
Interval.

Return Value

Type: Double
Nearest interval multiple.
See Also