set_network_graph_details: Set network graph chart details

View source: R/set_network_graph_details.R

set_network_graph_detailsR Documentation

Set network graph chart details

Description

Set network graph chart details

Usage

set_network_graph_details(
  .,
  chart_type = NULL,
  radial_sort = NULL,
  radial_sort_primary = NULL,
  radial_sort_secondary = NULL,
  height_mode = NULL,
  facet_aspect = NULL,
  facet_aspect_mobile = NULL,
  facet_aspect_breakpoint = NULL,
  ring_padding = NULL,
  ring_angle = NULL,
  fill_color = NULL,
  chart_color_scale_categorical_palette = NULL,
  chart_color_scale_categorical_extend = NULL,
  chart_color_scale_categorical_custom_palette = NULL,
  chart_color_scale_numeric_type = NULL,
  chart_color_scale_binning = NULL,
  chart_color_scale_bin_mode = NULL,
  chart_color_scale_bin_count = NULL,
  chart_color_scale_bin_thresholds = NULL,
  chart_color_scale_sequential_palette = NULL,
  chart_color_scale_sequential_reverse = NULL,
  chart_color_scale_sequential_custom_min = NULL,
  chart_color_scale_sequential_custom_max = NULL,
  chart_color_scale_sequential_color_space = NULL,
  chart_color_scale_sequential_custom_domain = NULL,
  chart_color_scale_sequential_domain_min = NULL,
  chart_color_scale_sequential_domain_max = NULL,
  chart_color_scale_diverging_palette = NULL,
  chart_color_scale_diverging_reverse = NULL,
  chart_color_scale_diverging_custom_min = NULL,
  chart_color_scale_diverging_custom_mid = NULL,
  chart_color_scale_diverging_custom_max = NULL,
  chart_color_scale_diverging_color_space = NULL,
  chart_color_scale_diverging_custom_domain = NULL,
  chart_color_scale_diverging_domain_min = NULL,
  chart_color_scale_diverging_domain_mid = NULL,
  chart_color_scale_diverging_domain_max = NULL,
  node_scale_pack = NULL,
  constant_node_radius = NULL,
  min_node_radius = NULL,
  max_node_radius = NULL,
  point_opacity = NULL,
  fade_opacity = NULL,
  image_opacity = NULL,
  node_stroke_width = NULL,
  node_stroke_color = NULL,
  node_highlight_stroke_color = NULL,
  points_advanced = NULL,
  node_scale_type = NULL,
  max_node_value = NULL,
  auto_scale = NULL,
  max_fullness = NULL,
  label_size = NULL,
  label_weight = NULL,
  label_color_mode = NULL,
  label_color = NULL,
  label_show = NULL,
  link_color = NULL,
  link_opacity = NULL,
  constant_link_width = NULL,
  min_link_width = NULL,
  max_link_width = NULL,
  max_link_value = NULL,
  links_advanced = NULL,
  directional = NULL,
  link_scale_type = NULL,
  link_highlight_color = NULL,
  link_highlight_opacity = NULL,
  chart_popup_show_popups = NULL,
  chart_popup_is_custom = NULL,
  chart_popup_custom_template = NULL,
  chart_popup_show_pointer = NULL,
  chart_popup_show_shadow = NULL,
  chart_popup_style_popups = NULL,
  chart_popup_text_color = NULL,
  chart_popup_align = NULL,
  chart_popup_text_size = NULL,
  chart_popup_fill_color = NULL,
  chart_popup_opacity = NULL,
  chart_popup_padding = NULL,
  chart_popup_border_radius = NULL,
  chart_popup_max_width = NULL,
  popup_opacity = 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,
  legend_position = 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,
  legend_interaction = NULL,
  animate_simulation = NULL,
  simulation_speed = NULL,
  animate_transition = NULL,
  transition_scale = NULL,
  many_body_strength = NULL,
  collision_strength = NULL,
  chart_number_localization_input_decimal_separator = NULL,
  chart_number_localization_output_separators = 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
)

Arguments

.

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).

