COMARK0419 · warning
comark/charts/invalid-at
Point every chart annotation at a row with at
An annotation marks the row whose x value its at names, copied from the table as it's written there. Without at, or with a value the table doesn't have, the mark isn't drawn. On a gantt where a task repeats across groups, series names the group of the row it marks, and without it the mark goes on the first.
Incorrect
::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:::annotation{at="North"}
A family of eight moved in on Tuesday.
:::
:: lint-comark example.mdexample.md:1:1 comark/charts/invalid-atCopy it from the table, such as
north, south, east.✖ 1 problemCorrect
::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:::annotation{at="north"}
A family of eight moved in on Tuesday.
:::
:: lint-comark example.md✔ No problems