View source: R/createAreaChart.R
createAreaChart | R Documentation |
This function creates an area chart in highcharter
createAreaChart(title, qbSource, dat, nameLabel, valueLabel, categoryLabel)
title |
This is the title of the chart |
qbSource |
This is the source html link |
dat |
This is the data source to be graphed |
nameLabel |
This is the name of the column that contains the "names" of the data series |
valueLabel |
This is the name of the column that contains the "data" of the data series |
categoryLabel |
This is the name of the column that contains the "categories" or x axis of the data series |
createAreaChart("Iris Data Set Area Chart Example","https://en.wikipedia.org/wiki/Iris_flower_data_set",iris,"Species","Sepal.Length","Petal.Length")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.