Bar Chart Report (User Guide)
What it is
- A Bar Chart visualizes aggregated numeric values across categories.
Required configuration fields
- Name
- Display Name
- Data Source
- Report Type: "BarChart"
- Valid For
- Definition
- Precision
- Grand Totals
- Show Title
- Chart Title (only if Show Title = true)
- Orientation: "Horizontal" or "Vertical"
- Export To CSV
- Export To Excel
- Data Labels: Show value labels on bars (true/false)
- Legend: Position or Off
- Show State Filter
- Show Parent Filter
- Show Attribute Filter
Optional/advanced
- Chart Colors: per-column/chart color settings.
- Bar Mode: "group" or "stack" when multiple series are present.
- Tooltip formatting and hover templates.
Example JSON-ish snippet
- reportDisplayType: "BarChart"
- orientation: "Horizontal"
- dataLabels: true
- legend: "Right"
Notes & tips
- For Tabular rendering of bar charts (renderAs="Tabular"), the component uses columns/values differently; ensure aggregateType is set on value fields.
- Use chartColors or fields.chartColor to control series colors.
Success criteria
- Report renders a Plotly bar chart when reportConfig and data are present and reportDisplayType is "BarChart".