minuit

SparklineComponent

A tiny line or row of bars that sits inline.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

Java
SparklineComponent tps = add(new SparklineComponent(at(new Box("tps", 10, 10, 60, 12)))
        .capacity(120).window(120).fixed(0, 20).unit(" TPS"));
tps.add(currentTps); // once a tick; does not allocate

Inline

SparklineComponent, inline