Esc

COMARK0420 · warning

comark/charts/unknown-series

Name a column the chart draws in series

series marks one column's value in the row, and names a column the chart draws. With any other name the mark covers the whole row. Leave series out to mark the row on purpose. On a gantt, series names a value of the column that groups the bars instead.

Incorrect

::chart{title="Birds per pond"}
| pond | ducks | geese |
| --- | --: | --: |
| north | 12 | 3 |
| south | 7 | 5 |
| east | 9 | 2 |
:::annotation{at="south" series="goose"}
The geese chased the ducks off.
:::
::
md
lint-comark example.mdexample.md:1:1 comark/charts/unknown-series::chart 1, annotation 1: series="goose" isn't a column the chart draws.Use ducks or geese, or leave it out to mark the whole row.✖ 1 problem

Correct

::chart{title="Birds per pond"}
| pond | ducks | geese |
| --- | --: | --: |
| north | 12 | 3 |
| south | 7 | 5 |
| east | 9 | 2 |
:::annotation{at="south" series="geese"}
The geese chased the ducks off.
:::
::
md
lint-comark example.md✔ No problems