COMARK0417 · warning
comark/charts/too-many-series
Draw one column in a pie or a waterfall
A pie divides one total and a waterfall walks one running sum, so each draws one column of numbers. With more, the chart draws only the first. Name the one to draw with y, or use bars to compare them.
Incorrect
::chart{type="pie" title="Ducks per pond"}
| pond | ducks | geese |
| --- | --: | --: |
| north | 12 | 3 |
| south | 7 | 5 |
| east | 9 | 2 |
:: lint-comark example.mdexample.md:1:1 comark/charts/too-many-seriesName one with
y, or use type="bar".✖ 1 problemCorrect
::chart{type="pie" y="ducks" title="Ducks per pond"}
| pond | ducks | geese |
| --- | --: | --: |
| north | 12 | 3 |
| south | 7 | 5 |
| east | 9 | 2 |
:: lint-comark example.md✔ No problems