chart_type

Choices: regular, radial. Flourish type hint: string, defaults to NULL

radial_sort

Radial sort mode. Choices: auto, none, clockwise, counter_clockwise. Whether sorting will be applied or not and in which direction. Flourish type hint: string, defaults to NULL

radial_sort_primary

Primary sort. Choices: group, id, size, link_count, link_value. The primary criteria used when ordering points. If there are ties when sorting the data the secondary sorting criteria is applied. Flourish type hint: string, defaults to NULL

radial_sort_secondary

Secondary sort. Choices: group, id, size, link_count, link_value. The secondary criteria used when ordering points. It is applied in cases where the primary sorting criteria results in a tie. Flourish type hint: string, defaults to NULL

height_mode

Height mode. Choices: auto, fill_space, aspect. How the graphics height is determined; ignored when embedded in a fixed-height context such as a simple iframe embed. Auto sets the height based on the chart type, data and width. Standard uses the default Flourish responsive sizing. Aspect ratio sets the aspect of each plot. Please note that animations between slides in a story will only work in Aspect ratio mode. Flourish type hint: string, defaults to NULL

facet_aspect

Aspect (desktop). Aspect ratio of each plot in desktop mode, where 1 is square, above 1 is wider, and below 1 is taller. Flourish type hint: number, defaults to NULL

facet_aspect_mobile

Aspect (mobile). Aspect of each plot in mobile mode, where 1 is square, above 1 is wider, and below 1 is taller. Flourish type hint: number, defaults to NULL

facet_aspect_breakpoint

Breakpoint. The width at which mobile mode ends and desktop begins. Flourish type hint: number, defaults to NULL

ring_padding

Ring padding (%). Adds extra spacing around the outside of the radial layout. Flourish type hint: number, defaults to NULL

ring_angle

Ring rotation. The number of degrees to rotate the radial layout. Flourish type hint: number, defaults to NULL

fill_color

Fill color. Flourish type hint: color, defaults to NULL

chart_color_scale_categorical_palette

Palette. Flourish type hint: colors, defaults to NULL

chart_color_scale_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 NULL

chart_color_scale_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 NULL

chart_color_scale_numeric_type

Scale type. Choices: sequential, diverging. Flourish type hint: string, defaults to NULL

chart_color_scale_binning

Choices: FALSE, TRUE. In linear mode, the color scale will run as a smooth gradient between 2 colors. In binned mode, the gradient will be divided in smaller blocks. Flourish type hint: boolean, defaults to NULL

chart_color_scale_bin_mode

Binning mode. Choices: fixed, quantile, custom. Flourish type hint: string, defaults to NULL

chart_color_scale_bin_count

Number of bins. Flourish type hint: number, defaults to NULL

chart_color_scale_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 NULL

chart_color_scale_sequential_palette

Palette. Flourish type hint: string, defaults to NULL

chart_color_scale_sequential_reverse

Reverse. Flourish type hint: boolean, defaults to NULL

chart_color_scale_sequential_custom_min

Minimum color. Flourish type hint: color, defaults to NULL

chart_color_scale_sequential_custom_max

Maximum color. Flourish type hint: color, defaults to NULL

chart_color_scale_sequential_color_space

Color space. Choices: rgb, lab, hcl, hsl. Flourish type hint: string, defaults to NULL

chart_color_scale_sequential_custom_domain

Domain. Choices: FALSE, TRUE. Flourish type hint: boolean, defaults to NULL

chart_color_scale_sequential_domain_min

Min. Flourish type hint: number, defaults to NULL

chart_color_scale_sequential_domain_max

Max. Flourish type hint: number, defaults to NULL

chart_color_scale_diverging_palette

Palette. Flourish type hint: string, defaults to NULL

chart_color_scale_diverging_reverse

Reverse. Flourish type hint: boolean, defaults to NULL

chart_color_scale_diverging_custom_min

Minimum color. Flourish type hint: color, defaults to NULL

chart_color_scale_diverging_custom_mid

Midpoint color. Flourish type hint: color, defaults to NULL

