COMARK0415 · warning
comark/charts/too-few-series
Give a dumbbell two or more columns of numbers
A dumbbell joins two or more numbers in each row, such as a count before and after. With one column of numbers there's nothing to join, so the chart draws bars instead.
Incorrect
::chart{type="dumbbell" title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:: lint-comark example.mdexample.md:1:1 comark/charts/too-few-seriesAdd a column, or use
type="bar".✖ 1 problemCorrect
::chart{type="dumbbell" title="Ducks per pond, spring and autumn"}
| pond | spring | autumn |
| --- | --: | --: |
| north | 12 | 15 |
| south | 7 | 6 |
| east | 9 | 11 |
:: lint-comark example.md✔ No problems