Class: Options

Gantt.Options()

new Options()

The Gantt.Options type defines additional options of the Tree.Options type.

Every option of the Gantt.Options and Tree.Options types has associated a property of the control. For instance, the option:

allowActions {string}, customizes the actions the user can perform once the user clicks or touches the control
is associated with the property:
AllowActions {string}, customizes the actions the user can perform once the user clicks or touches the control
which means that the following statements are equivalent:
oGantt.Options = {allowActions: "scroll"}
oGantt.SetOptions({allowActions: "scroll"})
oGantt.AllowActions = "scroll"
oGantt.SetAllowActions("scroll")
where oGantt is an object of Gantt type

Members

(static) chart :ChartOptions

The chart field holds options to apply on the control's chart
Type:
Example
{histogramVisible: true, histogramHeight: 128} {object}, shows the chart's histogram and resizes it to 128-pixels wide

(static) debug :boolean

The debug field indicates whether the control displays debug information
Type:
  • boolean
Example
false {boolean}, no effect
  true {boolean}, the control displays the keys of each visible bar