gg_donut_y2
has a new argument center_label with a default of 'NULL'. When set to 'NULL', each individual level of the donut chart will have a label over its respective section. If set to a specific value of the color_var, that percentage will appear in the center without a label, and no other labels will appear on the donut chart.gg_donut_y2
- Creates a donut chart ggplot objectfooter_y2
has slightly new behavior for the label_length, which now truncates after 100 characters instead of 15, and it works on all question types, not just matrix-style questions. Additionally, the "n" that is counted for each question now excludes "NA" answers from open-ended questions and does not count them as responses that have not answered the question.ms_footer_y2
now that we've had its newer version footer_y2
for several versions. *add_colors_facebook_y2
- Add the standard Facebook color palette to your environment.
ms_line_y2
- New argument smooth: DEFAULT = 0. If 0, the lines will be straight between points. If 1, the lines will be smoothed.add_fonts_y2
- New argument show_fonts_added: DEFAULT = FALSE. If TRUE, shows the available fonts loaded in by add_fonts_y2().add1s_y2
- corrected footer to allow it to be editable without zooming in on the powerpoint.add_fonts_y2
- Use add_fonts_y2() to add the most commonly used fonts at Y2 to your Rsession. This will make them easily available for charting in ggplot and other instances where fonts may be needed. Use list_fonts_y2() to see which fonts will be loaded to your session.list_fonts_y2
- Use list_fonts_y2() to see the available fonts loaded in by add_fonts_y2().set_color_settings
- added argument "single" to allow function use for single bar charts. While not needed, this add matches syntax of set_text_settings()
.footer_y2
- Fixed bug that treated single selects with a numeric ending as part of a matrix even if it wasn't.ms_scatter_y2
- automatically sets axis titles to variable names unless otherwise specifiedfooter_y2
- Fixed various notes that may cause edge-case errorsgg_dotplot_y2
- Fixed bug where legend and axis titles not updating properlyfooter_y2
- Total function overhaul including breaking changes. Several added arguments and functionalities.footer_y2
- Wrapper around ms_footer. Pipe in the dataset (responses), specify the variable, and set the question type. Save out the nicely formatted string to an object to pass to the footer of an ms chartms_print
- Easily preview ms_chart objects. By default prints "chart" in environmentset_color_settings_y2
- added option to select different column for colors. Increases ease of use for grouped type chartsset_text_settings_y2
New arguments added. "text_column" allows you to select which column in the dataframe you wish to use to make your text settings. When you "single" to TRUE it will make text settings usable for a single bar chartset_text_settings_y2
No longer do you need suffer the needless of pains of specifying every label text setting only to have your heart despair at another error (hint: it's probably a typo). This function not only reduces your typed amount, it reduces your human error. Save a frequencies object using freqs(). The text settings will be automatically matched to the "label" column of the frequencies.set_color_settings_y2
Serving alongside it brother in arms, set_color_settings will free you from the chains of endless color naming vectors of death. Save a frequencies object using freqs(). Provide colors to the set_color_settings function. The colors will be automatically matched to the "label" column of the frequencies.ms_footer_y2
Tired of copying and pasting question wording and n-size to your slides? This is the function for you! Pipe in the dataset (responses), specify the variable, and set the question type. Save out the nicely formatted string to an object to pass to the footer of an ms chart.theme_y2
Add the classic y2 theme to any ggplot2 chart: All y2artisan charts already have the y2 theme built in, but if you're creating a more custom ggplot2 chart and want to add the classic y2 theme, use theme_y2()add1s_y2
: 1) title_color, commentary_color, and footer_color - can now specify font colors, 2) font_family - can now specify font for title, commentary, and footer on slideadd1c_y2
: same updates as add1s_y2add_colors_microsoft_y2
: Add the standard Microsoft color palette to your environment.add*_y2
functions updated to match new Qualtrics template, as of March 2021 (new slide name defaults and positioning for new template)ms*_y2
functions updated to "BentonSans Regular" from Arial, to match new Qualtrics templateadd1t_y2
and add2t_y2
functions deleted. Instead, use add1c_y2
and add2c_y2
because they now also add tables to PowerPoint, not just chartsadd_colors_internal_y2
: Add the Y2 color palettes to your environment.add_colors_qualtrics_y2
to reflect new company template. Old colors still available. Also added argument "show_colors" to allow seeing colors loaded or not. add_color_palette_y2
: Position argument added allowing for choosing where in the 5 point scale the chosen color is located. add_color_palette_y2
: Give a list of color labels (e.g. blue) and the associated hex codes (e.g. #41536F). For each color given, add_color_palette_y2 will add a 5 color, monochromatic scale.add_colors_y2
name changed to add_colors_qualtrics_y2
add_colors_y2
When working with old code, you can still use this function, just use the case = 'lower'
argument to revert color vectors to lowercase
ggchart_save_y2
gg_histo_y2
gg_pie_y2
gg_maxdiff_y2
add_colors_y2
num_fmt
font_family
- new argumentlegend_row
- new argumentaxis_position
- new argumentchart_width
and chart_height
chart_path
to ggchart_save_y2wordcloud_y2
no longer breakingaxis_display
bugs fixedNew naming conventions:
1. All functions end with the suffix _y2
2. mschart based functions start with the prefix ms_
First release with the follow functions:
ms_chart functions: 1. add1c 2. add1s 3. add1t 4. add2c 5. add2t 6. add3c 7. add4c 8. add5c 9. add6c 10. add_section_header 11. bar_grouped 12. bar_single 13. bar_stacked 14. line_chart 15. max_dif
ggplot functions: 1. gg_grouped 2. gg_single 3. gg_stacked 4. ggchart_save 5. openend 6. wordcloud 7. wordcloud2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.