How to create gantt view?

I have created a custom app with a custom doctype. How can I create a gantt view for this doctype?
I’m running v13. I can only find calendar view.

Anybody?

Hello and welcome!

This documentation should help you get started -

https://frappeframework.com/docs/user/en/desk#gantt-view

Thanks. So I need to write code for this, yes?
And also, can you tell if I can change the granularity to 1 hour? By default the lowest is a quarter day.

I’m not too sure if that’s currently possible, but here’s the link to Frappe Gantt -

I would look for current Gantt implementations. Such as Projects.