SRGDisplayBase::FindDateLimits

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

Expands data range for date/time axes by specified factor and then adjusts to find 'nice' numbers

Defined in: SRGDisplayBase.cpp

Return Value

void

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.