BCGSuite for MFC
void CBCGPGanttChart::SetTimeDelta ( COleDateTimeSpan  dtPixelTimeDelta,
BOOL  bKeepCenterDate = TRUE 
)

Sets the time span of one pixel.

Call this function to set time span of one pixel.

Parameters
dtPixelTimeDeltaSpecifies how much time in one pixel.
bKeepCenterDateIf the scale changes and this parameter is TRUE, the date currently displayed at the middle of the Chart's visible area remains at the center.