chart_color_scale_diverging_custom_max

Maximum color. Flourish type hint: color, defaults to NULL

chart_color_scale_diverging_color_space

Color space. Choices: rgb, lab, hcl, hsl. Flourish type hint: string, defaults to NULL

chart_color_scale_diverging_custom_domain

Domain. Choices: FALSE, TRUE. Flourish type hint: boolean, defaults to NULL

chart_color_scale_diverging_domain_min

Min. Flourish type hint: number, defaults to NULL

chart_color_scale_diverging_domain_mid

Mid. Flourish type hint: number, defaults to NULL

chart_color_scale_diverging_domain_max

Max. Flourish type hint: number, defaults to NULL

node_scale_pack

Pack points to fit radial layout. Scale points relatively to fit tightly around the perimiter of the radial layout, without leaving space between points. If enabled this option overrides other point sizing options in this section. Flourish type hint: boolean, defaults to NULL

constant_node_radius

Radius. The radius of your points (in px). Flourish type hint: number, defaults to NULL

min_node_radius

Minimum radius. Flourish type hint: number, defaults to NULL

max_node_radius

Maximum radius. The maximum radius of your points (in px). Flourish type hint: number, defaults to NULL

point_opacity

Opacity (default). How opaque the default state of the points in your network should be. Flourish type hint: number, defaults to NULL

fade_opacity

Opacity (unhighlighted). When a point is emphasized, how opaque the rest of the network should be. Flourish type hint: number, defaults to NULL

image_opacity

Image opacity. How opaque the images in your points should be. Flourish type hint: number, defaults to NULL

node_stroke_width

Width. Flourish type hint: number, defaults to NULL

node_stroke_color

Color. When not set, stroke color is same as background color. Flourish type hint: color, defaults to NULL

node_highlight_stroke_color

Color (highlighted). When not set, stroke color is same as background color. Flourish type hint: color, defaults to NULL

points_advanced

Advanced point settings. Flourish type hint: boolean, defaults to NULL

node_scale_type

Scale points relative to:. Choices: current, arbitrary. Flourish type hint: string, defaults to NULL

max_node_value

Value. Values bigger than this maximum will have a radius equal to the maximum radius. Flourish type hint: number, defaults to NULL

auto_scale

Scale points down when not enough space. Choices: TRUE, FALSE. Flourish type hint: boolean, defaults to NULL

max_fullness

Max total point area. What percent of the space can the points fill before they are scaled down. Flourish type hint: number, defaults to NULL

label_size

Size. Flourish type hint: number, defaults to NULL

label_weight

Weight. Choices: bold, regular. Flourish type hint: string, defaults to NULL

label_color_mode

Color mode. Choices: auto, fixed. Flourish type hint: string, defaults to NULL

label_color

Color. Flourish type hint: color, defaults to NULL

label_show

Show. Choices: auto, all, neighbourhood, click, none. When to show node labels. If set to "Auto" behavior is dynamic depending on chart type and available space. Flourish type hint: string, defaults to NULL

link_color

Color. When not set, uses same color as main text. Flourish type hint: color, defaults to NULL

link_opacity

Opacity. How opaque the links between your points should be. Flourish type hint: number, defaults to NULL

constant_link_width

Width. Flourish type hint: number, defaults to NULL

min_link_width

Minimum width. Any smaller links will be scaled up to the specified level. (Ignored if greater than the Maximum width setting.). Flourish type hint: number, defaults to NULL

max_link_width

Maximum width. Flourish type hint: number, defaults to NULL

max_link_value

Value. Values bigger than this maximum will have a width equal to the maximum width. Flourish type hint: number, defaults to NULL

links_advanced

Advanced link settings. Flourish type hint: boolean, defaults to NULL

directional

Show arrows on links. Flourish type hint: boolean, defaults to NULL

link_scale_type

Scale links relative to:. Choices: current, arbitrary. Flourish type hint: string, defaults to NULL

link_highlight_color

