COMARK0432 · warning
comark/charts/invalid-line
Cross a chart with a line at a number on its value axis
An annotation with mark="line" crosses the plot at value, a number on the chart's value axis, written as the table writes its numbers. It crosses the whole plot, so it takes no at or series, and value does nothing without mark="line". Pies and gantts have no value axis to cross.
Incorrect
::chart{title="p95 per endpoint (ms)"}
| endpoint | p95 |
| --- | --: |
| /search | 410 |
| /login | 61 |
:::annotation{at="/search" mark="line" value="200 ms"}
The budget.
:::
:: lint-comark example.mdexample.md:1:1 comark/charts/invalid-lineWrite the number alone, such as
200 or 1,200, in the unit of the chart's numbers.example.md:1:1 comark/charts/invalid-lineRemove it.✖ 2 problemsCorrect
::chart{title="p95 per endpoint (ms)"}
| endpoint | p95 |
| --- | --: |
| /search | 410 |
| /login | 61 |
:::annotation{mark="line" value="200"}
The budget.
:::
:: lint-comark example.md✔ No problems