chart_data_line_style {mschart} | R Documentation |
Modify line style
Description
Specify mappings from levels in the data to displayed line style.
Usage
chart_data_line_style(x, values)
Arguments
x |
an |
values |
|
See Also
Other Series customization functions:
chart_data_fill()
,
chart_data_line_width()
,
chart_data_size()
,
chart_data_smooth()
,
chart_data_stroke()
,
chart_data_symbol()
,
chart_labels_text()
Examples
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") )
my_scatter <- chart_data_symbol(my_scatter,
values = c(virginica = "circle", versicolor = "diamond", setosa = "circle") )
my_scatter <- chart_data_line_style(my_scatter,
values = c(virginica = "solid", versicolor = "dotted", setosa = "dashed") )
[Package mschart version 0.4.0 Index]