NiceDoubleScale

StockSharp.Xaml.Charting.Numerics

Implements: INiceScale

Methods

NiceNum
protected virtual double NiceNum(double range, bool round)
result = niceDoubleScale.NiceNum(range, round)

Returns a "nice" number approximately equal to the range bounds. Rounds the number if round = true. Takes the ceiling if round = false

range
round