Skip to main content

Strip Chart

What is a strip chart?​

A strip chart (also called a scrolling chart, rolling chart or chart recorder display) is a line chart of live readings over a moving window of recent time. New readings appear at one edge as they arrive and the oldest drop off, so the chart always shows the last few seconds, minutes or hours of one or more signals.

A live strip chart on a dark background with five stacked lanes, ECG, blood pressure, pleth, respiration and CO2, each a coloured line drawn against time over the last ten seconds

A five-channel strip chart of simulated patient-monitor signals, 1,000 readings a second per channel. Try the interactive version, and switch it between scrolling and sweeping.

In statistics, "strip chart" has a second meaning: a strip plot, a dot plot of individual values along one axis. That is covered further down.

Key takeaways
  • A strip chart shows live data over a fixed time window: new readings come in at one edge and old ones leave at the other.
  • The name comes from paper chart recorders, which drew readings with a pen on a moving strip of paper.
  • It can scroll (the trace moves, newest at the right) or sweep (the trace stays still and is redrawn from left to right).
  • Read it from the "now" edge backwards, giving each lane its own scale, and line up events across lanes.
  • A strip plot, the statistical chart that shares the name, shows the distribution of values as dots, not change over time.

Where the name comes from: the strip chart recorder​

Before screens, live measurements were recorded on paper. A strip chart recorder has one or more pens that move across a roll of paper while a motor pulls the paper past at a steady speed. Distance along the paper is time, and each pen's position across it is a value. What comes out is a long strip with the history of every signal on it, which is where the name comes from.

  • Early examples: Charles Babbage fitted a recorder with about a dozen pens to a railway test carriage he built in 1838 or 1839. In the 1840s the physiologist Carl Ludwig's kymograph recorded blood pressure on a turning drum of smoked paper.
  • Industry: recorders became standard for temperatures, pressures and flows in plants. Some had a faster second speed, to follow a process closely while it was being adjusted or had gone wrong.
  • Medicine: an ECG is still printed at a standard 25 mm per second, so each 1 mm square is 40 milliseconds. At that speed, a 10-second window is 250 mm of paper.

Software strip charts copy the same idea onto a screen. The chart speed of a paper recorder becomes the time window (how many seconds fit across the chart), and the pen becomes the newest point of the trace. Data loggers and on-screen charts have now replaced most paper recorders.

How to read a strip chart​

A strip chart with three stacked lanes, temperature, pressure and flow, over the last 60 seconds. The now edge is on the right. A dashed line marks a high alarm limit on the temperature lane. A vertical dashed line marks the moment pressure jumps, flow drops and temperature starts to climb towards the limit

  1. Find "now". In a scrolling chart the newest reading is at the right-hand edge. In a sweeping chart it's the moving write point, usually marked by a dot or a gap. Read the chart backwards in time from there.
  2. Check the time window. Look at the time axis to see how much history is on screen: 10 seconds and 10 minutes look similar, but mean very different things. A spike that's one pixel wide may last a millisecond or a minute.
  3. Read each lane on its own scale. Multi-channel strip charts give each signal its own lane and y-axis, so the lines don't cross. Compare the shape of the lines, not their heights against each other.
  4. Look for changes, not just values: a step (a sudden new level), a drift (a slow change), a spike, a change in rhythm, or a flat line, which can mean a disconnected sensor rather than a steady value.
  5. Line events up across lanes. A vertical line through every lane is a single moment. In the diagram, pressure jumps, flow drops and temperature starts to climb at the same time, which hints that they are linked.
  6. Check limits and markers. Horizontal lines often show alarm limits or a target. Shaded areas or labels may mark events such as an alarm, an operator action or a change of setting.

How to describe a strip chart​

Use this template when reporting what a strip chart shows:

Over the last [time window], [signal] was [steady / drifting / cycling] around [value], until [time], when it [jumped / dropped / started to rise] to [value], at the same time as [other signal].