Color (highlighted). When not set, uses same color as main text. Flourish type hint: color, defaults to NULL

link_highlight_opacity

Opacity (highlighted). Flourish type hint: number, defaults to NULL

chart_popup_show_popups

Popups. Choices: TRUE, FALSE. Flourish type hint: boolean, defaults to NULL

chart_popup_is_custom

Popup contents. Choices: FALSE, TRUE. Flourish type hint: boolean, defaults to NULL

chart_popup_custom_template

Popup content. The text to appear in the popup. You can use {{column_name}} to add a value from your data. It must be in a selected column, but you can add columns to Metadata if you just want to include them for use in the popup. Advanced users can include HTML to apply layouts, formatting, images, etc. Flourish type hint: text, defaults to NULL

chart_popup_show_pointer

Pointer. Flourish type hint: boolean, defaults to NULL

chart_popup_show_shadow

Shadow. Flourish type hint: boolean, defaults to NULL

chart_popup_style_popups

Custom styling. Flourish type hint: boolean, defaults to NULL

chart_popup_text_color

Text colour. Flourish type hint: color, defaults to NULL

chart_popup_align

Alignment. Choices: left, center, right. Flourish type hint: string, defaults to NULL

chart_popup_text_size

Font size. Flourish type hint: number, defaults to NULL

chart_popup_fill_color

Fill colour. Flourish type hint: color, defaults to NULL

chart_popup_opacity

Fill opacity. Flourish type hint: number, defaults to NULL

chart_popup_padding

Padding. Flourish type hint: number, defaults to NULL

chart_popup_border_radius

Radius. Corner radius of popup. Flourish type hint: number, defaults to NULL

chart_popup_max_width

Max width. Flourish type hint: number, defaults to NULL

popup_opacity

Popup opacity on overlap. When the popup is overlapping other points and links, the opacity of the popup will change so most of the chart is still visible. Flourish type hint: number, defaults to NULL

chart_categorical_legend_show_legend

Legend mode. Choices: TRUE, FALSE. A legend will not show with a single entry. Flourish type hint: boolean, defaults to NULL

chart_categorical_legend_title_mode

Title mode. Choices: auto, custom. Flourish type hint: string, defaults to NULL

chart_categorical_legend_title

Title. Flourish type hint: string, defaults to NULL

chart_categorical_legend_swatch_width

Width. Flourish type hint: number, defaults to NULL

chart_categorical_legend_swatch_height

Height. Flourish type hint: number, defaults to NULL

chart_categorical_legend_swatch_radius

Roundness. The radius of the corners of the swatch (in pixels). Flourish type hint: number, defaults to NULL

chart_categorical_legend_legend_items_padding

Padding. Padding between legend items ( in rems ). Flourish type hint: number, defaults to NULL

chart_categorical_legend_swatch_outline

Outline. An optional outline for the swatch in the legend. Flourish type hint: boolean, defaults to NULL

chart_categorical_legend_swatch_outline_color

Color. Flourish type hint: color, defaults to NULL

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 NULL

chart_categorical_legend_icon_height

Height. Height of icon ( in rems ). Flourish type hint: number, defaults to NULL

chart_categorical_legend_icon_color

Color. Fallback color (icon color if not determined by template). Flourish type hint: color, defaults to NULL

chart_categorical_legend_max_width

Max width. Flourish type hint: number, defaults to NULL

chart_categorical_legend_orientation

Orientation. Choices: horizontal, vertical. Flourish type hint: string, defaults to NULL

legend_position

Position. Choices: above, below. Flourish type hint: string, defaults to NULL

chart_legend_container_alignment

Alignment. Choices: start, center, end. Flourish type hint: string, defaults to NULL

chart_legend_container_orientation

Orientation. Choices: horizontal, vertical. Flourish type hint: string, defaults to NULL

chart_legend_container_title_weight

Title weight. Choices: bold, normal. Flourish type hint: string, defaults to NULL

chart_legend_container_text_weight

Text weight. Choices: bold, normal. Flourish type hint: string, defaults to NULL

chart_legend_container_text_color

