axi-designv1.50.0

Data

Plot

A framed line chart, its horizontal gridlines drawn as hard stops in a repeating gradient. The geometry is the consumer's; the ink and weight are the language's.

.axi-plot .axi-plot__svg .axi-plot__area .axi-plot__line

The repeating gradient behind the gridlines is a shape, not a transition, so it does not break rule 1. There is no y-axis component - a chart's scale belongs in the label above it, in words.

A line plot with two series

The faint line is comparison; the accent line is what is being read
Fight start+4:12
Squad Enemy
<div class="axi-plot" style="--axi-plot-h: 170px; --axi-plot-rows: 4;">
  <svg class="axi-plot__svg" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true">
    <polyline class="axi-plot__line" style="--axi-series: var(--axi-text-faint)" points="0,96 8,90 16,88 24,70 32,76 40,62 48,74 56,58 64,72 72,66 80,80 88,74 96,86 100,90"></polyline>
    <polyline class="axi-plot__line" points="0,92 8,78 16,84 24,46 32,52 40,28 48,36 56,20 64,44 72,30 80,58 88,40 96,66 100,70"></polyline>
  </svg>
</div>
<div class="axi-axis"><span>Fight start</span><span>+4:12</span></div>
<div class="axi-legend" style="margin-top: 12px;">
  <span class="axi-legend__key"><i class="axi-diamond axi-diamond--series"></i> Squad</span>
  <span class="axi-legend__key"><i class="axi-diamond axi-diamond--series" style="--axi-series: var(--axi-text-faint)"></i> Enemy</span>
</div>

Knobs

PropertySetsFallback
--axi-seriesthe ink a meter fill, bar, plot line or .axi-diamond--series is drawn invar(--axi-accent)
--axi-plot-hheight of a .axi-plot or .axi-bars180px
--axi-plot-rowshow many horizontal rules a .axi-plot draws4

Rules this answers