For example, using the diagram above: "Over the last 60 seconds, flow was steady at about 30 L/min until 17 seconds ago, when it dropped to about 20 L/min. At the same moment pressure jumped for about 7 seconds and temperature started to rise. Temperature is now just under its high alarm limit."

Scrolling vs sweeping strip charts​

A strip chart can move its data in two ways. Both show the same time window; they differ in what moves.

Two strip charts of the same pulse-like signal. Scrolling: the whole trace moves left and the newest reading is at the right-hand edge. Sweeping: the trace stays still, a write point moves from left to right drawing the new sweep, and a small gap separates it from the previous sweep still showing to its right

Scrolling (rolling)Sweeping (wrap-around)
What movesThe whole trace moves left; the newest reading is always at the right-hand edgeThe trace stays still; a write point moves left to right, then jumps back to the left
Time axisLabels change continuously (for example, the last 10 seconds up to now)Fixed (for example, 0 to 10 seconds), restarting at each sweep
Old dataDrops off the left-hand edgeOverwritten just ahead of the write point, usually with a small gap
Easiest to readTrends and slow changes; comparing "now" with the recent pastRepeating signals: each beat or cycle stays in the same place long enough to study
Typical useProcess control, server and network monitoring, telemetry, tradingPatient monitors (ECG), oscilloscopes, vibration and other fast periodic signals

A sweeping display is easier on the eye for fast signals, because nothing slides across the screen. A scrolling display is better when you need "now" in the same place and want to compare the latest values with the ones just before.

How much data a strip chart shows​

A software strip chart holds a fixed number of points: the time window multiplied by the sample rate. When a new point arrives the oldest is discarded, a scheme known as first in, first out (FIFO). The numbers grow quickly:

SignalsSample rateTime windowPoints on screen
1 temperature1 per second1 hour3,600
5 patient-monitor channels1,000 per second10 seconds50,000
8 vibration sensors10,000 per second10 seconds800,000

The display also has to redraw smoothly, ideally about 60 times a second, while new data keeps arriving. That is why strip charts with many fast channels need a charting library built for real-time data.

When to use a strip chart​

Use a strip chart when readings arrive continuously and people need to see what is happening now in the context of the last few moments. Typical uses:

  • medical monitoring: ECG, blood pressure, oxygen saturation and breathing on a bedside monitor;
  • process control: temperatures, pressures, flows and levels in plants, labs and food production;
  • test and measurement: oscilloscopes, data acquisition systems, vibration and acoustic testing;
  • telemetry: vehicles, motorsport, aircraft, satellites and robots;
  • IT operations: CPU load, network traffic and response times on servers.
ChartBest for
Strip chartLive readings over a moving time window, one lane per signal
Line chartA fixed period of history, such as a day or a year, that doesn't update while you read it
SparklineThe recent trend of many values at once, small enough to sit in a table row
Gauge chartThe current value only, against its range and limits, when the history doesn't matter
SpectrogramHow the frequencies in a fast signal, such as sound or vibration, change over time

Strip plot: the other "strip chart"​

In statistics, a strip plot (also called a strip chart, jitter plot or one-dimensional scatter plot) shows every value in a group as a dot along a single value axis, with one strip of dots per group. R's stripchart() function and the seaborn Python library's stripplot() make this chart. It has nothing to do with time: it shows how values are distributed.

Two strip plots of battery life in hours for 28 phones of each of three models. Without jitter, the dots sit on one line per model and hide each other. With jitter, each dot is moved a small random distance sideways, so every phone can be seen

  • Jitter moves each dot a small random distance sideways. Without it, equal or rounded values land on top of each other and the plot hides how many there are (left). With it, every value can be seen (right). The sideways position means nothing.
  • Best for small samples, up to a few dozen values per group, where a summary alone would hide the detail.
  • With more data, dots merge into a block. Use a box plot to summarise the spread, or a violin plot to show its shape. Many analysts draw a strip plot on top of a box plot to show both the summary and the raw values.
  • Strip plot vs scatter plot: a scatter plot places each dot by two numeric values. A strip plot uses one numeric value and a group.