Color. Flourish type hint: color, defaults to NULL

chart_legend_container_text_size

Size. Flourish type hint: number, defaults to NULL

legend_interaction

When clicking a legend item. Choices: filter_and_layout, filter_in_position, none. Flourish type hint: string, defaults to NULL

animate_simulation

Animate network simulation. Display the initial animation of the network. Flourish type hint: boolean, defaults to NULL

simulation_speed

Animation speed. The speed of the initial animation (in ms). Flourish type hint: number, defaults to NULL

animate_transition

Animate layout transitions. Enable or disable layout transitions. Flourish type hint: boolean, defaults to NULL

transition_scale

Transition duration. The duration multiplier for transition animations. Flourish type hint: number, defaults to NULL

many_body_strength

Repulsion between points. How strongly the points repulse each others. Known as many-body force. Measured in arbitrary units. Flourish type hint: number, defaults to NULL

collision_strength

Collision-force strength. How strongly the points push away from each other when colliding. In arbitrary units. Flourish type hint: number, defaults to NULL

chart_number_localization_input_decimal_separator

Decimal separator in data sheet. Choices: ., ,. Used for interpreting your data. Only change if data is not displaying on the chart as expected. Flourish type hint: string, defaults to NULL

chart_number_localization_output_separators

Number format to display. Choices: ,., .,, ., ,, ., ,. How the numbers should appear on chart labels. Flourish type hint: string, defaults to NULL

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 NULL

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 NULL

chart_layout_background_color_enabled

Color. Choices: TRUE, FALSE. Flourish type hint: boolean, defaults to NULL

chart_layout_background_image_enabled

Image. Choices: TRUE, FALSE. Flourish type hint: boolean, defaults to NULL

chart_layout_background_color

Background color. Flourish type hint: color, defaults to NULL

chart_layout_background_image_src

Image URL. Flourish type hint: url, defaults to NULL

chart_layout_background_image_size

Size. Choices: cover, contain, auto, 100% 100%. Flourish type hint: string, defaults to NULL

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 NULL

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 NULL

chart_layout_max_width

Maximum width. Leave blank to stretch to container width. Flourish type hint: number, defaults to NULL

chart_layout_max_width_align

Align. Choices: left, center, right. Flourish type hint: string, defaults to NULL

chart_layout_layout_order

Layout order. Flourish type hint: string, defaults to NULL

chart_layout_space_between_sections

Space between sections. Choices: 0.5, 1, 1.5, custom. Flourish type hint: string, defaults to NULL

chart_layout_space_between_sections_custom

Custom. Flourish type hint: number, defaults to NULL

chart_layout_margin_top

Top. Flourish type hint: number, defaults to NULL

chart_layout_margin_right

Right. Flourish type hint: number, defaults to NULL

chart_layout_margin_bottom

Bottom. Flourish type hint: number, defaults to NULL

chart_layout_margin_left

Left. Flourish type hint: number, defaults to NULL

chart_layout_border_enabled

Show borders around visualisation. Flourish type hint: boolean, defaults to NULL

chart_layout_border_top_width

Top. Flourish type hint: number, defaults to NULL

chart_layout_border_top_style

Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to NULL

chart_layout_border_top_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_border_right_width

Right. Flourish type hint: number, defaults to NULL

chart_layout_border_right_style

Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to NULL

chart_layout_border_right_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_border_bottom_width

Bottom. Flourish type hint: number, defaults to NULL

chart_layout_border_bottom_style

Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to NULL

chart_layout_border_bottom_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_border_left_width

Left. Flourish type hint: number, defaults to NULL

chart_layout_border_left_style

Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to NULL

chart_layout_border_left_color

Color. Flourish type hint: color, defaults to NULL

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 NULL

chart_layout_font_size_mobile_small

Flourish type hint: number, defaults to NULL

chart_layout_font_size_mobile_big

Flourish type hint: number, defaults to NULL

chart_layout_font_size_tablet

Flourish type hint: number, defaults to NULL

chart_layout_font_size_desktop

