AnyChart JavaScript Gantt Chart provides per-element label customization on the timeline, so each element type can display differently formatted information.
This sample creates a project Gantt chart and configures five distinct label styles: base element labels show task names in blue anchored to the left, grouping-task labels display bold orange "Group:" prefixed text on the right, milestone labels include formatted dates with an orange background, progress labels appear as small white text on dark badges, and baseline labels show planned date ranges in teal below the bar. A color palette controls all label colors consistently.
See the Gantt Chart documentation for all configuration options.