Description Usage Arguments Value Note
View source: R/lineChartData.R
Make line chart data.
1 | lineChartData(x, y, data = NULL, key, color, area = FALSE)
|
x |
a right-sided formula giving the variable on the x-axis, numeric or date type |
y |
a right-sided formula giving the variable on the x-axis, numeric type |
data |
dataframe containing the data for the chart; if not |
key |
string, the title of the line chart |
color |
string, the color of the line chart |
area |
Boolean, whether to turn the line chart into a filled area chart |
A list, for usage in lineChart.
The color can be given by the name of a R color, the name of a CSS
color, e.g. "lime" or "fuchsia", an HEX code like
"#ff009a", a RGB code like "rgb(255,100,39)", or a HSL code
like "hsl(360,11,255)".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.