PieChart
Shows how a total breaks down into parts, such as portfolio allocation or expense mix. Connect a table and Vireo picks the label and value columns; the dropdowns on the node override either choice. Best with a handful of slices; past six or so, a BarChart reads better.
Inputs
| Input | Accepts | Required |
|---|---|---|
Labels | Any | Optional |
Values | Series (a list of numbers) | Yes |
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 | — | |
NumberFormat | G | |
ShowPercentages | True | True labels each slice with its share of the total. |
DonutMode | False | True draws a donut instead of a solid pie. |
ShowLegend | True | |
LegendPosition | Bottom |
Example
GroupBy sums Holdings.MarketValue by AssetClass, and the result feeds the
PieChart: equities 55%, fixed income 30%, cash 10%, alternatives 5%, each slice
labeled with its share of the portfolio.