The flourishcharts packages are provided by Canva as open source software under the MIT license(opens in a new tab or window).

Bind svg annotator data

Usage

def bind_svg_annotator_data(
self,
id: str = None,
reveal_id: str = None,
h1: str = None,
h2: str = None,
content: str = None,
link: str = None,
metadata: Union[list, str] = None
)
PYTHON
bind_svg_annotator_data(
.,
id = NULL,
reveal_id = NULL,
h1 = NULL,
h2 = NULL,
content = NULL,
link = NULL,
metadata = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
id
str, optional
ID. A column of IDs of elements in the uploaded SVG file. Flourish type hint: column
reveal_id
str, optional
Reveal layer. A column to reveal when layer is clicked. Flourish type hint: column
h1
str, optional
Heading 1. A column containing the main header. Flourish type hint: column
h2
str, optional
Heading 2. A column containing a secondary header. Flourish type hint: column
content
str, optional
Content. A column containing text or HTML to display. Flourish type hint: column
link
str, optional
Link. A URL that can be opened when a layer is clicked. Any reveal layers or popups will be overridden. Flourish type hint: column
metadata
Union[list, str], optional
Info for popups. One or more columns to display in popups and panels. Flourish type hint: columns
Arguments
Description
.
Returns the Flourish object
id
ID. A column of IDs of elements in the uploaded SVG file. Flourish type hint: column
reveal_id
Reveal layer. A column to reveal when layer is clicked. Flourish type hint: column
h1
Heading 1. A column containing the main header. Flourish type hint: column
h2
Heading 2. A column containing a secondary header. Flourish type hint: column
content
Content. A column containing text or HTML to display. Flourish type hint: column
link
Link. A URL that can be opened when a layer is clicked. Any reveal layers or popups will be overridden. Flourish type hint: column
metadata
Info for popups. One or more columns to display in popups and panels. Flourish type hint: columns