A Gantt chart is one of the specialized diagrams you can create with VisualScript.
- Require a specialized Document object that can only be used to generate a Gantt chart
- There can only be one Gantt chart per visual
- They cannot be mixed with other shapes, or appear in ShapeContainers, ShapeConnectors, Tables or other normal VisualScript layouts
- They use a special case of Shape Data to manage and display tasks and can't allow other shape data
To create a Gantt chart, you will need to use a special document class: VS.GanttDocument().
myDocument = new VS.GanttDocument();
Learn more about creating Gantt charts with VisualScript:
See the properties and methods available for GanttDocument():