You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the discussion in insightsengineering/teal.reporter#258, theplot_with_settingsand table_with_settings modules have been highlighted for their ability to allow users to download plots and tables in various formats. However, there is an expressed need for a feature that lets users customize these download formats. This enhancement request stems from an attempt by @Melkiades to save a PDF without pagination, which resulted in the table being truncated in the PDF file.
The proposed options for customization that could be exposed to users are as follows:
For table_with_settings:
PDF (export_as_pdf) options:
Orientation (Portrait/Landscape)
Page Width (pg_width)
Page Height (pg_height)
Margins
Minimum Siblings (min_siblings)
Font Family (font_family)
Font Size (font_size)
Characters Per Pica (cpp)
Maximum Width (max_width)
Column Widths (colwidths)
Text (export_as_txt) options:
Orientation (Landscape)
Page Width (pg_width)
Page Height (pg_height) is determined by page_dim(page_type) based on orientation.
Font Family (font_family)
Font Size (font_size)
Line Height (lineheight)
Characters Per Pica (cpp)
Maximum Width (max_width)
Column Widths (colwidths)
Page Break (page_break)
For plot_with_settings:
grDevices options for PDF, PNG, and SVG formats.
These enhancements aim to improve user experience by providing more flexibility in how plots and tables are downloaded and customized.
Suggested UI changes.
Code of Conduct
I agree to follow this project's Code of Conduct.
Contribution Guidelines
I agree to follow this project's Contribution Guidelines.
Security Policy
I agree to follow this project's Security Policy.
The text was updated successfully, but these errors were encountered:
Feature description
Following the discussion in insightsengineering/teal.reporter#258, the
plot_with_settings
andtable_with_settings
modules have been highlighted for their ability to allow users to download plots and tables in various formats. However, there is an expressed need for a feature that lets users customize these download formats. This enhancement request stems from an attempt by @Melkiades to save a PDF without pagination, which resulted in the table being truncated in the PDF file.The proposed options for customization that could be exposed to users are as follows:
For table_with_settings:
PDF (export_as_pdf) options:
Text (export_as_txt) options:
For plot_with_settings:
grDevices options for PDF, PNG, and SVG formats.
These enhancements aim to improve user experience by providing more flexibility in how plots and tables are downloaded and customized.
Suggested UI changes.
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: