Skip to content

Build a line chart that stays readable in grayscale

Suppose a small sales chart has two lines: actual orders and the forecast. They overlap in March and separate in April. A legend with two colored squares asks readers to remember which square matches which line. The problem gets harder on a printed invoice. Give each series a second identifier that travels with it.

A two-series recipe

Series Stroke End label
Actual Solid #174A70, round markers Actual · 84
Forecast Dashed #784319, square markers Forecast · 91

Use a white plotting area and keep grid lines faint. Put the labels just beyond the final points. If both labels land on top of each other, move one vertically and draw a short leader back to its point. Keep the numerical values available in a small HTML table below the chart.

Reproduce the crossing test

Plot January through April with actual values 52, 61, 73, 84 and forecast values 58, 66, 73, 91. Turn on grayscale in print preview. Cover the legend and trace the forecast across March. If you lose it, increase the dash length or move a marker away from the crossing. Adding saturation has no effect on this test.

Use the PaletteBench contrast checker to check each line against the plot surface. Then inspect the crossing at the smallest published size. A line-to-background measurement alone cannot tell you whether the two overlapping series are identifiable.