SRGDisplayBase::FindLimits

void SRGDisplayBase::FindLimits(CScale* pScale, double dScaleAdjust)

Expands data range by specified factor and then adjusts to find 'nice' numbers//@rdesc void

Defined in: SRGDisplayBase.cpp

Parameters

pScale

CScale object containing range to be expanded and adjusted

dScaleAdjust

Multiplicative factor by which range is to be expanded -- default is 1.1 for autoscaled axes

Remarks

Expansion will not cause a limit to cross zero.