Flourish type hint: number, defaults to NULL

chart_layout_font_size_big_screen

Flourish type hint: number, defaults to NULL

chart_layout_breakpoint_mobile_small

Flourish type hint: number, defaults to NULL

chart_layout_breakpoint_mobile_big

Flourish type hint: number, defaults to NULL

chart_layout_breakpoint_tablet

Flourish type hint: number, defaults to NULL

chart_layout_breakpoint_desktop

Flourish type hint: number, defaults to NULL

chart_layout_breakpoint_big_screen

Flourish type hint: number, defaults to NULL

chart_layout_header_align

Alignment. Choices: left, center, right. Flourish type hint: string, defaults to NULL

chart_layout_title

Flourish type hint: html, defaults to NULL

chart_layout_title_styling

Styling. Flourish type hint: boolean, defaults to NULL

chart_layout_title_font

Title Font. Flourish type hint: font, defaults to NULL

chart_layout_title_size

Size. Choices: 1.4, 1.6, 2, custom. Flourish type hint: string, defaults to NULL

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 NULL

chart_layout_title_weight

Weight. Choices: bold, normal. Flourish type hint: string, defaults to NULL

chart_layout_title_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_title_line_height

Line height. Flourish type hint: number, defaults to NULL

chart_layout_title_space_above

Space above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to NULL

chart_layout_title_space_above_custom

Custom. Flourish type hint: number, defaults to NULL

chart_layout_subtitle

Flourish type hint: html, defaults to NULL

chart_layout_subtitle_styling

Styling. Flourish type hint: boolean, defaults to NULL

chart_layout_subtitle_font

Subtitle Font. Flourish type hint: font, defaults to NULL

chart_layout_subtitle_size

Size. Choices: 1.4, 1.6, 2, custom. Flourish type hint: string, defaults to NULL

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 NULL

chart_layout_subtitle_weight

Weight. Choices: bold, normal. Flourish type hint: string, defaults to NULL

chart_layout_subtitle_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_subtitle_line_height

Line height. Flourish type hint: number, defaults to NULL

chart_layout_subtitle_space_above

Space above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to NULL

chart_layout_subtitle_space_above_custom

Custom. Flourish type hint: number, defaults to NULL

chart_layout_header_text

Flourish type hint: html, defaults to NULL

chart_layout_header_text_styling

Styling. Flourish type hint: boolean, defaults to NULL

chart_layout_header_text_size

Size. Choices: 1.2, 1.4, 1.6, custom. Flourish type hint: string, defaults to NULL

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 NULL

chart_layout_header_text_weight

Weight. Choices: bold, normal. Flourish type hint: string, defaults to NULL

chart_layout_header_text_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_header_text_line_height

Line height. Flourish type hint: number, defaults to NULL

chart_layout_header_text_space_above

Space above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to NULL

chart_layout_header_text_space_above_custom

Custom. Flourish type hint: number, defaults to NULL

chart_layout_header_border

Choices: top, bottom, top_and_bottom, none. Flourish type hint: string, defaults to NULL

chart_layout_header_border_width

Width. Flourish type hint: number, defaults to NULL

chart_layout_header_border_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_header_border_style

Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to NULL

chart_layout_header_border_space

Space. Space between border and header text. Flourish type hint: number, defaults to NULL

chart_layout_header_logo_enabled

Choices: TRUE, FALSE. Flourish type hint: boolean, defaults to NULL

chart_layout_header_logo_src

Image. Flourish type hint: url, defaults to NULL

chart_layout_header_logo_alt

Alt text. Flourish type hint: string, defaults to NULL

chart_layout_header_logo_link_url

Link. Flourish type hint: string, defaults to NULL

chart_layout_header_logo_height

Height. Flourish type hint: number, defaults to NULL

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 NULL

chart_layout_header_logo_position_inside

Position. Choices: top, left, right. Flourish type hint: string, defaults to NULL

chart_layout_header_logo_position_outside

Position. Choices: left, right. Flourish type hint: string, defaults to NULL

