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 sports race data
Usage
def bind_sports_race_data(self,name: str = None,times: Union[list, str] = None,start_image: str = None,race_image: str = None,finish_image: str = None,color_category: str = None)
PYTHON
bind_sports_race_data(.,name = NULL,times = NULL,start_image = NULL,race_image = NULL,finish_image = NULL,color_category = NULL)
R
Arguments
Arguments | Type hint | Description |
---|---|---|
self | Flourish | Returns the Flourish object |
name | str , optional | Name. Name of competitor. Flourish type hint: column |
times | Union[list, str] , optional | Times. One or more columns of numbers, representing splits or laps, or a whole race. Flourish type hint: columns |
start_image | str , optional | Start image. The image to use at the start of the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
race_image | str , optional | Racing image. The image to use while a participant is racing. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
finish_image | str , optional | Finish image. The image to use when the participant has finished the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
color_category | str , optional | Color category. Add a category to color participants by. If empty, the name column will be used for colors. Flourish type hint: column |
Arguments | Description |
---|---|
. | Returns the Flourish object |
name | Name. Name of competitor. Flourish type hint: column |
times | Times. One or more columns of numbers, representing splits or laps, or a whole race. Flourish type hint: columns |
start_image | Start image. The image to use at the start of the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
race_image | Racing image. The image to use while a participant is racing. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
finish_image | Finish image. The image to use when the participant has finished the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
color_category | Color category. Add a category to color participants by. If empty, the name column will be used for colors. Flourish type hint: column |