> ## Documentation Index
> Fetch the complete documentation index at: https://www.canva.dev/opensource/flourish-charts/llms.txt
> Use this file to discover all available pages before exploring further.
# Bind gantt chart data
## Usage
```python
def bind_gantt_data(
self,
start_date: str = None,
end_date: str = None,
task: str = None,
grouping: str = None,
color: str = None,
progress: str = None,
filter: str = None,
metadata: Union[list, str] = None
)
```
```r
bind_gantt_data(
.,
start_date = NULL,
end_date = NULL,
task = NULL,
grouping = NULL,
color = NULL,
progress = NULL,
filter = NULL,
metadata = NULL
)
```
## Arguments
| Arguments | Type hint | Description |
| ------------ | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `self` | `Flourish` | Returns the Flourish object |
| `start_date` | `str`, optional | Start date |
| `end_date` | `str`, optional | End date. The end date or time of the event. If working with days, the end date should be the first day after the end date. So if your event stretches from 1/1. and ends on the 5/1. your end date should be 6/1. This will mean your Gantt bar will stretch across the last day of your project or task. Flourish type hint: column |
| `task` | `str`, optional | Task |
| `grouping` | `str`, optional | Group. Select a categorical column to combine bars into groups on the Y axis. Flourish type hint: column |
| `color` | `str`, optional | Color category. Select a categorical column; each unique value in the column will become a color. Flourish type hint: column |
| `progress` | `str`, optional | Progress. Requires a number column with values between 0 and 1, representing the progress from 0 to 100%. Flourish type hint: column |
| `filter` | `str`, optional | Filter. If set, creates a filter menu or time slider. Flourish type hint: column |
| `metadata` | `Union[list, str]`, optional | Info for popups. One or more columns of information (text, image URLs, embedded charts etc) to include in popups and panelsFlourish type hint: columns |
| Arguments | Description |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `.` | Returns the Flourish object |
| `start_date` | Start date |
| `end_date` | End date. The end date or time of the event. If working with days, the end date should be the first day after the end date. So if your event stretches from 1/1. and ends on the 5/1. your end date should be 6/1. This will mean your Gantt bar will stretch across the last day of your project or task. Flourish type hint: column |
| `task` | Task |
| `grouping` | Group. Select a categorical column to combine bars into groups on the Y axis. Flourish type hint: column |
| `color` | Color category. Select a categorical column; each unique value in the column will become a color. Flourish type hint: column |
| `progress` | Progress. Requires a number column with values between 0 and 1, representing the progress from 0 to 100%. Flourish type hint: column |
| `filter` | Filter. If set, creates a filter menu or time slider. Flourish type hint: column |
| `metadata` | Info for popups. One or more columns of information (text, image URLs, embedded charts etc) to include in popups and panelsFlourish type hint: columns |