axi-designv1.50.0

Data

Bars

A column chart with a hard baseline. Each column can hold a single fill or several stacked parts, both drawn at full ink strength.

.axi-bars .axi-bars__col .axi-bars__part

The baseline is drawn at the control weight because it is structure, not data. Stacked parts are laid out bottom-to-top in source order, so the markup reads the way the chart does. The series being read is the accent; the ones it is read against are the neutral ramp, per rule 10.

Stacked columns with an axis and legend

Squad downs in the accent, enemy downs in the danger ink
20:0421:47
Enemy downed Squad downed
<div class="axi-bars" style="--axi-plot-h: 150px; --axi-bars-gap: 5px;">
  <div class="axi-bars__col" style="--axi-bar-v: 44%"><span class="axi-bars__part" style="--axi-bar-part: 62%; --axi-series: var(--axi-ok)"></span><span class="axi-bars__part" style="--axi-bar-part: 38%; --axi-series: var(--axi-danger)"></span></div>
  <div class="axi-bars__col" style="--axi-bar-v: 72%"><span class="axi-bars__part" style="--axi-bar-part: 70%; --axi-series: var(--axi-ok)"></span><span class="axi-bars__part" style="--axi-bar-part: 30%; --axi-series: var(--axi-danger)"></span></div>
  <div class="axi-bars__col" style="--axi-bar-v: 31%"><span class="axi-bars__part" style="--axi-bar-part: 30%; --axi-series: var(--axi-ok)"></span><span class="axi-bars__part" style="--axi-bar-part: 70%; --axi-series: var(--axi-danger)"></span></div>
  <div class="axi-bars__col" style="--axi-bar-v: 88%"><span class="axi-bars__part" style="--axi-bar-part: 76%; --axi-series: var(--axi-ok)"></span><span class="axi-bars__part" style="--axi-bar-part: 24%; --axi-series: var(--axi-danger)"></span></div>
</div>
<div class="axi-axis"><span>20:04</span><span>21:47</span></div>
<div class="axi-legend" style="margin-top: 12px;">
  <span class="axi-legend__key"><i class="axi-diamond axi-diamond--ok"></i> Enemy downed</span>
  <span class="axi-legend__key"><i class="axi-diamond axi-diamond--danger"></i> Squad downed</span>
</div>

Knobs

PropertySetsFallback
--axi-seriesthe ink a meter fill, bar, plot line or .axi-diamond--series is drawn invar(--axi-accent)
--axi-bar-vheight of one .axi-bars__col0%
--axi-bar-partheight of one .axi-bars__part within its column0%
--axi-bars-gapgap between columns in .axi-bars6px
--axi-plot-hheight of a .axi-plot or .axi-bars180px

Rules this answers