API Documentation -> NtTimeChartControl -> allowSetTimeDisplayModeOnZoom

# NtTimeChartControl.allowSetTimeDisplayModeOnZoom Member

Users can change the time scale factor to shrink or stretch the time axis smoothly by using the mouse wheel (holding Ctrl-Key). Anyway this can only be done until a certain extend: It does not make sense to make the columns too wide or too narrow. Instead it makes more sense to switch the TimeDisplayMode. Example: If currently the mode is set to hours (which means that every column represents one hour) and the user shrinks the time axis so the columns become very slim, it makes sense to switch to the mode quarterday. This will fuse 6 columns to one new column which then of course is much wider.
While simply zooming the time scale is a perfectly smooth action, switching the TimeDisplayMode needs more time, because in this case a complete new sheet has to be set up. For this reason it might feel awkward to have these switches.
To avoid these switches and limit the zooming to the appropriate extend of the currently active TimeDisplayMode this property allowSetTimeDisplayModeOnZoom can be set to false.

Type:

DateTime

Remarks:

This member may be changed at any time.

See also:

timeZoomed

Top API Documentation -> NtTimeChartControl -> allowSetTimeDisplayModeOnZoom © 2016 Bassaly