SRGDisplayBase::FindDateLimits

voidSRGDisplayBase::FindDateLimits(CScale*pScale, doubledScaleAdjust)

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.