Common strip chart mistakes​

  • A y-axis that rescales on every update. If the axis zooms to fit the data each frame, the trace jumps about and a large change can look small. Give each signal a fixed range that covers its normal values and limits.
  • The wrong time window. Too short, and slow drifts are invisible; too long, and fast events shrink to a pixel. Let users change it, as paper recorders let operators change chart speed.
  • No way to stop and look. A chart that keeps moving while someone tries to read it is frustrating. Provide pause, and zoom on paused data.
  • Hiding a lost signal. A flat line or a gap can mean a disconnected sensor. Show a break in the line rather than joining across missing data, and mark it clearly.
  • Keeping every point forever. Memory grows until the app slows down. Keep only the time window on screen (FIFO), and store longer history elsewhere.
  • Redrawing for every reading. At thousands of readings a second, redrawing each time wastes work. Collect readings into batches and draw once per screen refresh.

How to create a strip chart in JavaScript, React or Angular​

SciChart.js draws charts with WebGL and WebGPU, and its data series have a built-in FIFO mode for real-time charts, so strip charts with many fast channels stay smooth. The chart below streams five channels at 1,000 readings a second each. Use the buttons to switch between Scrolling and Sweeping, and to pause. While paused, scroll to zoom in time, drag to pan and double-click to reset; zooming or dragging pauses it for you. Hover to read the values.

Here is the code for this chart:

// Create a JavaScript strip chart with SciChart.js: five live channels, each in its own lane,
// that scroll (newest data at the right) or sweep (the trace redraws from left to right)
const {
SciChartSurface,
NumericAxis,
FastLineRenderableSeries,
XyDataSeries,
EllipsePointMarker,
NumberRange,
Thickness,
EAutoRange,
EAxisAlignment,
EXyDirection,
LeftAlignedOuterVerticallyStackedAxisLayoutStrategy,
SciChartJsNavyTheme,
CursorModifier,
MouseWheelZoomModifier,
ZoomPanModifier,
ZoomExtentsModifier
} = SciChart;
// or, for npm, import { SciChartSurface, ... } from "scichart"

const SAMPLE_RATE = 1000; // samples per second, per channel
const WINDOW = 10; // seconds shown on screen
const CAPACITY = SAMPLE_RATE * WINDOW; // points kept per channel: 10,000

const channels = [
{ name: "ECG (mV)", title: "ECG", color: "#3BD16F", range: new NumberRange(-0.5, 1.3), precision: 1 },
{ name: "BP (mmHg)", title: "BP", color: "#EF5350", range: new NumberRange(60, 130), precision: 0 },
{ name: "Pleth", title: "Pleth", color: "#50C7E0", range: new NumberRange(-0.15, 1.05), precision: 1 },
{ name: "Resp", title: "Resp", color: "#F6E05E", range: new NumberRange(-1.4, 1.4), precision: 1 },
{ name: "CO₂ (mmHg)", title: "CO₂", color: "#C3B4F0", range: new NumberRange(-4, 44), precision: 0 }
];

const { wasmContext, sciChartSurface } = await SciChartSurface.create(divElementId, {
theme: new SciChartJsNavyTheme(),
padding: new Thickness(44, 16, 10, 0) // room at the top for the buttons
});

const xAxis = new NumericAxis(wasmContext, {
axisTitle: "Time (s)",
autoRange: EAutoRange.Never, // the code below moves the time window
visibleRange: new NumberRange(0, WINDOW),
labelPrecision: 0,
cursorLabelPrecision: 2
});
sciChartSurface.xAxes.add(xAxis);

