plot_items | R Documentation |
Generates an item chart from coordinates.
plot_items( coord, size = 1, file_name = "none", file_width = 12, file_height = 10, zoom_x = NULL, zoom_y = NULL, dpi = 500, color = "black", color2 = "black", fade_axes = 50, fade_grid_major = 15, fade_grid_minor = 65, font = "sans", title = NULL, size_title = 1, size_tick_label = 1, size_test_label = 1, size_facet_labels = 1, width_axes = 1, size_arrow_heads = 1, width_items = 1, width_grid = 1 )
coord |
list generated by |
size |
integer; changes the size of most chart objects simultaneously. |
file_name |
character; name of the file to save. Supported formats are: "pdf" (highest quality and smallest file size), "png", "jpeg"; defaults to "none". |
file_width |
integer; file width in inches; defaults to 12. |
file_height |
integer; file height in inches; defaults to 10. |
zoom_x |
integer; vector with two values, the edges of the zoomed section on the x-axis; defaults to NULL. |
zoom_y |
integer; vector with two values, the edges of the zoomed section on the y-axis; defaults to NULL. |
dpi |
integer; resolution in dots per inch for "png" and "jpeg" files; defaults to 500. |
color |
first accent color; defaults to "black". |
color2 |
second accent color; defaults to "black". |
fade_axes |
integer; brightness of the gray tone of the axes between 0 = "black" and 100 = "white" in steps of 1; defaults to 50. |
fade_grid_major |
integer; brightness of the gray tone of the major grid lines between 0 = "black" and 100 = "white" in steps of 1; defaults to 15. |
fade_grid_minor |
integer; brightness of the gray tone of the minor grid lines between 0 = "black" and 100 = "white" in steps of 1; defaults to 65. |
font |
character; text font, use extrafonts to access additional fonts; defaults to "sans", which is "Helvetica". |
title |
character; overall chart title; defaults to NULL. |
size_title |
integer; title font size relative to default. |
size_tick_label |
integer; axis tick label font size relative to default. |
size_test_label |
integer; test font size relative to default. |
size_facet_labels |
integer; facet font size relative to default. |
width_axes |
integer; radial axis width relative to default. |
size_arrow_heads |
integer; arrow head size relative to default. |
width_items |
integer; item bar width relative to default. |
width_grid |
integer; grid line width relative to default. |
Use item_chart
to create item charts.
Object of the class "ggplot".
coord_items
item_chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.