Description Usage Arguments Value Examples
View source: R/column_chart_functions.R
Generate column chart with relative variance (in percents).
1 2 3 4 5 6 7 8 9 10 11 |
x |
vector containing labels for x axis or name of column in data with values of x axis labels |
baseline |
vector containing base values or name of column in data with base values |
real |
vector containing values that will be compared to baseline or name of column in data with that values |
colors |
1 if green color represents positive values having good business impact and red negative values having bad impact or 2 if otherwise |
data |
data frame with columns containing data for x, baseline or real series |
x_title |
the title of the plot |
x_style |
style of the x axis to indicate baseline scenario. The default is 'previous'. |
styles |
optional vector with styles of the pin heads |
interval |
intervals on x axis. The width of the bars depends on this parameter |
object of class tidychart with a character vector containing SVG elements
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.