View source: R/chart_data_styles.R
chart_data_stroke | R Documentation |
Specify mappings from levels in the data to displayed marker stroke colours.
chart_data_stroke(x, values)
x |
an |
values |
|
Other Series customization functions:
chart_data_fill()
,
chart_data_line_style()
,
chart_data_line_width()
,
chart_data_size()
,
chart_data_smooth()
,
chart_data_symbol()
,
chart_labels_text()
my_scatter <- ms_scatterchart(data = iris, x = "Sepal.Length",
y = "Sepal.Width", group = "Species")
my_scatter <- chart_data_fill(my_scatter,
values = c(virginica = "#6FA2FF", versicolor = "#FF6161", setosa = "#81FF5B") )
my_scatter <- chart_data_stroke(my_scatter,
values = c(virginica = "black", versicolor = "black", setosa = "black") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.