Set parliament chart chart details

def set_parliament_chart_details(
self,
num_of_seats: float = None,
hemicycle_arc: float = None,
circle_inner: float = None,
manual_row_count: bool = None,
num_of_rows: float = None,
use_hover_animation: bool = None,
chart_color_scale_categorical_palette: Union[list, str] = None,
chart_color_scale_categorical_extend: bool = None,
chart_color_scale_categorical_custom_palette: Union[list, str] = None,
chart_color_scale_numeric_type: str = None,
chart_color_scale_binning: bool = None,
chart_color_scale_bin_mode: str = None,
chart_color_scale_bin_count: float = None,
chart_color_scale_bin_thresholds: str = None,
chart_color_scale_sequential_palette: str = None,
chart_color_scale_sequential_reverse: bool = None,
chart_color_scale_sequential_custom_min: str = None,
chart_color_scale_sequential_custom_max: str = None,
chart_color_scale_sequential_color_space: str = None,
chart_color_scale_sequential_custom_domain: bool = None,
chart_color_scale_sequential_domain_min: float = None,
chart_color_scale_sequential_domain_max: float = None,
chart_color_scale_diverging_palette: str = None,
chart_color_scale_diverging_reverse: bool = None,
chart_color_scale_diverging_custom_min: str = None,
chart_color_scale_diverging_custom_mid: str = None,
chart_color_scale_diverging_custom_max: str = None,
chart_color_scale_diverging_color_space: str = None,
chart_color_scale_diverging_custom_domain: bool = None,
chart_color_scale_diverging_domain_min: float = None,
chart_color_scale_diverging_domain_mid: float = None,
chart_color_scale_diverging_domain_max: float = None,
unassigned_color: str = None,
count_font_size: float = None,
count_weight: str = None,
party_font_size: float = None,
party_weight: str = None,
chart_categorical_legend_show_legend: bool = None,
chart_categorical_legend_title_mode: str = None,
chart_categorical_legend_title: str = None,
chart_categorical_legend_swatch_width: float = None,
chart_categorical_legend_swatch_height: float = None,
chart_categorical_legend_swatch_radius: float = None,
chart_categorical_legend_legend_items_padding: float = None,
chart_categorical_legend_swatch_outline: bool = None,
chart_categorical_legend_swatch_outline_color: str = None,
chart_categorical_legend_order_override: Union[list, str] = None,
chart_categorical_legend_icon_height: float = None,
chart_categorical_legend_icon_color: str = None,
chart_categorical_legend_max_width: float = None,
chart_categorical_legend_orientation: str = None,
chart_legend_container_alignment: str = None,
chart_legend_container_orientation: str = None,
chart_legend_container_title_weight: str = None,
chart_legend_container_text_weight: str = None,
chart_legend_container_text_color: str = None,
chart_legend_container_text_size: float = None,
legend_hide_empty_parties: bool = None,
show_table: bool = None,
gain_color: str = None,
loss_color: str = None,
default_text_color: str = None,
header_weight: str = None,
margin_table: float = None,
show_seat_change: str = None,
seat_change_before: str = None,
seat_change_after: str = None,
seat_change_label: str = None,
chart_number_date_format_prefix: str = None,
chart_number_date_format_suffix: str = None,
chart_number_date_format_n_dec: float = None,
chart_number_date_format_advanced: bool = None,
chart_number_date_format_negative_sign: str = None,
chart_number_date_format_strip_zeros: bool = None,
chart_number_date_format_strip_separator: bool = None,
chart_number_date_format_transform_labels: bool = None,
chart_number_date_format_transform: str = None,
chart_number_date_format_multiply_divide_constant: float = None,
chart_number_date_format_exponentiate_constant: float = None,
majority_threshold_line_enabled: bool = None,
majority_threshold_line_content: str = None,
majority_threshold_line_text_color: str = None,
majority_threshold_line_dashoffset: str = None,
majority_threshold_line_width: float = None,
majority_threshold_line_color: str = None,
animation_duration: float = None,
animation_stagger: float = None,
animate_on_load: bool = None,
chart_filter_controls_control_type: str = None,
chart_filter_controls_control_styles: bool = None,
chart_filter_controls_control_title: str = None,
chart_filter_controls_button_group: bool = None,
chart_filter_controls_button_group_width_mode: str = None,
chart_filter_controls_button_group_width_fixed: float = None,
chart_filter_controls_dropdown_width_mode: str = None,
chart_filter_controls_dropdown_width_fixed: float = None,
chart_filter_controls_slider_width: float = None,
chart_filter_controls_slider_max_label_width: float = None,
chart_filter_controls_slider_step_time: float = None,
chart_filter_controls_slider_loop: bool = None,
chart_filter_controls_slider_restart_pause: float = None,
chart_filter_controls_sort: bool = None,
chart_controls_style_font_size: float = None,
chart_controls_style_font_weight: str = None,
chart_controls_style_height: float = None,
chart_button_control_style_background: str = None,
chart_button_control_style_background_selected: str = None,
chart_button_control_style_background_hover: str = None,
chart_button_control_style_font_color: str = None,
chart_button_control_style_font_color_selected: str = None,
chart_button_control_style_font_color_hover: str = None,
chart_button_control_style_button_styles_advanced: bool = None,
chart_button_control_style_border_width: float = None,
chart_button_control_style_border_color: str = None,
chart_button_control_style_border_transparency: float = None,
chart_button_control_style_border_radius: float = None,
chart_dropdown_control_style_background: str = None,
chart_dropdown_control_style_font_color: str = None,
chart_dropdown_control_style_border_styles_advanced: bool = None,
chart_dropdown_control_style_border_style: str = None,
chart_dropdown_control_style_border_width: float = None,
chart_dropdown_control_style_border_color: str = None,
chart_dropdown_control_style_border_transparency: float = None,
chart_dropdown_control_style_border_radius: float = None,
chart_slider_control_style_track_color: str = None,
chart_slider_control_style_font_color: str = None,
chart_slider_control_style_handle_color: str = None,
chart_slider_control_style_play_color: str = None,
chart_slider_control_style_track_height: float = None,
chart_slider_control_style_handle_height: float = None,
chart_slider_control_style_play_button: bool = None,
chart_filter_controls_container_alignment: str = None,
chart_filter_controls_container_controls_spacing: float = None,
chart_number_localization_input_decimal_separator: str = None,
chart_number_localization_output_separators: str = None,
chart_layout_body_font: str = None,
chart_layout_font_color: str = None,
chart_layout_background_color_enabled: bool = None,
chart_layout_background_image_enabled: bool = None,
chart_layout_background_color: str = None,
chart_layout_background_image_src: str = None,
chart_layout_background_image_size: str = None,
chart_layout_background_image_position: str = None,
chart_layout_max_width_target: str = None,
chart_layout_max_width: float = None,
chart_layout_max_width_align: str = None,
chart_layout_layout_order: str = None,
chart_layout_space_between_sections: str = None,
chart_layout_space_between_sections_custom: float = None,
chart_layout_margin_top: float = None,
chart_layout_margin_right: float = None,
chart_layout_margin_bottom: float = None,
chart_layout_margin_left: float = None,
chart_layout_border_enabled: bool = None,
chart_layout_border_top_width: float = None,
chart_layout_border_top_style: str = None,
chart_layout_border_top_color: str = None,
chart_layout_border_right_width: float = None,
chart_layout_border_right_style: str = None,
chart_layout_border_right_color: str = None,
chart_layout_border_bottom_width: float = None,
chart_layout_border_bottom_style: str = None,
chart_layout_border_bottom_color: str = None,
chart_layout_border_left_width: float = None,
chart_layout_border_left_style: str = None,
chart_layout_border_left_color: str = None,
chart_layout_read_direction: str = None,
chart_layout_font_size_mobile_small: float = None,
chart_layout_font_size_mobile_big: float = None,
chart_layout_font_size_tablet: float = None,
chart_layout_font_size_desktop: float = None,
chart_layout_font_size_big_screen: float = None,
chart_layout_breakpoint_mobile_small: float = None,
chart_layout_breakpoint_mobile_big: float = None,
chart_layout_breakpoint_tablet: float = None,
chart_layout_breakpoint_desktop: float = None,
chart_layout_breakpoint_big_screen: float = None,
chart_layout_header_align: str = None,
chart_layout_title: Union[list, str] = None,
chart_layout_title_styling: bool = None,
chart_layout_title_font: str = None,
chart_layout_title_size: str = None,
chart_layout_title_size_custom: float = None,
chart_layout_title_weight: str = None,
chart_layout_title_color: str = None,
chart_layout_title_line_height: float = None,
chart_layout_title_space_above: str = None,
chart_layout_title_space_above_custom: float = None,
chart_layout_subtitle: Union[list, str] = None,
chart_layout_subtitle_styling: bool = None,
chart_layout_subtitle_font: str = None,
chart_layout_subtitle_size: str = None,
chart_layout_subtitle_size_custom: float = None,
chart_layout_subtitle_weight: str = None,
chart_layout_subtitle_color: str = None,
chart_layout_subtitle_line_height: float = None,
chart_layout_subtitle_space_above: str = None,
chart_layout_subtitle_space_above_custom: float = None,
chart_layout_header_text: Union[list, str] = None,
chart_layout_header_text_styling: bool = None,
chart_layout_header_text_size: str = None,
chart_layout_header_text_size_custom: float = None,
chart_layout_header_text_weight: str = None,
chart_layout_header_text_color: str = None,
chart_layout_header_text_line_height: float = None,
chart_layout_header_text_space_above: str = None,
chart_layout_header_text_space_above_custom: float = None,
chart_layout_header_border: str = None,
chart_layout_header_border_width: float = None,
chart_layout_header_border_color: str = None,
chart_layout_header_border_style: str = None,
chart_layout_header_border_space: float = None,
chart_layout_header_logo_enabled: bool = None,
chart_layout_header_logo_src: str = None,
chart_layout_header_logo_alt: str = None,
chart_layout_header_logo_link_url: str = None,
chart_layout_header_logo_height: float = None,
chart_layout_header_logo_align: str = None,
chart_layout_header_logo_position_inside: str = None,
chart_layout_header_logo_position_outside: str = None,
chart_layout_header_logo_margin_top: float = None,
chart_layout_header_logo_margin_right: float = None,
chart_layout_header_logo_margin_bottom: float = None,
chart_layout_header_logo_margin_left: float = None,
chart_layout_footer_align: str = None,
chart_layout_footer_text_size: float = None,
chart_layout_footer_text_color: str = None,
chart_layout_footer_styling: bool = None,
chart_layout_footer_font: str = None,
chart_layout_footer_text_weight: str = None,
chart_layout_source_name: str = None,
chart_layout_source_url: str = None,
chart_layout_multiple_sources: bool = None,
chart_layout_source_name_2: str = None,
chart_layout_source_url_2: str = None,
chart_layout_source_name_3: str = None,
chart_layout_source_url_3: str = None,
chart_layout_source_label: str = None,
chart_layout_footer_note: Union[list, str] = None,
chart_layout_footer_note_secondary: Union[list, str] = None,
chart_layout_advanced_note_styling: bool = None,
chart_layout_footer_timestamp_format: str = None,
chart_layout_footer_logo_enabled: bool = None,
chart_layout_footer_logo_src: str = None,
chart_layout_footer_logo_src_light: str = None,
chart_layout_footer_logo_alt: str = None,
chart_layout_footer_logo_link_url: str = None,
chart_layout_footer_logo_height: float = None,
chart_layout_footer_logo_margin: float = None,
chart_layout_footer_logo_order: str = None,
chart_layout_footer_align_vertical: str = None,
chart_layout_footer_border: str = None,
chart_layout_footer_border_width: float = None,
chart_layout_footer_border_color: str = None,
chart_layout_footer_border_style: str = None,
chart_layout_footer_border_space: float = None,
chart_layout_screenreader_text_primary: Union[list, str] = None,
chart_layout_screenreader_label: str = None,
chart_layout_screenreader_hide_primary: bool = None
)
python
ArgumentsType hintDescription
selfFlourishReturns the Flourish object
num_of_seatsfloat, optionalNumber of seats. This number is ignored if the value is lower than the actual number of seats in your data. Flourish type hint: number, defaults to None
hemicycle_arcfloat, optionalSize of arc. In degrees. Flourish type hint: number, defaults to None
circle_innerfloat, optionalInner space. As a % of the circle. Flourish type hint: number, defaults to None
manual_row_countbool, optionalNumber of rows. Choices: False, True. Flourish type hint: boolean, defaults to None
num_of_rowsfloat, optionalRows. Flourish type hint: number, defaults to None
use_hover_animationbool, optionalHighlight parties on hover. Flourish type hint: boolean, defaults to None
chart_color_scale_categorical_paletteUnion[list, str], optionalPalette. Flourish type hint: colors, defaults to None
chart_color_scale_categorical_extendbool, optionalExtend. Automatically generate additional colours when needed to avoid the palette colours being used more than once. Flourish type hint: boolean, defaults to None
chart_color_scale_categorical_custom_paletteUnion[list, str], optionalCustom 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 None
chart_color_scale_numeric_typestr, optionalScale type. Choices: sequential, diverging. Flourish type hint: string, defaults to None
chart_color_scale_binningbool, optionalChoices: 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 None
chart_color_scale_bin_modestr, optionalBinning mode. Choices: fixed, quantile, custom. Flourish type hint: string, defaults to None
chart_color_scale_bin_countfloat, optionalNumber of bins. Flourish type hint: number, defaults to None
chart_color_scale_bin_thresholdsstr, optionalCustom 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 None
chart_color_scale_sequential_palettestr, optionalPalette. Flourish type hint: string, defaults to None
chart_color_scale_sequential_reversebool, optionalReverse. Flourish type hint: boolean, defaults to None
chart_color_scale_sequential_custom_minstr, optionalMinimum color. Flourish type hint: color, defaults to None
chart_color_scale_sequential_custom_maxstr, optionalMaximum color. Flourish type hint: color, defaults to None
chart_color_scale_sequential_color_spacestr, optionalColor space. Choices: rgb, lab, hcl, hsl. Flourish type hint: string, defaults to None
chart_color_scale_sequential_custom_domainbool, optionalDomain. Choices: False, True. Flourish type hint: boolean, defaults to None
chart_color_scale_sequential_domain_minfloat, optionalMin. Flourish type hint: number, defaults to None
chart_color_scale_sequential_domain_maxfloat, optionalMax. Flourish type hint: number, defaults to None
chart_color_scale_diverging_palettestr, optionalPalette. Flourish type hint: string, defaults to None
chart_color_scale_diverging_reversebool, optionalReverse. Flourish type hint: boolean, defaults to None
chart_color_scale_diverging_custom_minstr, optionalMinimum color. Flourish type hint: color, defaults to None
chart_color_scale_diverging_custom_midstr, optionalMidpoint color. Flourish type hint: color, defaults to None
chart_color_scale_diverging_custom_maxstr, optionalMaximum color. Flourish type hint: color, defaults to None
chart_color_scale_diverging_color_spacestr, optionalColor space. Choices: rgb, lab, hcl, hsl. Flourish type hint: string, defaults to None
chart_color_scale_diverging_custom_domainbool, optionalDomain. Choices: False, True. Flourish type hint: boolean, defaults to None
chart_color_scale_diverging_domain_minfloat, optionalMin. Flourish type hint: number, defaults to None
chart_color_scale_diverging_domain_midfloat, optionalMid. Flourish type hint: number, defaults to None
chart_color_scale_diverging_domain_maxfloat, optionalMax. Flourish type hint: number, defaults to None
unassigned_colorstr, optionalUnassigned outline color. Flourish type hint: color, defaults to None
count_font_sizefloat, optionalSize. If the font size means that the seat count is too large to fit within the parliament, the text will be automatically scaled to fit. Flourish type hint: number, defaults to None
count_weightstr, optionalWeight. Choices: normal, bold. Flourish type hint: string, defaults to None
party_font_sizefloat, optionalSize. If the font size means that the party name is too large to fit within the parliament, the text will be automatically scaled to fit. Flourish type hint: number, defaults to None
party_weightstr, optionalWeight. Choices: normal, bold. Flourish type hint: string, defaults to None
chart_categorical_legend_show_legendbool, optionalLegend mode. Choices: True, False. A legend will not show with a single entry. Flourish type hint: boolean, defaults to None
chart_categorical_legend_title_modestr, optionalTitle mode. Choices: auto, custom. Flourish type hint: string, defaults to None
chart_categorical_legend_titlestr, optionalTitle. Flourish type hint: string, defaults to None
chart_categorical_legend_swatch_widthfloat, optionalWidth. Flourish type hint: number, defaults to None
chart_categorical_legend_swatch_heightfloat, optionalHeight. Flourish type hint: number, defaults to None
chart_categorical_legend_swatch_radiusfloat, optionalRoundness. The radius of the corners of the swatch (in pixels). Flourish type hint: number, defaults to None
chart_categorical_legend_legend_items_paddingfloat, optionalPadding. Padding between legend items ( in rems ). Flourish type hint: number, defaults to None
chart_categorical_legend_swatch_outlinebool, optionalOutline. An optional outline for the swatch in the legend. Flourish type hint: boolean, defaults to None
chart_categorical_legend_swatch_outline_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_categorical_legend_order_overrideUnion[list, str], optionalCustom order override. Manually specify the order of legend entries (one entry per line). Flourish type hint: text, defaults to None
chart_categorical_legend_icon_heightfloat, optionalHeight. Height of icon ( in rems ). Flourish type hint: number, defaults to None
chart_categorical_legend_icon_colorstr, optionalColor. Fallback color (icon color if not determined by template). Flourish type hint: color, defaults to None
chart_categorical_legend_max_widthfloat, optionalMax width. Flourish type hint: number, defaults to None
chart_categorical_legend_orientationstr, optionalOrientation. Choices: horizontal, vertical. Flourish type hint: string, defaults to None
chart_legend_container_alignmentstr, optionalAlignment. Choices: start, center, end. Flourish type hint: string, defaults to None
chart_legend_container_orientationstr, optionalOrientation. Choices: horizontal, vertical. Flourish type hint: string, defaults to None
chart_legend_container_title_weightstr, optionalTitle weight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_legend_container_text_weightstr, optionalText weight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_legend_container_text_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_legend_container_text_sizefloat, optionalSize. Flourish type hint: number, defaults to None
legend_hide_empty_partiesbool, optionalDont include parties that dont have any seats. Flourish type hint: boolean, defaults to None
show_tablebool, optionalShow table. Flourish type hint: boolean, defaults to None
gain_colorstr, optionalGain color. Flourish type hint: color, defaults to None
loss_colorstr, optionalLoss color. Flourish type hint: color, defaults to None
default_text_colorstr, optionalDefault color. Flourish type hint: color, defaults to None
header_weightstr, optionalHeader text. Choices: bold, normal, italic. Flourish type hint: string, defaults to None
margin_tablefloat, optionalMargin. Flourish type hint: number, defaults to None
show_seat_changestr, optionalChoices: off, auto, custom. This adds a new column that shows the change between 2 columns. "Auto" will compare the last 2 columns in your data "Custom" will allow you to handpick 2 columns to compare. Flourish type hint: string, defaults to None
seat_change_beforestr, optionalSeat change before. Add the name of the column you want to compare with. Flourish type hint: string, defaults to None
seat_change_afterstr, optionalSeat change after. Add the name of the column you want to compare with. Flourish type hint: string, defaults to None
seat_change_labelstr, optionalColumn name. Flourish type hint: string, defaults to None
chart_number_date_format_prefixstr, optionalPrefix. Text to place in front of number. Flourish type hint: string, defaults to None
chart_number_date_format_suffixstr, optionalSuffix. Text to place after number. Flourish type hint: string, defaults to None
chart_number_date_format_n_decfloat, optionalDecimal places. Enter a negative integer to round to a whole number with that many zeros. For example, -2 will round to the nearest hundred. Flourish type hint: number, defaults to None
chart_number_date_format_advancedbool, optionalAdvanced. Flourish type hint: boolean, defaults to None
chart_number_date_format_negative_signstr, optionalStyling of negative numbers. Choices: -$nk, $-nk, ($nk), $(n)k, none. Flourish type hint: string, defaults to None
chart_number_date_format_strip_zerosbool, optionalRemove trailing zeros. Flourish type hint: boolean, defaults to None
chart_number_date_format_strip_separatorbool, optionalHide thousands separator below 10,000. Turn off if you want four-digit numbers to include a separator, e.g. 1,234 rather than 1234. Flourish type hint: boolean, defaults to None
chart_number_date_format_transform_labelsbool, optionalMultiply/divide values. Flourish type hint: boolean, defaults to None
chart_number_date_format_transformstr, optionalChoices: multiply, divide, exponentiate. Flourish type hint: string, defaults to None
chart_number_date_format_multiply_divide_constantfloat, optionalFlourish type hint: number, defaults to None
chart_number_date_format_exponentiate_constantfloat, optionalFlourish type hint: number, defaults to None
majority_threshold_line_enabledbool, optionalShow a line for the majority threshold. Draws a line at 50%. Flourish type hint: boolean, defaults to None
majority_threshold_line_contentstr, optionalText. Flourish type hint: string, defaults to None
majority_threshold_line_text_colorstr, optionalColor. Flourish type hint: color, defaults to None
majority_threshold_line_dashoffsetstr, optionalDash width and offset. In pixels, eg. 2,2. Flourish type hint: string, defaults to None
majority_threshold_line_widthfloat, optionalThickness. In pixels. Flourish type hint: number, defaults to None
majority_threshold_line_colorstr, optionalColor. Flourish type hint: color, defaults to None
animation_durationfloat, optionalAnimation duration. How long the seats take to "flip" when changing party, in seconds. Flourish type hint: number, defaults to None
animation_staggerfloat, optionalAnimation spread. How many seconds to spread the seat animations across. Flourish type hint: number, defaults to None
animate_on_loadbool, optionalAnimate on load. Whether to animate the seats when the visualisations first loads. Flourish type hint: boolean, defaults to None
chart_filter_controls_control_typestr, optionalControl type. Choices: dropdown, buttons, slider. The controls show up if youve selected multiple value columns. Flourish type hint: string, defaults to None
chart_filter_controls_control_stylesbool, optionalAdv. Flourish type hint: boolean, defaults to None
chart_filter_controls_control_titlestr, optionalControl title. Flourish type hint: string, defaults to None
chart_filter_controls_button_groupbool, optionalGrouped. Choices: True, False. Flourish type hint: boolean, defaults to None
chart_filter_controls_button_group_width_modestr, optionalButton group width. Choices: auto, full, fixed. Flourish type hint: string, defaults to None
chart_filter_controls_button_group_width_fixedfloat, optionalWidth. Flourish type hint: number, defaults to None
chart_filter_controls_dropdown_width_modestr, optionalDropdown width. Choices: auto, full, fixed. Flourish type hint: string, defaults to None
chart_filter_controls_dropdown_width_fixedfloat, optionalWidth. Flourish type hint: number, defaults to None
chart_filter_controls_slider_widthfloat, optionalSlider width. Width of the slider track in rems Flourish type hint: number, defaults to None
chart_filter_controls_slider_max_label_widthfloat, optionalMax 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 None
chart_filter_controls_slider_step_timefloat, optionalTime 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 None
chart_filter_controls_slider_loopbool, optionalLoop. Flourish type hint: boolean, defaults to None
chart_filter_controls_slider_restart_pausefloat, optionalPause before loop. Measured in seconds and in addition to the regular step time displayed above. Flourish type hint: number, defaults to None
chart_filter_controls_sortbool, optionalSorting. Choices: True, False. Flourish type hint: boolean, defaults to None
chart_controls_style_font_sizefloat, optionalText size. Flourish type hint: number, defaults to None
chart_controls_style_font_weightstr, optionalText weight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_controls_style_heightfloat, optionalHeight. Flourish type hint: number, defaults to None
chart_button_control_style_backgroundstr, optionalBackground. Flourish type hint: color, defaults to None
chart_button_control_style_background_selectedstr, optionalSelected. Flourish type hint: color, defaults to None
chart_button_control_style_background_hoverstr, optionalMouse over. Flourish type hint: color, defaults to None
chart_button_control_style_font_colorstr, optionalText color. Flourish type hint: color, defaults to None
chart_button_control_style_font_color_selectedstr, optionalSelected. Flourish type hint: color, defaults to None
chart_button_control_style_font_color_hoverstr, optionalMouse over. Flourish type hint: color, defaults to None
chart_button_control_style_button_styles_advancedbool, optionalButton border styles. Flourish type hint: boolean, defaults to None
chart_button_control_style_border_widthfloat, optionalBorder width. Flourish type hint: number, defaults to None
chart_button_control_style_border_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_button_control_style_border_transparencyfloat, optionalTransparency. Flourish type hint: number, defaults to None
chart_button_control_style_border_radiusfloat, optionalRadius. Flourish type hint: number, defaults to None
chart_dropdown_control_style_backgroundstr, optionalBackground. Flourish type hint: color, defaults to None
chart_dropdown_control_style_font_colorstr, optionalText color. Flourish type hint: color, defaults to None
chart_dropdown_control_style_border_styles_advancedbool, optionalDropdown border styles. Flourish type hint: boolean, defaults to None
chart_dropdown_control_style_border_stylestr, optionalBorder style. Choices: all, bottom. Show border on all sides, or only at the bottom. Flourish type hint: string, defaults to None
chart_dropdown_control_style_border_widthfloat, optionalBorder width. Flourish type hint: number, defaults to None
chart_dropdown_control_style_border_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_dropdown_control_style_border_transparencyfloat, optionalTransparency. Flourish type hint: number, defaults to None
chart_dropdown_control_style_border_radiusfloat, optionalRadius. Flourish type hint: number, defaults to None
chart_slider_control_style_track_colorstr, optionalTrack. Flourish type hint: color, defaults to None
chart_slider_control_style_font_colorstr, optionalText. Flourish type hint: color, defaults to None
chart_slider_control_style_handle_colorstr, optionalHandle. Flourish type hint: color, defaults to None
chart_slider_control_style_play_colorstr, optionalPlay/pause. Flourish type hint: color, defaults to None
chart_slider_control_style_track_heightfloat, optionalTrack height. Flourish type hint: number, defaults to None
chart_slider_control_style_handle_heightfloat, optionalHeight. Flourish type hint: number, defaults to None
chart_slider_control_style_play_buttonbool, optionalPlay button. Flourish type hint: boolean, defaults to None
chart_filter_controls_container_alignmentstr, optionalAlignment. Choices: start, center, end. Flourish type hint: string, defaults to None
chart_filter_controls_container_controls_spacingfloat, optionalSpacing. The space between controls, like dropdowns and adjacent button sets, in em units. Flourish type hint: number, defaults to None
chart_number_localization_input_decimal_separatorstr, optionalDecimal 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 None
chart_number_localization_output_separatorsstr, optionalNumber format to display. Choices: ,., .,, ., ,, ., ,. How the numbers should appear on chart labels. Flourish type hint: string, defaults to None
chart_layout_body_fontstr, optionalMain 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 None
chart_layout_font_colorstr, optionalText 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 None
chart_layout_background_color_enabledbool, optionalColor. Choices: True, False. Flourish type hint: boolean, defaults to None
chart_layout_background_image_enabledbool, optionalImage. Choices: True, False. Flourish type hint: boolean, defaults to None
chart_layout_background_colorstr, optionalBackground color. Flourish type hint: color, defaults to None
chart_layout_background_image_srcstr, optionalImage URL. Flourish type hint: url, defaults to None
chart_layout_background_image_sizestr, optionalSize. Choices: cover, contain, auto, 100% 100%. Flourish type hint: string, defaults to None
chart_layout_background_image_positionstr, optionalPosition. 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 None
chart_layout_max_width_targetstr, optionalMaximum 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 None
chart_layout_max_widthfloat, optionalMaximum width. Leave blank to stretch to container width. Flourish type hint: number, defaults to None
chart_layout_max_width_alignstr, optionalAlign. Choices: left, center, right. Flourish type hint: string, defaults to None
chart_layout_layout_orderstr, optionalLayout order. Flourish type hint: string, defaults to None
chart_layout_space_between_sectionsstr, optionalSpace between sections. Choices: 0.5, 1, 1.5, custom. Flourish type hint: string, defaults to None
chart_layout_space_between_sections_customfloat, optionalCustom. Flourish type hint: number, defaults to None
chart_layout_margin_topfloat, optionalTop. Flourish type hint: number, defaults to None
chart_layout_margin_rightfloat, optionalRight. Flourish type hint: number, defaults to None
chart_layout_margin_bottomfloat, optionalBottom. Flourish type hint: number, defaults to None
chart_layout_margin_leftfloat, optionalLeft. Flourish type hint: number, defaults to None
chart_layout_border_enabledbool, optionalShow borders around visualisation. Flourish type hint: boolean, defaults to None
chart_layout_border_top_widthfloat, optionalTop. Flourish type hint: number, defaults to None
chart_layout_border_top_stylestr, optionalStyle. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to None
chart_layout_border_top_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_border_right_widthfloat, optionalRight. Flourish type hint: number, defaults to None
chart_layout_border_right_stylestr, optionalStyle. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to None
chart_layout_border_right_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_border_bottom_widthfloat, optionalBottom. Flourish type hint: number, defaults to None
chart_layout_border_bottom_stylestr, optionalStyle. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to None
chart_layout_border_bottom_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_border_left_widthfloat, optionalLeft. Flourish type hint: number, defaults to None
chart_layout_border_left_stylestr, optionalStyle. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to None
chart_layout_border_left_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_read_directionstr, optionalRead 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 None
chart_layout_font_size_mobile_smallfloat, optionalFlourish type hint: number, defaults to None
chart_layout_font_size_mobile_bigfloat, optionalFlourish type hint: number, defaults to None
chart_layout_font_size_tabletfloat, optionalFlourish type hint: number, defaults to None
chart_layout_font_size_desktopfloat, optionalFlourish type hint: number, defaults to None
chart_layout_font_size_big_screenfloat, optionalFlourish type hint: number, defaults to None
chart_layout_breakpoint_mobile_smallfloat, optionalFlourish type hint: number, defaults to None
chart_layout_breakpoint_mobile_bigfloat, optionalFlourish type hint: number, defaults to None
chart_layout_breakpoint_tabletfloat, optionalFlourish type hint: number, defaults to None
chart_layout_breakpoint_desktopfloat, optionalFlourish type hint: number, defaults to None
chart_layout_breakpoint_big_screenfloat, optionalFlourish type hint: number, defaults to None
chart_layout_header_alignstr, optionalAlignment. Choices: left, center, right. Flourish type hint: string, defaults to None
chart_layout_titleUnion[list, str], optionalFlourish type hint: html, defaults to None
chart_layout_title_stylingbool, optionalStyling. Flourish type hint: boolean, defaults to None
chart_layout_title_fontstr, optionalTitle Font. Flourish type hint: font, defaults to None
chart_layout_title_sizestr, optionalSize. Choices: 1.4, 1.6, 2, custom. Flourish type hint: string, defaults to None
chart_layout_title_size_customfloat, optionalCustom. 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 None
chart_layout_title_weightstr, optionalWeight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_layout_title_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_title_line_heightfloat, optionalLine height. Flourish type hint: number, defaults to None
chart_layout_title_space_abovestr, optionalSpace above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to None
chart_layout_title_space_above_customfloat, optionalCustom. Flourish type hint: number, defaults to None
chart_layout_subtitleUnion[list, str], optionalFlourish type hint: html, defaults to None
chart_layout_subtitle_stylingbool, optionalStyling. Flourish type hint: boolean, defaults to None
chart_layout_subtitle_fontstr, optionalSubtitle Font. Flourish type hint: font, defaults to None
chart_layout_subtitle_sizestr, optionalSize. Choices: 1.4, 1.6, 2, custom. Flourish type hint: string, defaults to None
chart_layout_subtitle_size_customfloat, optionalCustom. 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 None
chart_layout_subtitle_weightstr, optionalWeight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_layout_subtitle_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_subtitle_line_heightfloat, optionalLine height. Flourish type hint: number, defaults to None
chart_layout_subtitle_space_abovestr, optionalSpace above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to None
chart_layout_subtitle_space_above_customfloat, optionalCustom. Flourish type hint: number, defaults to None
chart_layout_header_textUnion[list, str], optionalFlourish type hint: html, defaults to None
chart_layout_header_text_stylingbool, optionalStyling. Flourish type hint: boolean, defaults to None
chart_layout_header_text_sizestr, optionalSize. Choices: 1.2, 1.4, 1.6, custom. Flourish type hint: string, defaults to None
chart_layout_header_text_size_customfloat, optionalCustom. 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 None
chart_layout_header_text_weightstr, optionalWeight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_layout_header_text_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_header_text_line_heightfloat, optionalLine height. Flourish type hint: number, defaults to None
chart_layout_header_text_space_abovestr, optionalSpace above. Choices: 0, 0.5, 1, custom. Flourish type hint: string, defaults to None
chart_layout_header_text_space_above_customfloat, optionalCustom. Flourish type hint: number, defaults to None
chart_layout_header_borderstr, optionalChoices: top, bottom, top_and_bottom, none. Flourish type hint: string, defaults to None
chart_layout_header_border_widthfloat, optionalWidth. Flourish type hint: number, defaults to None
chart_layout_header_border_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_header_border_stylestr, optionalStyle. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to None
chart_layout_header_border_spacefloat, optionalSpace. Space between border and header text. Flourish type hint: number, defaults to None
chart_layout_header_logo_enabledbool, optionalChoices: True, False. Flourish type hint: boolean, defaults to None
chart_layout_header_logo_srcstr, optionalImage. Flourish type hint: url, defaults to None
chart_layout_header_logo_altstr, optionalAlt text. Flourish type hint: string, defaults to None
chart_layout_header_logo_link_urlstr, optionalLink. Flourish type hint: string, defaults to None
chart_layout_header_logo_heightfloat, optionalHeight. Flourish type hint: number, defaults to None
chart_layout_header_logo_alignstr, optionalAlign. Choices: inside, outside. Align logo inside either the header or the main visualization container. Flourish type hint: string, defaults to None
chart_layout_header_logo_position_insidestr, optionalPosition. Choices: top, left, right. Flourish type hint: string, defaults to None
chart_layout_header_logo_position_outsidestr, optionalPosition. Choices: left, right. Flourish type hint: string, defaults to None
chart_layout_header_logo_margin_topfloat, optionalTop. Flourish type hint: number, defaults to None
chart_layout_header_logo_margin_rightfloat, optionalRight. Flourish type hint: number, defaults to None
chart_layout_header_logo_margin_bottomfloat, optionalBottom. Flourish type hint: number, defaults to None
chart_layout_header_logo_margin_leftfloat, optionalLeft. Flourish type hint: number, defaults to None
chart_layout_footer_alignstr, optionalAlignment. Choices: left, center, right, justify. Flourish type hint: string, defaults to None
chart_layout_footer_text_sizefloat, optionalSize. Flourish type hint: number, defaults to None
chart_layout_footer_text_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_footer_stylingbool, optionalAdvanced footer styles. Flourish type hint: boolean, defaults to None
chart_layout_footer_fontstr, optionalFont. Flourish type hint: font, defaults to None
chart_layout_footer_text_weightstr, optionalWeight. Choices: bold, normal. Flourish type hint: string, defaults to None
chart_layout_source_namestr, optionalSource name. Flourish type hint: string, defaults to None
chart_layout_source_urlstr, optionalSource url. Flourish type hint: string, defaults to None
chart_layout_multiple_sourcesbool, optionalMultiple sources. Flourish type hint: boolean, defaults to None
chart_layout_source_name_2str, optionalSource name. Flourish type hint: string, defaults to None
chart_layout_source_url_2str, optionalSource url. Flourish type hint: string, defaults to None
chart_layout_source_name_3str, optionalSource name. Flourish type hint: string, defaults to None
chart_layout_source_url_3str, optionalSource url. Flourish type hint: string, defaults to None
chart_layout_source_labelstr, optionalSource label. Flourish type hint: string, defaults to None
chart_layout_footer_noteUnion[list, str], optionalNote. 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 None
chart_layout_footer_note_secondaryUnion[list, str], optionalNote (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 None
chart_layout_advanced_note_stylingbool, optionalAdvanced. Flourish type hint: boolean, defaults to None
chart_layout_footer_timestamp_formatstr, optionalTime/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 None
chart_layout_footer_logo_enabledbool, optionalImage. Choices: True, False. Flourish type hint: boolean, defaults to None
chart_layout_footer_logo_srcstr, optionalImage. Flourish type hint: url, defaults to None
chart_layout_footer_logo_src_lightstr, optionalImage (light version). If provided this version will be used whenever the background color is dark. Flourish type hint: hidden, defaults to None
chart_layout_footer_logo_altstr, optionalAlt text. Flourish type hint: string, defaults to None
chart_layout_footer_logo_link_urlstr, optionalLink. Flourish type hint: string, defaults to None
chart_layout_footer_logo_heightfloat, optionalHeight. Flourish type hint: number, defaults to None
chart_layout_footer_logo_marginfloat, optionalMargin. Flourish type hint: number, defaults to None
chart_layout_footer_logo_orderstr, optionalPosition. Choices: left, right. Flourish type hint: string, defaults to None
chart_layout_footer_align_verticalstr, optionalV. align. Choices: flex-start, center, flex-end. Flourish type hint: string, defaults to None
chart_layout_footer_borderstr, optionalChoices: top, bottom, top_and_bottom, none. Flourish type hint: string, defaults to None
chart_layout_footer_border_widthfloat, optionalWidth. Flourish type hint: number, defaults to None
chart_layout_footer_border_colorstr, optionalColor. Flourish type hint: color, defaults to None
chart_layout_footer_border_stylestr, optionalStyle. Choices: solid, dashed, dotted. Flourish type hint: string, defaults to None
chart_layout_footer_border_spacefloat, optionalSpace. Space between border and footer text. Flourish type hint: number, defaults to None
chart_layout_screenreader_text_primaryUnion[list, str], optionalScreenreader 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 None
chart_layout_screenreader_labelstr, optionalScreenreader 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 None
chart_layout_screenreader_hide_primarybool, optionalScreenreader 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 None