Generate Tidy Charts Inspired by 'IBCS'


[Up] [Top]

Documentation for package ‘tidycharts’ version 0.1.3

Help Pages

add_bars add bars to svg string
add_title Add IBCS compliant legend.
add_waterfall_bars Add waterfall style bars to the column chart
bar_chart Generates basic horizontal barchart. If more than one series is supplied, stacked barchart is generated.
bar_chart_absolute_variance Generate bar chart with absolute variance.
bar_chart_grouped Generates grouped horizontal barchart with scenario triangles.
bar_chart_normalized Generates normalized horizontal barchart. If more than one series is supplied, stacked barchart is generated.
bar_chart_reference Generates basic horizontal barchart with index on a given value. If more than one series is supplied, stacked barchart is generated.
bar_chart_relative_variance Generate bar chart with relative variance (in percents).
bar_chart_waterfall Generate horizontal waterfall chart.
column_chart Generate basic column chart.
column_chart_absolute_variance Generate column chart with absolute variance.
column_chart_grouped Generate grouped column chart for visualizing up to 3 data series.
column_chart_normalized Generate column chart with normalization.
column_chart_reference Generate column chart with reference line.
column_chart_relative_variance Generate column chart with relative variance (in percents).
column_chart_waterfall Generate column waterfall chart for visualizing contribution.
column_chart_waterfall_variance Generate column waterfall chart with absolute variance.
draw_triangle Draw triangle and append it to svg string
facet_chart Facet chart.
get_color_stacked Function to get bar/area color for stacked plots.
get_vector Helper function to get the vector or column form df. If vector is passed it returns it. If name of column is passed, it returns the column as a vector.
join_charts Join SVG charts.
knit_print.tidychart Printing in knitr reports
line_chart Generates a line plot with markers on chosen points. Allows only one point per time interval. To create a plot with many points within one time interval try 'line_chart_dense'.
line_chart_dense Line chart with more points then categories on x-axis.
line_chart_dense_custom More customizable version of 'line_chart_dense'. User can choose the points to highlight.
line_chart_markers Generates line plot with markers on every value.
line_chart_markers_reference Generates line plot with markers on every value with index on a given value.
line_chart_normalized Generates normalized areas (stacked lines) plot. If more than one series is supplied, stacked areas plot is generated.
line_chart_stacked Generates areas (stacked lines) plot. If more than one series is supplied, stacked areas plot is generated.
parse_time_series Function to transfer data frame with time series values in wide format to format accepted by 'line_chart_dense_custom'.
print.tidychart Explicitly draw tidychart
reset_margins Reset margin values to package defaults.
restore_defaults Restore default color and style settings.
scatter_plot Generates a scatter plot. If additional argument added, a bubble plot is generated.
set_colors Change default colors of the package.
set_margins Set margins size.
set_scatter_colors Change default colors of the scatter plots from the package.
set_styles Change default styles for plots.
show Function to render SVG as bitmap, used only in tests
str_width Calculate string width in pixels
SVGrenderer Function to render SVG image as htmlwidget
SVGsave Save svg image.