View source: R/set_sports_details.R
set_sports_details | R Documentation |
Set sports chart details
set_sports_details(
.,
positions_type = NULL,
positions_scale_custom = NULL,
positions_x_min = NULL,
positions_x_max = NULL,
positions_y_min = NULL,
positions_y_max = NULL,
formation_type = NULL,
formation = NULL,
formation_custom = NULL,
pitch_margin_top = NULL,
pitch_margin_bottom = NULL,
pitch_type = NULL,
pitch_type_custom = NULL,
pitch_type_upload = NULL,
pitch_type_svg = NULL,
pitch_line_color = NULL,
pitch_line_opacity = NULL,
pitch_line_width = NULL,
pitch_height = NULL,
pitch_background = NULL,
pitch_opacity = NULL,
pitch_orientation = NULL,
pitch_crop = NULL,
pitch_crop_custom = NULL,
pitch_flip_dots = NULL,
pitch_flip_pitch = NULL,
colors_categorical_palette = NULL,
colors_categorical_extend = NULL,
colors_categorical_custom_palette = NULL,
colors_numeric_type = NULL,
colors_binning = NULL,
colors_bin_mode = NULL,
colors_bin_count = NULL,
colors_bin_thresholds = NULL,
colors_sequential_palette = NULL,
colors_sequential_reverse = NULL,
colors_sequential_custom_min = NULL,
colors_sequential_custom_max = NULL,
colors_sequential_color_space = NULL,
colors_sequential_custom_domain = NULL,
colors_sequential_domain_min = NULL,
colors_sequential_domain_max = NULL,
colors_diverging_palette = NULL,
colors_diverging_reverse = NULL,
colors_diverging_custom_min = NULL,
colors_diverging_custom_mid = NULL,
colors_diverging_custom_max = NULL,
colors_diverging_color_space = NULL,
colors_diverging_custom_domain = NULL,
colors_diverging_domain_min = NULL,
colors_diverging_domain_mid = NULL,
colors_diverging_domain_max = NULL,
dot_opacity = NULL,
dot_size = NULL,
dot_size_custom = NULL,
dot_border = NULL,
dot_border_custom = NULL,
dot_border_color = NULL,
label_mode = NULL,
label_color = NULL,
label_weight = NULL,
label_size = NULL,
label_size_custom = NULL,
show_squad_numbers = NULL,
squad_number_size = NULL,
squad_number_size_custom = NULL,
squad_number_weight = NULL,
squad_number_color = NULL,
squad_number_vertical_adjust = NULL,
image_contrast = NULL,
image_brightness = NULL,
image_saturation = NULL,
image_blend_mode = NULL,
animation_target = NULL,
animation_duration = NULL,
trail = NULL,
trail_color = NULL,
trail_opacity = NULL,
trail_size = NULL,
trail_size_custom = NULL,
trail_style = NULL,
chart_categorical_legend_show_legend = NULL,
chart_categorical_legend_title_mode = NULL,
chart_categorical_legend_title = NULL,
chart_categorical_legend_swatch_width = NULL,
chart_categorical_legend_swatch_height = NULL,
chart_categorical_legend_swatch_radius = NULL,
chart_categorical_legend_legend_items_padding = NULL,
chart_categorical_legend_swatch_outline = NULL,
chart_categorical_legend_swatch_outline_color = NULL,
chart_categorical_legend_order_override = NULL,
chart_categorical_legend_icon_height = NULL,
chart_categorical_legend_icon_color = NULL,
chart_categorical_legend_max_width = NULL,
chart_categorical_legend_orientation = NULL,
chart_legend_container_alignment = NULL,
chart_legend_container_orientation = NULL,
chart_legend_container_title_weight = NULL,
chart_legend_container_text_weight = NULL,
chart_legend_container_text_color = NULL,
chart_legend_container_text_size = NULL,
chart_popup_mode = NULL,
chart_popup_popup_is_custom = NULL,
chart_popup_show_popup_styles = NULL,
chart_popup_popup_custom_header = NULL,
chart_popup_popup_custom_main = NULL,
chart_popup_popup_custom_accessible = NULL,
chart_popup_popup_width = NULL,
chart_popup_popup_font_size = NULL,
chart_popup_popup_text_color = NULL,
chart_popup_popup_align = NULL,
chart_popup_popup_background = NULL,
chart_popup_popup_background_opacity = NULL,
chart_popup_popup_padding = NULL,
chart_popup_popup_radius = NULL,
chart_popup_popup_header_type = NULL,
chart_popup_popup_header_background = NULL,
chart_popup_popup_header_text_color = NULL,
chart_popup_popup_list_type = NULL,
chart_popup_popup_list_label_weight = NULL,
chart_popup_popup_list_separator = NULL,
chart_popup_popup_shadow = NULL,
chart_popup_popup_pointer = NULL,
chart_popup_panel_position = NULL,
chart_popup_panel_open_duration = NULL,
chart_popup_panel_side_fixed = NULL,
chart_popup_panel_side_default_content = NULL,
chart_popup_panel_is_custom = NULL,
chart_popup_show_panel_styles = NULL,
chart_popup_panel_custom_header = NULL,
chart_popup_panel_custom_main = NULL,
chart_popup_panel_width_overlay = NULL,
chart_popup_panel_height_overlay = NULL,
chart_popup_panel_width_side = NULL,
chart_popup_panel_height_side = NULL,
chart_popup_panel_max_width = NULL,
chart_popup_panel_max_height = NULL,
chart_popup_panel_vertical_position = NULL,
chart_popup_panel_text_color = NULL,
chart_popup_panel_font_size = NULL,
chart_popup_panel_align = NULL,
chart_popup_panel_background = NULL,
chart_popup_panel_background_opacity = NULL,
chart_popup_panel_padding = NULL,
chart_popup_panel_radius = NULL,
chart_popup_panel_list_type = NULL,
chart_popup_panel_list_label_weight = NULL,
chart_popup_panel_list_separator = NULL,
chart_popup_panel_shadow = NULL,
chart_filter_controls_container_alignment = NULL,
chart_filter_controls_container_controls_spacing = NULL,
chart_filter_controls_control_type = NULL,
chart_filter_controls_control_styles = NULL,
chart_filter_controls_control_title = NULL,
chart_filter_controls_button_group = NULL,
chart_filter_controls_button_group_width_mode = NULL,
chart_filter_controls_button_group_width_fixed = NULL,
chart_filter_controls_dropdown_width_mode = NULL,
chart_filter_controls_dropdown_width_fixed = NULL,
chart_filter_controls_slider_width = NULL,
chart_filter_controls_slider_max_label_width = NULL,
chart_filter_controls_slider_step_time = NULL,
chart_filter_controls_slider_loop = NULL,
chart_filter_controls_slider_restart_pause = NULL,
chart_filter_controls_sort = NULL,
chart_controls_style_font_size = NULL,
chart_controls_style_font_weight = NULL,
chart_controls_style_height = NULL,
chart_dropdown_control_style_background = NULL,
chart_dropdown_control_style_font_color = NULL,
chart_dropdown_control_style_border_styles_advanced = NULL,
chart_dropdown_control_style_border_style = NULL,
chart_dropdown_control_style_border_width = NULL,
chart_dropdown_control_style_border_color = NULL,
chart_dropdown_control_style_border_transparency = NULL,
chart_dropdown_control_style_border_radius = NULL,
chart_button_control_style_background = NULL,
chart_button_control_style_background_selected = NULL,
chart_button_control_style_background_hover = NULL,
chart_button_control_style_font_color = NULL,
chart_button_control_style_font_color_selected = NULL,
chart_button_control_style_font_color_hover = NULL,
chart_button_control_style_button_styles_advanced = NULL,
chart_button_control_style_border_width = NULL,
chart_button_control_style_border_color = NULL,
chart_button_control_style_border_transparency = NULL,
chart_button_control_style_border_radius = NULL,
chart_slider_control_style_track_color = NULL,
chart_slider_control_style_font_color = NULL,
chart_slider_control_style_handle_color = NULL,
chart_slider_control_style_play_color = NULL,
chart_slider_control_style_track_height = NULL,
chart_slider_control_style_handle_height = NULL,
chart_slider_control_style_play_button = NULL,
filter_include_all = NULL,
filter_all_label = NULL,
chart_layout_body_font = NULL,
chart_layout_font_color = NULL,
chart_layout_background_color_enabled = NULL,
chart_layout_background_image_enabled = NULL,
chart_layout_background_color = NULL,
chart_layout_background_image_src = NULL,
chart_layout_background_image_size = NULL,
chart_layout_background_image_position = NULL,
chart_layout_max_width_target = NULL,
chart_layout_max_width = NULL,
chart_layout_max_width_align = NULL,
chart_layout_layout_order = NULL,
chart_layout_space_between_sections = NULL,
chart_layout_space_between_sections_custom = NULL,
chart_layout_margin_top = NULL,
chart_layout_margin_right = NULL,
chart_layout_margin_bottom = NULL,
chart_layout_margin_left = NULL,
chart_layout_border_enabled = NULL,
chart_layout_border_top_width = NULL,
chart_layout_border_top_style = NULL,
chart_layout_border_top_color = NULL,
chart_layout_border_right_width = NULL,
chart_layout_border_right_style = NULL,
chart_layout_border_right_color = NULL,
chart_layout_border_bottom_width = NULL,
chart_layout_border_bottom_style = NULL,
chart_layout_border_bottom_color = NULL,
chart_layout_border_left_width = NULL,
chart_layout_border_left_style = NULL,
chart_layout_border_left_color = NULL,
chart_layout_read_direction = NULL,
chart_layout_font_size_mobile_small = NULL,
chart_layout_font_size_mobile_big = NULL,
chart_layout_font_size_tablet = NULL,
chart_layout_font_size_desktop = NULL,
chart_layout_font_size_big_screen = NULL,
chart_layout_breakpoint_mobile_small = NULL,
chart_layout_breakpoint_mobile_big = NULL,
chart_layout_breakpoint_tablet = NULL,
chart_layout_breakpoint_desktop = NULL,
chart_layout_breakpoint_big_screen = NULL,
chart_layout_header_align = NULL,
chart_layout_title = NULL,
chart_layout_title_styling = NULL,
chart_layout_title_font = NULL,
chart_layout_title_size = NULL,
chart_layout_title_size_custom = NULL,
chart_layout_title_weight = NULL,
chart_layout_title_color = NULL,
chart_layout_title_line_height = NULL,
chart_layout_title_space_above = NULL,
chart_layout_title_space_above_custom = NULL,
chart_layout_subtitle = NULL,
chart_layout_subtitle_styling = NULL,
chart_layout_subtitle_font = NULL,
chart_layout_subtitle_size = NULL,
chart_layout_subtitle_size_custom = NULL,
chart_layout_subtitle_weight = NULL,
chart_layout_subtitle_color = NULL,
chart_layout_subtitle_line_height = NULL,
chart_layout_subtitle_space_above = NULL,
chart_layout_subtitle_space_above_custom = NULL,
chart_layout_header_text = NULL,
chart_layout_header_text_styling = NULL,
chart_layout_header_text_size = NULL,
chart_layout_header_text_size_custom = NULL,
chart_layout_header_text_weight = NULL,
chart_layout_header_text_color = NULL,
chart_layout_header_text_line_height = NULL,
chart_layout_header_text_space_above = NULL,
chart_layout_header_text_space_above_custom = NULL,
chart_layout_header_border = NULL,
chart_layout_header_border_width = NULL,
chart_layout_header_border_color = NULL,
chart_layout_header_border_style = NULL,
chart_layout_header_border_space = NULL,
chart_layout_header_logo_enabled = NULL,
chart_layout_header_logo_src = NULL,
chart_layout_header_logo_alt = NULL,
chart_layout_header_logo_link_url = NULL,
chart_layout_header_logo_height = NULL,
chart_layout_header_logo_align = NULL,
chart_layout_header_logo_position_inside = NULL,
chart_layout_header_logo_position_outside = NULL,
chart_layout_header_logo_margin_top = NULL,
chart_layout_header_logo_margin_right = NULL,
chart_layout_header_logo_margin_bottom = NULL,
chart_layout_header_logo_margin_left = NULL,
chart_layout_footer_align = NULL,
chart_layout_footer_text_size = NULL,
chart_layout_footer_text_color = NULL,
chart_layout_footer_styling = NULL,
chart_layout_footer_font = NULL,
chart_layout_footer_text_weight = NULL,
chart_layout_source_name = NULL,
chart_layout_source_url = NULL,
chart_layout_multiple_sources = NULL,
chart_layout_source_name_2 = NULL,
chart_layout_source_url_2 = NULL,
chart_layout_source_name_3 = NULL,
chart_layout_source_url_3 = NULL,
chart_layout_source_label = NULL,
chart_layout_footer_note = NULL,
chart_layout_footer_note_secondary = NULL,
chart_layout_advanced_note_styling = NULL,
chart_layout_footer_timestamp_format = NULL,
chart_layout_footer_logo_enabled = NULL,
chart_layout_footer_logo_src = NULL,
chart_layout_footer_logo_src_light = NULL,
chart_layout_footer_logo_alt = NULL,
chart_layout_footer_logo_link_url = NULL,
chart_layout_footer_logo_height = NULL,
chart_layout_footer_logo_margin = NULL,
chart_layout_footer_logo_order = NULL,
chart_layout_footer_align_vertical = NULL,
chart_layout_footer_border = NULL,
chart_layout_footer_border_width = NULL,
chart_layout_footer_border_color = NULL,
chart_layout_footer_border_style = NULL,
chart_layout_footer_border_space = NULL,
chart_layout_screenreader_text_primary = NULL,
chart_layout_screenreader_label = NULL,
chart_layout_screenreader_hide_primary = NULL
)
. |
The prior Flourish object. No need to specify name if piping graph as the graph will take the first argument (i.e. the prior existing graph). |
positions_type |
Position points by. Choices: auto, formation, data. Position points automatically based on your data, on a specific formation, or use X and Y coordinates. Flourish type hint: string, defaults to |
positions_scale_custom |
Position scale. Choices: auto, custom. "Auto" will set the position scale based on the minimum and maximum values in your data. "Custom" allows you to set a custom minimum and maximum. Flourish type hint: string, defaults to |
positions_x_min |
X min. Flourish type hint: number, defaults to |
positions_x_max |
X max. Flourish type hint: number, defaults to |
positions_y_min |
Y min. Flourish type hint: number, defaults to |
positions_y_max |
Y max. Flourish type hint: number, defaults to |
formation_type |
Formation type. Choices: preset, custom. Flourish type hint: string, defaults to |
formation |
Formation. Choices: 3-5-2, 4-3-3, 4-3-2-1, 4-4-2, 3-4-3, 4-2-3-1. Flourish type hint: string, defaults to |
formation_custom |
Custom formation. Use a "*"" for every player and a "-" for every space on the pitch. Flourish type hint: code, defaults to |
pitch_margin_top |
Top. Increases the gap between the top of the pitch and the first dot. Flourish type hint: number, defaults to |
pitch_margin_bottom |
Bottom. Increases the gap between the bottom of the pitch and the last dot. Flourish type hint: number, defaults to |
pitch_type |
Sport. Choices: football, basketball, tennis, custom. Flourish type hint: string, defaults to |
pitch_type_custom |
Choices: upload, svg. Flourish type hint: string, defaults to |
pitch_type_upload |
Upload. Flourish type hint: url, defaults to |
pitch_type_svg |
SVG. Flourish type hint: text, defaults to |
pitch_line_color |
Color. Flourish type hint: color, defaults to |
pitch_line_opacity |
Opacity. Opacity of the pitch marking lines. Flourish type hint: number, defaults to |
pitch_line_width |
Line width. Line width of the pitch markings in pixels. Flourish type hint: number, defaults to |
pitch_height |
Pitch height. As a percentage of the width. Flourish type hint: number, defaults to |
pitch_background |
Background color. Background color of the pitch. To change the color of the background outside of the pitch, instead slect Background color in the layout section. Flourish type hint: color, defaults to |
pitch_opacity |
Background opacity. Opacity of the pitch background. Flourish type hint: number, defaults to |
pitch_orientation |
Orientation. Choices: vertical, horizontal. Flourish type hint: string, defaults to |
pitch_crop |
Crop pitch. Choices: 1, custom. Show the full pitch, or only show a portion. Flourish type hint: string, defaults to |
pitch_crop_custom |
Custom. Flourish type hint: number, defaults to |
pitch_flip_dots |
Flip dots. Choices: |
pitch_flip_pitch |
Flip pitch. Choices: |
colors_categorical_palette |
Palette. Flourish type hint: colors, defaults to |
colors_categorical_extend |
Extend. Automatically generate additional colours when needed to avoid the palette colours being used more than once. Flourish type hint: boolean, defaults to |
colors_categorical_custom_palette |
Custom overrides. Enter the label name for which you wish to set the color, followed by a colon and the desired color value. Colors can be set using Hex, RGB, color names or RGBA, if you want to set the opacity Multiple colors can be set using multiple lines. For example: Party 1: red Party 2: #4455AA Party 3: rgb(30,168,26). Flourish type hint: text, defaults to |
colors_numeric_type |
Scale type. Choices: sequential, diverging. Flourish type hint: string, defaults to |
colors_binning |
Choices: |
colors_bin_mode |
Binning mode. Choices: fixed, quantile, custom. Flourish type hint: string, defaults to |
colors_bin_count |
Number of bins. Flourish type hint: number, defaults to |
colors_bin_thresholds |
Custom thresholds. Enter your desired thresholds, separating them with a ";". For instance, "5;10;15". Bins form as follows: From the datas minimum value (domain minimum) up to the first threshold. Between consecutive thresholds. From the last threshold to the datas maximum value (domain maximum). For "5;10;15", youll get four bins based on your datas range. Flourish type hint: string, defaults to |
colors_sequential_palette |
Palette. Flourish type hint: string, defaults to |
colors_sequential_reverse |
Reverse. Flourish type hint: boolean, defaults to |
colors_sequential_custom_min |
Minimum color. Flourish type hint: color, defaults to |
colors_sequential_custom_max |
Maximum color. Flourish type hint: color, defaults to |
colors_sequential_color_space |
Color space. Choices: rgb, lab, hcl, hsl. Flourish type hint: string, defaults to |
colors_sequential_custom_domain |
Domain. Choices: |
colors_sequential_domain_min |
Min. Flourish type hint: number, defaults to |
colors_sequential_domain_max |
Max. Flourish type hint: number, defaults to |
colors_diverging_palette |
Palette. Flourish type hint: string, defaults to |
colors_diverging_reverse |
Reverse. Flourish type hint: boolean, defaults to |
colors_diverging_custom_min |
Minimum color. Flourish type hint: color, defaults to |
colors_diverging_custom_mid |
Midpoint color. Flourish type hint: color, defaults to |
colors_diverging_custom_max |
Maximum color. Flourish type hint: color, defaults to |
colors_diverging_color_space |
Color space. Choices: rgb, lab, hcl, hsl. Flourish type hint: string, defaults to |
colors_diverging_custom_domain |
Domain. Choices: |
colors_diverging_domain_min |
Min. Flourish type hint: number, defaults to |
colors_diverging_domain_mid |
Mid. Flourish type hint: number, defaults to |
colors_diverging_domain_max |
Max. Flourish type hint: number, defaults to |
dot_opacity |
Opacity. Opacity of the dots. Flourish type hint: number, defaults to |
dot_size |
Size. Choices: 1.3, 2.5, 6, custom. Flourish type hint: string, defaults to |
dot_size_custom |
Custom. Flourish type hint: number, defaults to |
dot_border |
Border size. Choices: 0, 0.2, 0.5, custom. Flourish type hint: string, defaults to |
dot_border_custom |
Custom. Flourish type hint: number, defaults to |
dot_border_color |
Color. Outline color of the dots. Flourish type hint: color, defaults to |
label_mode |
Labels. Choices: |
label_color |
Color. Label color. Defaults to layout font color settings if not set. Flourish type hint: color, defaults to |
label_weight |
Weight. Choices: normal, bold. Flourish type hint: string, defaults to |
label_size |
Size. Choices: 0.8, 1, 1.2, custom. Sizing unit is relative to root font size. Flourish type hint: string, defaults to |
label_size_custom |
Custom. Specify a custom responsive font size. Best results will be with values between 1.2 and 3. Flourish type hint: number, defaults to |
show_squad_numbers |
Show Squad Numbers. Optional squad number to appear within dot. Flourish type hint: boolean, defaults to |
squad_number_size |
Size Mode. Choices: 1.1, 1.4, 1.7, custom. Resizes the font size as a proportion of the dots radius. Flourish type hint: string, defaults to |
squad_number_size_custom |
Custom. Specify a custom responsive font size. Best results are betwen 0.8 and 2. Flourish type hint: number, defaults to |
squad_number_weight |
Weight. Choices: normal, bold. Flourish type hint: string, defaults to |
squad_number_color |
Color. Flourish type hint: color, defaults to |
squad_number_vertical_adjust |
Adjust vertical spacing. Adjust vertical centering for custom fonts. Flourish type hint: number, defaults to |
image_contrast |
Contrast. Flourish type hint: number, defaults to |
image_brightness |
Brightness. Flourish type hint: number, defaults to |
image_saturation |
Saturation. Flourish type hint: number, defaults to |
image_blend_mode |
Blend mode. Choices: normal, multiply, screen, overlay, darken, lighten. Flourish type hint: string, defaults to |
animation_target |
Animate. Choices: position, opacity, both. Choose whether you want to animate the animate the positions or fade, for example when changing the filter, or drag players positions in the story editor. Flourish type hint: string, defaults to |
animation_duration |
Duration. Specified in seconds. Flourish type hint: number, defaults to |
trail |
Trail lines. Choices: |
trail_color |
Color. Flourish type hint: color, defaults to |
trail_opacity |
Opacity. Flourish type hint: number, defaults to |
trail_size |
Size. Choices: 0.2, 0.5, custom. Flourish type hint: string, defaults to |
trail_size_custom |
Custom. Proportional to the smallest point size. Flourish type hint: number, defaults to |
trail_style |
Style. Choices: solid, dotted. Flourish type hint: string, defaults to |
chart_categorical_legend_show_legend |
Legend mode. Choices: |
chart_categorical_legend_title_mode |
Title mode. Choices: auto, custom. Flourish type hint: string, defaults to |
chart_categorical_legend_title |
Title. Flourish type hint: string, defaults to |
chart_categorical_legend_swatch_width |
Width. Flourish type hint: number, defaults to |
chart_categorical_legend_swatch_height |
Height. Flourish type hint: number, defaults to |
chart_categorical_legend_swatch_radius |
Roundness. The radius of the corners of the swatch (in pixels). Flourish type hint: number, defaults to |
chart_categorical_legend_legend_items_padding |
Padding. Padding between legend items ( in rems ). Flourish type hint: number, defaults to |
chart_categorical_legend_swatch_outline |
Outline. An optional outline for the swatch in the legend. Flourish type hint: boolean, defaults to |
chart_categorical_legend_swatch_outline_color |
Color. Flourish type hint: color, defaults to |
chart_categorical_legend_order_override |
Custom order override. Manually specify the order of legend entries (one entry per line). Flourish type hint: text, defaults to |
chart_categorical_legend_icon_height |
Height. Height of icon ( in rems ). Flourish type hint: number, defaults to |
chart_categorical_legend_icon_color |
Color. Fallback color (icon color if not determined by template). Flourish type hint: color, defaults to |
chart_categorical_legend_max_width |
Max width. Flourish type hint: number, defaults to |
chart_categorical_legend_orientation |
Orientation. Choices: horizontal, vertical. Flourish type hint: string, defaults to |
chart_legend_container_alignment |
Alignment. Choices: start, center, end. Flourish type hint: string, defaults to |
chart_legend_container_orientation |
Orientation. Choices: horizontal, vertical. Flourish type hint: string, defaults to |
chart_legend_container_title_weight |
Title weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_legend_container_text_weight |
Text weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_legend_container_text_color |
Color. Flourish type hint: color, defaults to |
chart_legend_container_text_size |
Size. Flourish type hint: number, defaults to |
chart_popup_mode |
Choices: none, popup, panel, both. Flourish type hint: string, defaults to |
chart_popup_popup_is_custom |
Popup content. Choices: |
chart_popup_show_popup_styles |
Show popup styles. Flourish type hint: boolean, defaults to |
chart_popup_popup_custom_header |
Popup custom header. Use |
chart_popup_popup_custom_main |
Popup custom main content. Use |
chart_popup_popup_custom_accessible |
Popup custom accessible content. A text alternative to visual custom popup content that will be read out by screenreaders. This content is added as an aria-label attribute to data point elements. You can still use |
chart_popup_popup_width |
Max width. In rems, multiples of base font size. Leave blank to let the width adjust based on the contents. Flourish type hint: number, defaults to |
chart_popup_popup_font_size |
Text size. Flourish type hint: number, defaults to |
chart_popup_popup_text_color |
Text color. Flourish type hint: color, defaults to |
chart_popup_popup_align |
Align. Choices: start, center, end. Flourish type hint: string, defaults to |
chart_popup_popup_background |
Fill color. Flourish type hint: color, defaults to |
chart_popup_popup_background_opacity |
Fill opacity. Flourish type hint: number, defaults to |
chart_popup_popup_padding |
Padding. Flourish type hint: number, defaults to |
chart_popup_popup_radius |
Radius. Corner radius of popup. Flourish type hint: number, defaults to |
chart_popup_popup_header_type |
Header style. Choices: block, inline. Flourish type hint: string, defaults to |
chart_popup_popup_header_background |
Background. Flourish type hint: color, defaults to |
chart_popup_popup_header_text_color |
Text. Flourish type hint: color, defaults to |
chart_popup_popup_list_type |
List type. Choices: table, ul. Flourish type hint: string, defaults to |
chart_popup_popup_list_label_weight |
Label weight. Choices: normal, bold. Flourish type hint: string, defaults to |
chart_popup_popup_list_separator |
List separator. Choices: :, , , |
chart_popup_popup_shadow |
Shadow. Flourish type hint: boolean, defaults to |
chart_popup_popup_pointer |
Pointer. Flourish type hint: boolean, defaults to |
chart_popup_panel_position |
Choices: overlay, left, right, top, bottom. Flourish type hint: string, defaults to |
chart_popup_panel_open_duration |
Open duration. Flourish type hint: number, defaults to |
chart_popup_panel_side_fixed |
Always show. Flourish type hint: boolean, defaults to |
chart_popup_panel_side_default_content |
Placeholder content. Flourish type hint: text, defaults to |
chart_popup_panel_is_custom |
Panel content. Choices: |
chart_popup_show_panel_styles |
Show panel styles. Flourish type hint: boolean, defaults to |
chart_popup_panel_custom_header |
Panel custom header. Use |
chart_popup_panel_custom_main |
Panel custom main content. Use |
chart_popup_panel_width_overlay |
Width (%). Flourish type hint: number, defaults to |
chart_popup_panel_height_overlay |
Height (%). Flourish type hint: number, defaults to |
chart_popup_panel_width_side |
Width (%). Flourish type hint: number, defaults to |
chart_popup_panel_height_side |
Height (%). Flourish type hint: number, defaults to |
chart_popup_panel_max_width |
Max width (px). Flourish type hint: number, defaults to |
chart_popup_panel_max_height |
Max height (px). Flourish type hint: number, defaults to |
chart_popup_panel_vertical_position |
Vertical position. Choices: click, center. Choosing Click position is especially useful when your visualization is really tall, this will make sure the panel content is always on top of the element youve clicked on. Flourish type hint: string, defaults to |
chart_popup_panel_text_color |
Text color. Flourish type hint: color, defaults to |
chart_popup_panel_font_size |
Text size. Flourish type hint: number, defaults to |
chart_popup_panel_align |
Alignment. Choices: start, center, end. Flourish type hint: string, defaults to |
chart_popup_panel_background |
Fill color. Flourish type hint: color, defaults to |
chart_popup_panel_background_opacity |
Fill opacity. Flourish type hint: number, defaults to |
chart_popup_panel_padding |
Padding. Flourish type hint: number, defaults to |
chart_popup_panel_radius |
Radius. Corner radius of panel. Flourish type hint: number, defaults to |
chart_popup_panel_list_type |
List type. Choices: table, ul. Flourish type hint: string, defaults to |
chart_popup_panel_list_label_weight |
Label weight. Choices: normal, bold. Flourish type hint: string, defaults to |
chart_popup_panel_list_separator |
List separator. Choices: :, , , |
chart_popup_panel_shadow |
Shadow. Flourish type hint: boolean, defaults to |
chart_filter_controls_container_alignment |
Alignment. Choices: start, center, end. Flourish type hint: string, defaults to |
chart_filter_controls_container_controls_spacing |
Spacing. The space between controls, like dropdowns and adjacent button sets, in em units. Flourish type hint: number, defaults to |
chart_filter_controls_control_type |
Control type. Choices: dropdown, buttons, slider. Choose between a dropdown, buttons or a time slider Flourish type hint: string, defaults to |
chart_filter_controls_control_styles |
Adv. Flourish type hint: boolean, defaults to |
chart_filter_controls_control_title |
Control title. Flourish type hint: string, defaults to |
chart_filter_controls_button_group |
Grouped. Choices: |
chart_filter_controls_button_group_width_mode |
Button group width. Choices: auto, full, fixed. Flourish type hint: string, defaults to |
chart_filter_controls_button_group_width_fixed |
Width. Flourish type hint: number, defaults to |
chart_filter_controls_dropdown_width_mode |
Dropdown width. Choices: auto, full, fixed. Flourish type hint: string, defaults to |
chart_filter_controls_dropdown_width_fixed |
Width. Flourish type hint: number, defaults to |
chart_filter_controls_slider_width |
Slider width. Width of the slider track in rems Flourish type hint: number, defaults to |
chart_filter_controls_slider_max_label_width |
Max label width. In rems, multiples of base font size. If larger than the longest label, only the space required to fit labels will be used. Flourish type hint: number, defaults to |
chart_filter_controls_slider_step_time |
Time between steps. Measured in seconds, positive values move the slider left to right, negative values move the slider right to left. Flourish type hint: number, defaults to |
chart_filter_controls_slider_loop |
Loop. Flourish type hint: boolean, defaults to |
chart_filter_controls_slider_restart_pause |
Pause before loop. Measured in seconds and in addition to the regular step time displayed above. Flourish type hint: number, defaults to |
chart_filter_controls_sort |
Sorting. Choices: |
chart_controls_style_font_size |
Text size. Flourish type hint: number, defaults to |
chart_controls_style_font_weight |
Text weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_controls_style_height |
Height. Flourish type hint: number, defaults to |
chart_dropdown_control_style_background |
Background. Flourish type hint: color, defaults to |
chart_dropdown_control_style_font_color |
Text color. Flourish type hint: color, defaults to |
chart_dropdown_control_style_border_styles_advanced |
Dropdown border styles. Flourish type hint: boolean, defaults to |
chart_dropdown_control_style_border_style |
Border style. Choices: all, bottom. Show border on all sides, or only at the bottom. Flourish type hint: string, defaults to |
chart_dropdown_control_style_border_width |
Border width. Flourish type hint: number, defaults to |
chart_dropdown_control_style_border_color |
Color. Flourish type hint: color, defaults to |
chart_dropdown_control_style_border_transparency |
Transparency. Flourish type hint: number, defaults to |
chart_dropdown_control_style_border_radius |
Radius. Flourish type hint: number, defaults to |
chart_button_control_style_background |
Background. Flourish type hint: color, defaults to |
chart_button_control_style_background_selected |
Selected. Flourish type hint: color, defaults to |
chart_button_control_style_background_hover |
Mouse over. Flourish type hint: color, defaults to |
chart_button_control_style_font_color |
Text color. Flourish type hint: color, defaults to |
chart_button_control_style_font_color_selected |
Selected. Flourish type hint: color, defaults to |
chart_button_control_style_font_color_hover |
Mouse over. Flourish type hint: color, defaults to |
chart_button_control_style_button_styles_advanced |
Button border styles. Flourish type hint: boolean, defaults to |
chart_button_control_style_border_width |
Border width. Flourish type hint: number, defaults to |
chart_button_control_style_border_color |
Color. Flourish type hint: color, defaults to |
chart_button_control_style_border_transparency |
Transparency. Flourish type hint: number, defaults to |
chart_button_control_style_border_radius |
Radius. Flourish type hint: number, defaults to |
chart_slider_control_style_track_color |
Track. Flourish type hint: color, defaults to |
chart_slider_control_style_font_color |
Text. Flourish type hint: color, defaults to |
chart_slider_control_style_handle_color |
Handle. Flourish type hint: color, defaults to |
chart_slider_control_style_play_color |
Play/pause. Flourish type hint: color, defaults to |
chart_slider_control_style_track_height |
Track height. Flourish type hint: number, defaults to |
chart_slider_control_style_handle_height |
Height. Flourish type hint: number, defaults to |
chart_slider_control_style_play_button |
Play button. Flourish type hint: boolean, defaults to |
filter_include_all |
Include "all". Include "All" in the filter dropdown. Flourish type hint: boolean, defaults to |
filter_all_label |
All label. Flourish type hint: string, defaults to |
chart_layout_body_font |
Main font. This font will apply to the whole graphic by default. You can optionally change the font for the title, subtitle, footer, etc in the Header and Footer settings panels. Flourish type hint: font, defaults to |
chart_layout_font_color |
Text color. This color will apply to the whole graphic by default, You can optionally change the color for individual text elements, in other settings panels. Flourish type hint: color, defaults to |
chart_layout_background_color_enabled |
Color. Choices: |
chart_layout_background_image_enabled |
Image. Choices: |
chart_layout_background_color |
Background color. Flourish type hint: color, defaults to |
chart_layout_background_image_src |
Image URL. Flourish type hint: url, defaults to |
chart_layout_background_image_size |
Size. Choices: cover, contain, auto, 100% 100%. Flourish type hint: string, defaults to |
chart_layout_background_image_position |
Position. Choices: top left, top center, top right, center left, center center, center right, bottom left, bottom center, bottom right. Flourish type hint: string, defaults to |
chart_layout_max_width_target |
Maximum width. Choices: none, wrapper, primary. Apply a maximum width to just the main graphic or everything (main graphic plus header, footer, etc). Flourish type hint: string, defaults to |
chart_layout_max_width |
Maximum width. Leave blank to stretch to container width. Flourish type hint: number, defaults to |
chart_layout_max_width_align |
Align. Choices: left, center, right. Flourish type hint: string, defaults to |
chart_layout_layout_order |
Layout order. Flourish type hint: string, defaults to |
chart_layout_space_between_sections |
Space between sections. Choices: 0.5, 1, 1.5, custom. Flourish type hint: string, defaults to |
chart_layout_space_between_sections_custom |
Custom. Flourish type hint: number, defaults to |
chart_layout_margin_top |
Top. Flourish type hint: number, defaults to |
chart_layout_margin_right |
Right. Flourish type hint: number, defaults to |
chart_layout_margin_bottom |
Bottom. Flourish type hint: number, defaults to |
chart_layout_margin_left |
Left. Flourish type hint: number, defaults to |
chart_layout_border_enabled |
Show borders around visualisation. Flourish type hint: boolean, defaults to |
chart_layout_border_top_width |
Top. Flourish type hint: number, defaults to |
chart_layout_border_top_style |
Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to |
chart_layout_border_top_color |
Color. Flourish type hint: color, defaults to |
chart_layout_border_right_width |
Right. Flourish type hint: number, defaults to |
chart_layout_border_right_style |
Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to |
chart_layout_border_right_color |
Color. Flourish type hint: color, defaults to |
chart_layout_border_bottom_width |
Bottom. Flourish type hint: number, defaults to |
chart_layout_border_bottom_style |
Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to |
chart_layout_border_bottom_color |
Color. Flourish type hint: color, defaults to |
chart_layout_border_left_width |
Left. Flourish type hint: number, defaults to |
chart_layout_border_left_style |
Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to |
chart_layout_border_left_color |
Color. Flourish type hint: color, defaults to |
chart_layout_read_direction |
Read direction. Choices: ltr, rtl. This will change the reading direction of the main text elements on the page. Its not possible to adjust this on all elements, such as axes. Note that when direction is set to right to left any alignment icons will be reversed. Flourish type hint: string, defaults to |
chart_layout_font_size_mobile_small |
Flourish type hint: number, defaults to |
chart_layout_font_size_mobile_big |
Flourish type hint: number, defaults to |
chart_layout_font_size_tablet |
Flourish type hint: number, defaults to |
chart_layout_font_size_desktop |
Flourish type hint: number, defaults to |
chart_layout_font_size_big_screen |
Flourish type hint: number, defaults to |
chart_layout_breakpoint_mobile_small |
Flourish type hint: number, defaults to |
chart_layout_breakpoint_mobile_big |
Flourish type hint: number, defaults to |
chart_layout_breakpoint_tablet |
Flourish type hint: number, defaults to |
chart_layout_breakpoint_desktop |
Flourish type hint: number, defaults to |
chart_layout_breakpoint_big_screen |
Flourish type hint: number, defaults to |
chart_layout_header_align |
Alignment. Choices: left, center, right. Flourish type hint: string, defaults to |
chart_layout_title |
Flourish type hint: html, defaults to |
chart_layout_title_styling |
Styling. Flourish type hint: boolean, defaults to |
chart_layout_title_font |
Title Font. Flourish type hint: font, defaults to |
chart_layout_title_size |
Size. Choices: 1.4, 1.6, 2, custom. Flourish type hint: string, defaults to |
chart_layout_title_size_custom |
Custom. Specify a custom responsive font size in rems The best results will be with values between 1.2 and 3. Flourish type hint: number, defaults to |
chart_layout_title_weight |
Weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_layout_title_color |
Color. Flourish type hint: color, defaults to |
chart_layout_title_line_height |
Line height. Flourish type hint: number, defaults to |
chart_layout_title_space_above |
Space above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to |
chart_layout_title_space_above_custom |
Custom. Flourish type hint: number, defaults to |
chart_layout_subtitle |
Flourish type hint: html, defaults to |
chart_layout_subtitle_styling |
Styling. Flourish type hint: boolean, defaults to |
chart_layout_subtitle_font |
Subtitle Font. Flourish type hint: font, defaults to |
chart_layout_subtitle_size |
Size. Choices: 1.4, 1.6, 2, custom. Flourish type hint: string, defaults to |
chart_layout_subtitle_size_custom |
Custom. Specify a custom responsive font size in rems The best results will be with values between 1.2 and 3. Flourish type hint: number, defaults to |
chart_layout_subtitle_weight |
Weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_layout_subtitle_color |
Color. Flourish type hint: color, defaults to |
chart_layout_subtitle_line_height |
Line height. Flourish type hint: number, defaults to |
chart_layout_subtitle_space_above |
Space above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to |
chart_layout_subtitle_space_above_custom |
Custom. Flourish type hint: number, defaults to |
chart_layout_header_text |
Flourish type hint: html, defaults to |
chart_layout_header_text_styling |
Styling. Flourish type hint: boolean, defaults to |
chart_layout_header_text_size |
Size. Choices: 1.2, 1.4, 1.6, custom. Flourish type hint: string, defaults to |
chart_layout_header_text_size_custom |
Custom. Specify a custom responsive font size in rems The best results will be with values between 1.2 and 3. Flourish type hint: number, defaults to |
chart_layout_header_text_weight |
Weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_layout_header_text_color |
Color. Flourish type hint: color, defaults to |
chart_layout_header_text_line_height |
Line height. Flourish type hint: number, defaults to |
chart_layout_header_text_space_above |
Space above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to |
chart_layout_header_text_space_above_custom |
Custom. Flourish type hint: number, defaults to |
chart_layout_header_border |
Choices: top, bottom, top_and_bottom, none. Flourish type hint: string, defaults to |
chart_layout_header_border_width |
Width. Flourish type hint: number, defaults to |
chart_layout_header_border_color |
Color. Flourish type hint: color, defaults to |
chart_layout_header_border_style |
Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to |
chart_layout_header_border_space |
Space. Space between border and header text. Flourish type hint: number, defaults to |
chart_layout_header_logo_enabled |
Choices: |
chart_layout_header_logo_src |
Image. Flourish type hint: url, defaults to |
chart_layout_header_logo_alt |
Alt text. Flourish type hint: string, defaults to |
chart_layout_header_logo_link_url |
Link. Flourish type hint: string, defaults to |
chart_layout_header_logo_height |
Height. Flourish type hint: number, defaults to |
chart_layout_header_logo_align |
Align. Choices: inside, outside. Align logo inside either the header or the main visualization container. Flourish type hint: string, defaults to |
chart_layout_header_logo_position_inside |
Position. Choices: top, left, right. Flourish type hint: string, defaults to |
chart_layout_header_logo_position_outside |
Position. Choices: left, right. Flourish type hint: string, defaults to |
chart_layout_header_logo_margin_top |
Top. Flourish type hint: number, defaults to |
chart_layout_header_logo_margin_right |
Right. Flourish type hint: number, defaults to |
chart_layout_header_logo_margin_bottom |
Bottom. Flourish type hint: number, defaults to |
chart_layout_header_logo_margin_left |
Left. Flourish type hint: number, defaults to |
chart_layout_footer_align |
Alignment. Choices: left, center, right, justify. Flourish type hint: string, defaults to |
chart_layout_footer_text_size |
Size. Flourish type hint: number, defaults to |
chart_layout_footer_text_color |
Color. Flourish type hint: color, defaults to |
chart_layout_footer_styling |
Advanced footer styles. Flourish type hint: boolean, defaults to |
chart_layout_footer_font |
Font. Flourish type hint: font, defaults to |
chart_layout_footer_text_weight |
Weight. Choices: bold, normal. Flourish type hint: string, defaults to |
chart_layout_source_name |
Source name. Flourish type hint: string, defaults to |
chart_layout_source_url |
Source url. Flourish type hint: string, defaults to |
chart_layout_multiple_sources |
Multiple sources. Flourish type hint: boolean, defaults to |
chart_layout_source_name_2 |
Source name. Flourish type hint: string, defaults to |
chart_layout_source_url_2 |
Source url. Flourish type hint: string, defaults to |
chart_layout_source_name_3 |
Source name. Flourish type hint: string, defaults to |
chart_layout_source_url_3 |
Source url. Flourish type hint: string, defaults to |
chart_layout_source_label |
Source label. Flourish type hint: string, defaults to |
chart_layout_footer_note |
Note. To add the time/date stamp of when the data was last updated add |
chart_layout_footer_note_secondary |
Note (secondary). The secondary note is placed below the source and primary note. To add the time/date stamp of when the data was last updated add |
chart_layout_advanced_note_styling |
Advanced. Flourish type hint: boolean, defaults to |
chart_layout_footer_timestamp_format |
Time/date stamp formatting. Choices: %H:%M:%S, %I:%M %p, %H:%M, %H:%M %p, %H:%M:%S, %d %b %Y, %H:%M, %d %b %Y, %H:%M, %d/%m/%Y, %H:%M, %m/%d/%Y, %H:%M, %d-%m-%Y, %H:%M, %m-%d-%Y, %d %b %Y, %m/%d/%Y, %d/%m/%Y, %m-%d-%Y, %d-%m-%Y, %Y-%m-%d, %Y-%m-%d %H:%M:%S. Flourish type hint: string, defaults to |
chart_layout_footer_logo_enabled |
Image. Choices: |
chart_layout_footer_logo_src |
Image. Flourish type hint: url, defaults to |
chart_layout_footer_logo_src_light |
Image (light version). If provided this version will be used whenever the background color is dark. Flourish type hint: hidden, defaults to |
chart_layout_footer_logo_alt |
Alt text. Flourish type hint: string, defaults to |
chart_layout_footer_logo_link_url |
Link. Flourish type hint: string, defaults to |
chart_layout_footer_logo_height |
Height. Flourish type hint: number, defaults to |
chart_layout_footer_logo_margin |
Margin. Flourish type hint: number, defaults to |
chart_layout_footer_logo_order |
Position. Choices: left, right. Flourish type hint: string, defaults to |
chart_layout_footer_align_vertical |
V. align. Choices: flex-start, center, flex-end. Flourish type hint: string, defaults to |
chart_layout_footer_border |
Choices: top, bottom, top_and_bottom, none. Flourish type hint: string, defaults to |
chart_layout_footer_border_width |
Width. Flourish type hint: number, defaults to |
chart_layout_footer_border_color |
Color. Flourish type hint: color, defaults to |
chart_layout_footer_border_style |
Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to |
chart_layout_footer_border_space |
Space. Space between border and footer text. Flourish type hint: number, defaults to |
chart_layout_screenreader_text_primary |
Screenreader description. A text alternative to the visual content that will only be visible to screenreaders, e.g. The line chart shows China consistently higher than the other countries since 1990. Do not replicate your title, since that will also be read by screenreaders. Flourish type hint: text, defaults to |
chart_layout_screenreader_label |
Screenreader label. A short text label given to the main Flourish embed wrapper to provide an accessible name that is only visible to screenreaders Added in the form of an "aria-label". Flourish type hint: string, defaults to |
chart_layout_screenreader_hide_primary |
Screenreader mode for main visual container. Choices: |
A Flourish chart
try(
flourish(chart_type = "sports", api_key = Sys.getenv("FLOURISH_API_KEY")) |>
bind_sports_data(gapminder) |>
set_sports_details()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.