chart_layout_header_logo_margin_top

Top. Flourish type hint: number, defaults to NULL

chart_layout_header_logo_margin_right

Right. Flourish type hint: number, defaults to NULL

chart_layout_header_logo_margin_bottom

Bottom. Flourish type hint: number, defaults to NULL

chart_layout_header_logo_margin_left

Left. Flourish type hint: number, defaults to NULL

chart_layout_footer_align

Alignment. Choices: left, center, right, justify. Flourish type hint: string, defaults to NULL

chart_layout_footer_text_size

Size. Flourish type hint: number, defaults to NULL

chart_layout_footer_text_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_footer_styling

Advanced footer styles. Flourish type hint: boolean, defaults to NULL

chart_layout_footer_font

Font. Flourish type hint: font, defaults to NULL

chart_layout_footer_text_weight

Weight. Choices: bold, normal. Flourish type hint: string, defaults to NULL

chart_layout_source_name

Source name. Flourish type hint: string, defaults to NULL

chart_layout_source_url

Source url. Flourish type hint: string, defaults to NULL

chart_layout_multiple_sources

Multiple sources. Flourish type hint: boolean, defaults to NULL

chart_layout_source_name_2

Source name. Flourish type hint: string, defaults to NULL

chart_layout_source_url_2

Source url. Flourish type hint: string, defaults to NULL

chart_layout_source_name_3

Source name. Flourish type hint: string, defaults to NULL

chart_layout_source_url_3

Source url. Flourish type hint: string, defaults to NULL

chart_layout_source_label

Source label. Flourish type hint: string, defaults to NULL

chart_layout_footer_note

Note. To add the time/date stamp of when the data was last updated add {{data_last_updated}}. For example, "Last updated at {{data_last_updated}}". To customize the format, use the advanced options below. Flourish type hint: html, defaults to NULL

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 {{data_last_updated}}. For example, "Last updated at {{data_last_updated}}". To customize the format, use the advanced options below. Flourish type hint: html, defaults to NULL

chart_layout_advanced_note_styling

Advanced. Flourish type hint: boolean, defaults to NULL

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 NULL

chart_layout_footer_logo_enabled

Image. Choices: TRUE, FALSE. Flourish type hint: boolean, defaults to NULL

chart_layout_footer_logo_src

Image. Flourish type hint: url, defaults to NULL

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 NULL

chart_layout_footer_logo_alt

Alt text. Flourish type hint: string, defaults to NULL

chart_layout_footer_logo_link_url

Link. Flourish type hint: string, defaults to NULL

chart_layout_footer_logo_height

Height. Flourish type hint: number, defaults to NULL

chart_layout_footer_logo_margin

Margin. Flourish type hint: number, defaults to NULL

chart_layout_footer_logo_order

Position. Choices: left, right. Flourish type hint: string, defaults to NULL

chart_layout_footer_align_vertical

V. align. Choices: flex-start, center, flex-end. Flourish type hint: string, defaults to NULL

chart_layout_footer_border

Choices: top, bottom, top_and_bottom, none. Flourish type hint: string, defaults to NULL

chart_layout_footer_border_width

Width. Flourish type hint: number, defaults to NULL

chart_layout_footer_border_color

Color. Flourish type hint: color, defaults to NULL

chart_layout_footer_border_style

Style. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to NULL

chart_layout_footer_border_space

Space. Space between border and footer text. Flourish type hint: number, defaults to NULL

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 NULL

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 NULL

chart_layout_screenreader_hide_primary

Screenreader mode for main visual container. Choices: TRUE, FALSE. Whether the main visual container is visible to screenreaders (Text in the header and footer are always available to screenreaders.). Flourish type hint: boolean, defaults to NULL

Value

A Flourish chart

Examples

try(
  flourish(chart_type = "network", api_key = Sys.getenv("FLOURISH_API_KEY")) |> 
  bind_network_graph_data(gapminder) |> 
  set_network_graph_details()
)

flourishcharts documentation built on Oct. 30, 2024, 9:07 a.m.