- Understanding how to integrate a Gantt chart into the web app.
- Adding and configuring a Plot component in the CalendarComponentLayout.
The calendar component of our web app is actually a specific chart called a Gantt chart. We are going to use the Anvil plotting mechanism to create it.
Our current CalendarComponentLayout already has a card to contain our details, so all we have to do is add the plot.
Let add our plot
- Open CalendarComponentLayout in Design mode.
- Find the Plot component
- Add it to self.card_details
- Rename the plot to self.plot_timeline
That's all done. Let's add the code.