Skip to contents

Separate functions for static and interactive, column and bar

Usage

static_column_chart(t, x, y, fill, xlabel = NULL, ylabel = NULL, ...)

static_bar_chart(t, x, y, fill, xlabel = NULL, ylabel = NULL, ...)

interactive_column_chart(t, x, y, fill, xlabel = NULL, ylabel = NULL, ...)

interactive_bar_chart(t, x, y, fill, xlabel = NULL, ylabel = NULL, ...)

Arguments

t

A tibble in long form for plotting

x

The name of the variable you want plotted on the X-Axis

y

The name of the variable you want plotted on the Y-Axis

fill

The name of the variable you want the fill color of the bars to be based on

xlabel

category-axis title to be used for chart, if desired - defaults to "NULL"

ylabel

numeric-axis title to be used for chart, if desired - defaults to "NULL"

...

additional arguments passed to generic_column_bar

Value

static or interactive column or bar chart

Author

Craig Helmann, Michael Jensen