// One y-axis per channel, stacked top to bottom so each signal has its own lane.
// Fixed ranges: an axis that rescales on every frame makes the trace jump about.
sciChartSurface.layoutManager.leftOuterAxesLayoutStrategy = new LeftAlignedOuterVerticallyStackedAxisLayoutStrategy();
const lines = channels.map((channel, index) => {
sciChartSurface.yAxes.add(
new NumericAxis(wasmContext, {
id: `channel${index}`,
axisAlignment: EAxisAlignment.Left,
axisTitle: channel.title, // short, to fit the lane; the tooltip shows the units
axisTitleStyle: { color: channel.color, fontSize: 13 },
autoRange: EAutoRange.Never,
visibleRange: channel.range,
labelPrecision: channel.precision,
maxAutoTicks: 3,
drawMinorGridLines: false
})
);
const line = new FastLineRenderableSeries(wasmContext, {
yAxisId: `channel${index}`,
stroke: channel.color,
strokeThickness: 2,
// A dot on the newest point shows where the trace is being drawn
pointMarker: new EllipsePointMarker(wasmContext, {
width: 7,
height: 7,
fill: channel.color,
strokeThickness: 0,
lastPointOnly: true
})
});
sciChartSurface.renderableSeries.add(line);
return line;
});

const nextSample = createSignalSource(SAMPLE_RATE);
let isSweeping = false;
let isPaused = false;
let sampleIndex = 0; // samples drawn in the current mode
let dataSeries = []; // one XyDataSeries per channel

// fifoCapacity keeps the newest CAPACITY points and discards older ones automatically (a circular buffer).
// fifoSweeping makes the buffer wrap around: new points overwrite the oldest, from left to right.
function startMode(sweeping) {
isSweeping = sweeping;
sampleIndex = 0;
const oldSeries = dataSeries;
dataSeries = channels.map(
(channel) =>
new XyDataSeries(wasmContext, {
dataSeriesName: channel.name,
fifoCapacity: CAPACITY,
fifoSweeping: sweeping,
fifoSweepingGap: sweeping ? SAMPLE_RATE / 5 : undefined, // a 0.2 s gap ahead of the sweep
containsNaN: false,
isSorted: !sweeping
})
);
lines.forEach((line, index) => (line.dataSeries = dataSeries[index]));
oldSeries.forEach((series) => series.delete());
xAxis.axisTitle = sweeping ? "Time in sweep (s)" : "Time (s)";
appendSamples(CAPACITY); // start with a full window of data
return sweeping;
}

function appendSamples(count) {
const xValues = [];
const yValues = channels.map(() => []);
for (let i = 0; i < count; i++, sampleIndex++) {
// Scrolling: x keeps increasing. Sweeping: x wraps back to 0 at the end of each window.
xValues.push(isSweeping ? (sampleIndex % CAPACITY) / SAMPLE_RATE : sampleIndex / SAMPLE_RATE);
nextSample().forEach((value, channel) => yValues[channel].push(value));
}
dataSeries.forEach((series, channel) => series.appendRange(xValues, yValues[channel]));
showWindow();
}

// Scrolling: the time window follows the newest point. Sweeping: it stays still.
function showWindow() {
const now = sampleIndex / SAMPLE_RATE;
xAxis.visibleRange = isSweeping ? new NumberRange(0, WINDOW) : new NumberRange(now - WINDOW, now);
}

// Add the samples that have arrived since the last update, about 60 times a second
let lastTime = performance.now();
let carry = 0;
const timer = setInterval(() => {
const time = performance.now();
const due = Math.min(((time - lastTime) * SAMPLE_RATE) / 1000, SAMPLE_RATE / 4) + carry;
lastTime = time;
if (isPaused) return;
const count = Math.floor(due);
carry = due - count;
if (count > 0) appendSamples(count);
}, 16);
sciChartSurface.addDeletable({ delete: () => clearInterval(timer) });

// Hover for values. Pause, then scroll to zoom in time, drag to pan and double-click to reset.
sciChartSurface.chartModifiers.add(
new CursorModifier({
showTooltip: true,
showYLine: false,
// One line per channel: its name and value at the cursor
tooltipDataTemplate: (seriesInfos) => seriesInfos.map((info) => `${info.seriesName}: ${info.formattedYValue}`)
}),
new MouseWheelZoomModifier({ xyDirection: EXyDirection.XDirection }),
new ZoomPanModifier({ xyDirection: EXyDirection.XDirection }),
new ZoomExtentsModifier({ xyDirection: EXyDirection.XDirection })
);

