# LABELS_HIDDEN

> LABELS_HIDDEN is a lint warning: an XY or quadrant chart left out text the source asked for because it did not fit: category names on the x-axis, bar value labels, or quadrant point labels.

- **Tier:** lint
- **Severity:** warning
- **Origins:** source, config

## What triggers it

Many or long category names under a vertical chart, where the axis thins its tick labels to avoid overlap or drops a category axis whose widest name does not fit; a bar whose value label fits neither inside the bar nor in the plot beyond its end; or a quadrant point whose label collides with labels placed before it. `target` says which, and `labels` lists exactly what is missing.

## How to fix it

Shorten the category names, flip the chart with `set_orientation {horizontal: true}` so categories run down the side, or widen the value range so labels have room beyond the bars. For a quadrant chart, spread the points, shorten the names, or enlarge the chart.

## Example

```mermaid
xychart-beta
  x-axis ["North region", "South region", "East region", "West region", "Central region", "Coastal region", "Mountain region", "Desert region", "Island region", "Border region"]
  bar [12, 18, 9, 22, 15, 11, 7, 5, 3, 8]
```

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.

Full page: https://agentic-mermaid.dev/warnings/LABELS_HIDDEN/
