COMARK0411 · warning
comark/charts/non-numeric-value
Write chart values as plain numbers
Every column the chart draws holds plain numbers, with commas between thousands if you like, such as 1,200. A cell with a unit or a word in it isn't read, so that bar or point is left out. Put the unit in the header instead.
Incorrect
::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 ducks |
| south | 7 |
| east | 9 |
:: lint-comark example.mdexample.md:1:1 comark/charts/non-numeric-valueWrite the number alone, such as
1200 or 1,200, and put the unit in the header, such as ducks (ms).✖ 1 problemCorrect
::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:: lint-comark example.md✔ No problems