Where is the GANTT chart type?

I don’t seem to have the GANTT chart type available using 24.6.6 and
import com.vaadin.flow.component.charts.Chart;
import com.vaadin.flow.component.charts.model.*;

I have many other types e.g. COLUMN.

IntelliJ can se a long list, but no GANTT in the auto complete?

Br. Mikael

It’s added in the upcoming Vaadin 24.7 release. You can try it out with the beta that was released last week.

1 Like

Ah, looks like a version badge is missing from the documentation.
(Made a ticket Add version badges to Gantt docs · Issue #4166 · vaadin/docs · GitHub, might fix that myself tomorrow if I have time)

2 Likes

I have a request or two for the upcoming release of the GANTT chart.
Is this the best place to ask and suggest something and how specific do I have to be ?

I would very much like it if the title text, all the way to the left at the beginning of each task line, could be a component. I want to have several lines in a structured way.
The same goes for the flyover popup information, which holds very redundant information.
These components should of cause be configurable to my needs.

While I’m at it, I would like to determine the order of the tasks as they are displayed.
I’m using the GANTT chart a bit different from most since the tasks are unrelated in one of my views.

Br. Mikael

I doubt your wishes can be easily integrated because the charts are not native Vaadin components but a wrapper around HighChart.js

1 Like

OK, I wasn’t aware of that, but it kind of explains why it’s not already a Component in those places.

Thanks.

If you want to go completely custom, you could take this add-on: https://vaadin.com/directory/component/gantt-flow-add-on and modify it to get exactly what you need. Not an easy task, most likely, but that’s how it goes - off-the-shelf products always have certain design decisions made for you.

1 Like