bar_chart {SveltePlots} | R Documentation |
Internal: Prepare Bar Chart Data
Description
Handles data preparation for bar charts with modes such as stacked or grouped.
Usage
bar_chart(
data,
create_configurations,
size,
alpha,
tooltip,
colors,
mode,
include_legend,
facet_var
)
Arguments
data |
Data frame to be processed. |
create_configurations |
Function to create default configurations for charts. |
size |
alpha, tooltip Visual properties for the chart. |
colors |
Custom colors for the chart, if specified. |
mode |
Bar chart mode ("stacked", "grouped", "percent"). |
include_legend |
Logical indicating whether to include a legend. |
Value
Configuration list with modified data for bar chart.
[Package SveltePlots version 0.1.0 Index]