AnyChart JavaScript Gantt Chart can read visual and behavioral settings directly from the data, enabling a fully data-driven approach where element colors, styles, and properties are defined in the dataset.
This sample creates a project Gantt chart that loads JSON data containing embedded styling settings per task. The chart applies the data with only a splitter position and container set in code, so all task bar colors, strokes, and other visual properties come from the data fields themselves. The chart uses fitAll to display the complete project schedule.
See the Gantt Chart documentation for all configuration options.