Binding additional data sources
Bind functionsBind audio dataBind bar chart race dataBind bubble chart dataBind calculator dataBind cards dataBind chord diagram dataBind draw the line chart dataBind election results chart dataBind gantt chart dataBind gauge dataBind hierarchy dataBind line chart race dataBind interactive svg dataBind line, bar and pie charts dataBind marimekko dataBind network graph dataBind parliament chart dataBind pictogram dataBind quiz dataBind radar chart dataBind sankey diagram dataBind scatter dataBind slope chart dataBind sports dataBind sports race dataBind survey dataBind svg annotator dataBind table dataBind text annotator dataBind timeline dataBind tournament dataBind word cloud data
Bind gantt chart data
Usage
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)
PYTHON
bind_gantt_data(.,start_date = NULL,end_date = NULL,task = NULL,grouping = NULL,color = NULL,progress = NULL,filter = NULL,metadata = NULL)
R
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 |