const controls = addControls(sciChartSurface.domChartRoot, {
onMode: (sweeping) => startMode(sweeping),
onPause: () => {
isPaused = !isPaused;
if (!isPaused) showWindow(); // back to the live window
return isPaused;
}
});
// Zooming or panning pauses the chart, so the live update doesn't undo it
const pauseForZoom = (event) => {
if (event.target instanceof HTMLButtonElement || isPaused) return;
isPaused = true;
controls.showPaused(true);
};
sciChartSurface.domChartRoot.addEventListener("wheel", pauseForZoom);
sciChartSurface.domChartRoot.addEventListener("pointerdown", pauseForZoom);

controls.showMode(startMode(false));
controls.showPaused(false);
controls.setStatus(`${channels.length} channels × ${SAMPLE_RATE.toLocaleString("en")} samples/s`);

Key points:

  • An XyDataSeries with fifoCapacity set keeps only the newest points, as a circular buffer: append new readings with appendRange() and the oldest are discarded for you.
  • fifoSweeping: true turns the same series into a sweeping display. The x-values must wrap back to 0 at the end of each window, and fifoSweepingGap sets the gap ahead of the write point.
  • For scrolling, set the x-axis visibleRange to the last WINDOW seconds after each update; for sweeping, keep it fixed.
  • LeftAlignedOuterVerticallyStackedAxisLayoutStrategy stacks one y-axis per signal, so each channel gets its own lane. Fixed visibleRange values stop the lanes rescaling on every frame.

See it in the demo app: JavaScript vital signs ECG/EKG medical demo · React vital signs ECG/EKG medical demo · Angular vital signs ECG/EKG medical demo, a sweeping multi-channel monitor. For scrolling data, see the JavaScript realtime chart performance demo and zoom and pan a realtime JavaScript chart.

Go deeper:

Frequently asked questions​

What is a strip chart used for?​

A strip chart is used to watch measurements as they happen and see how they have changed over the last few seconds, minutes or hours. Typical uses are patient monitors (ECG, blood pressure, breathing), process control in plants, lab instruments, vehicle and machine telemetry, and server or network monitoring.

What is a strip chart recorder?​

A strip chart recorder is an instrument that draws a measurement onto a long strip of paper with a pen, while a motor pulls the paper past the pen at a steady speed. The distance along the paper is time, and the pen's position across it is the value. Most have now been replaced by data loggers and on-screen strip charts.

What is the difference between a strip chart and a strip plot?​

In engineering and monitoring, a strip chart is a live line chart of readings over a moving time window. In statistics, a strip plot (which R's stripchart function also calls a strip chart) is a one-axis dot plot that shows every value in a group as a dot, often spread sideways with jitter. The first shows change over time; the second shows how values are distributed.

What is the difference between a scrolling and a sweeping strip chart?​

In a scrolling strip chart the whole trace moves left and the newest reading is always at the right-hand edge. In a sweeping strip chart the trace stays still: a write point moves from left to right, overwriting the previous sweep, then jumps back to the left. Sweeping is easier to read for repeating signals such as heartbeats.

How wide should a strip chart's time window be?​

Wide enough to show several cycles of the pattern you care about, and narrow enough to show its detail. A few seconds suits heartbeats or vibration; minutes suit temperatures and pressures; hours suit slow trends. Many strip charts let you change the window, the on-screen version of a paper recorder's chart speed.

How do I make a strip chart in JavaScript?​

With SciChart.js, add a FastLineRenderableSeries for each signal, with an XyDataSeries whose fifoCapacity is the number of points in the time window. Append new readings with appendRange and move the x-axis visibleRange to follow them. Set fifoSweeping to true for a sweeping display. The same chart works in React with scichart-react and in Angular with scichart-angular.

Sources​