Skip to main content
JS

GanttScaleType Enum

Lists values that specify zoom levels of tasks in the Gantt chart.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[JsonConverter(typeof(StringEnumConverter))]
public enum GanttScaleType

Members

Name Description
Auto

Automatically determines a zoom level of tasks.

Minutes

Displays minutes.

Hours

Displays hours.

SixHours

Displays 6 hours.

Days

Displays days.

Weeks

Displays weeks.

Months

Displays months.

Quarters

Displays quarters.

Years

Displays years.

Remarks

Use the ScaleType(GanttScaleType) method to specify a zoom level of tasks in the Gantt chart.

@(Html.DevExtreme().Gantt()
    .ScaleType(GanttScaleType.Auto)
)
See Also