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 line chart race data
Usage
def bind_horserace_data(self,horserace_name: str = None,horserace_stages: Union[list, str] = None,horserace_category: str = None,horserace_pic: str = None,horserace_filter: str = None,captions_from: str = None,captions_to: str = None,captions_text: str = None,captions_image: str = None)
python
bind_horserace_data(.,horserace_name = NULL,horserace_stages = NULL,horserace_category = NULL,horserace_pic = NULL,horserace_filter = NULL,captions_from = NULL,captions_to = NULL,captions_text = NULL,captions_image = NULL)
r
Arguments
Arguments | Type hint | Description |
---|---|---|
self | Flourish | Returns the Flourish object |
horserace_name | str , optional | Label. The name of each entrant. Suggested data type hints: string. Flourish type hint: column |
horserace_stages | Union[list, str] , optional | Values. Raw scores, which will be automatically converted to ranks. Column names will be used to populate the X axis of the chart. Suggested data type hints: number. Flourish type hint: columns |
horserace_category | str , optional | Color by. Select a column to color the lines by. If omitted, colors will be assigned per name. Suggested data type hints: string. Flourish type hint: column |
horserace_pic | str , optional | Image. Add an image URL or right-click on a cell to upload an image. Suggested data type hints: string. Flourish type hint: column |
horserace_filter | str , optional | Filter. Hide/show entrants based on the values in this column. Suggested data type hints: string, number, datetime. Flourish type hint: column |
captions_from | str , optional | Stage to show. Must match the column headers in the main datasheet. Suggested data type hints: string. Flourish type hint: column |
captions_to | str , optional | Stage to hide. Must match the column headers in the main datasheet. Suggested data type hints: string. Flourish type hint: column |
captions_text | str , optional | Text. Text or HTML to show. Suggested data type hints: string. Flourish type hint: column |
captions_image | str , optional | Image. Image to show. Suggested data type hints: string. Flourish type hint: column |
Arguments | Description |
---|---|
. | Returns the Flourish object |
horserace_name | Label. The name of each entrant. Suggested data type hints: string. Flourish type hint: column |
horserace_stages | Values. Raw scores, which will be automatically converted to ranks. Column names will be used to populate the X axis of the chart. Suggested data type hints: number. Flourish type hint: columns |
horserace_category | Color by. Select a column to color the lines by. If omitted, colors will be assigned per name. Suggested data type hints: string. Flourish type hint: column |
horserace_pic | Image. Add an image URL or right-click on a cell to upload an image. Suggested data type hints: string. Flourish type hint: column |
horserace_filter | Filter. Hide/show entrants based on the values in this column. Suggested data type hints: string, number, datetime. Flourish type hint: column |
captions_from | Stage to show. Must match the column headers in the main datasheet. Suggested data type hints: string. Flourish type hint: column |
captions_to | Stage to hide. Must match the column headers in the main datasheet. Suggested data type hints: string. Flourish type hint: column |
captions_text | Text. Text or HTML to show. Suggested data type hints: string. Flourish type hint: column |
captions_image | Image. Image to show. Suggested data type hints: string. Flourish type hint: column |