BarChart
Draws a bar chart comparing values across categories, such as revenue by region or opex by department. Connect a table straight in: Vireo picks sensible columns for the categories and values, and you can override the choice with the column dropdowns on the node. An optional SeriesColumn input splits the bars into one series per distinct value, such as one bar per product within each region.
Inputs
| Input | Accepts | Required |
|---|---|---|
Labels | Any | Optional |
Values | Series (a list of numbers) | Yes |
Values2 | Series (a list of numbers) | Optional |
Values3 | Series (a list of numbers) | Optional |
SeriesColumn | Text | Optional |
Title | Text | Optional |
Outputs
| Output | Produces |
|---|---|
Chart | Chart |
Settings
Typed in on the node or set by the assistant, not wired.
| Setting | Default | Notes |
|---|---|---|
Title | — | |
XAxisLabel | — | |
YAxisLabel | — | |
YAxisMin | Auto | |
YAxisMax | Auto | |
NumberFormat | G | Number format for the axis and labels, e.g. $#,##0 for dollars or 0.0% for percentages. |
ShowGridLines | True | |
ShowDataLabels | False | |
ShowLegend | True | |
LegendPosition | Bottom | |
Stacked | False | True stacks multiple series into one bar per category, good for showing composition, like product mix within each region. |
Horizontal | False | True draws horizontal bars instead of columns, easier to read when category names are long. |
Example
GroupBy sums Transactions.Amount by Region, and its result feeds the BarChart:
four bars, one per region, formatted with $#,##0. To see the product mix inside
each region, group by Region and Product instead, pick Product as the
SeriesColumn, and set Stacked to True.