ComponentOne GanttView for WinForms
Zoom Dialog Box
Run-Time Support > C1GanttView Dialog Boxes > Zoom Dialog Box

The Zoom dialog box is used for changing the scale view of tiers on the chart view.

To Access the Zoom Time dialog box

Click on the Zoom button, , in the C1GanttView Toolbar.

You can specify the time range you wish to zoom to from selecting one of the following options or you can specify your own time range in the custom option:

The zoom operations will adjust the timescale and start date of Chart View to display the entire time range in the visible area.

Besides the predefined time range, users can zoom to a specific time range by selecting the Custom option in the Zoom dialog box, then enter a custom time range such as 36 in the Count and select Unit (Day(s),Week(s), Thirds of Month(s), Month(s), Quarter(s), Half Year(s), Year(s). The maximum value of Count in the input text box is 9999.

When Zoom dialog is loading, the number in the text box will have the initial value based on the current duration that the chart view is representing.

For example if you specify an integer in the Count textbox outside the valid range, such as the following:

The following error message will be shown:

 


The following table displays the default maximum count for each unit used:

 

Unit Max Count
Minutes 50
Hours 24
Days 7
Weeks 3
Third of Months 3
Month 3
Quarters 2
Half-Years 1
Years 50

 

If the current unit is the same as the selected unit that has been chosen in the Zoom dialog box then the MaxCount=50.

See Also