Agentic Mermaid

What triggers it. A y-axis min --> max range that does not reach every value of a series. The warning names the series, the values outside the range, and the range itself; a bar chart drawn with bar [5, 20] on 0 --> 10 shows the two bars at a 1:2 length ratio instead of 1:4.

How to fix it. Widen the range with set_y_axis so it reaches every value, or remove the range so the axis fits the data.

Minimal reproducer

This source triggers VALUES_OUTSIDE_RANGE — checked at build time against the same engine the editor runs.

xychart-beta
  x-axis [a, b]
  y-axis 0 --> 10
  bar [5, 20]

Open this reproducer in the editor

Run am verify diagram.mmd --json, inspect this code, and apply the smallest source or typed mutation that clears it. If it persists after two mechanical attempts, return the warning and ask for human review.

In the cloned repo, am is bun run bin/am.ts.

Machine-readable: this page as Markdown.

Back to all warning codes, or open a blank editor to try a fix.