In the Gantt chart, I have multiple elements showing in each timeline. I’d like to configure the lightbox sections for these. For the most part, it’s showing the two extra elements (of time), however I’m having difficulties setting the labels that would appear above each ‘time’ section.
Here is a snippet of the lightbox.section configuration: (the desire outcome is to have ‘Plan B’ appear above the second ‘time’ section.
ERROR in src/app/app.component.ts(74,25): error TS2551: Property 'section_time1' does not exist on type 'GanttLocaleLabels'. Did you mean 'section_time'?
src/app/app.component.ts(75,25): error TS2551: Property 'section_time2' does not exist on type 'GanttLocaleLabels'. Did you mean 'section_time'?
Hello Joubin,
Those are the custom sections, so you need to manually add the types for them.
As the typescript compiler suggests, you can copy the types from the section_time.