deal better with fetch faults

Use a nonzero default for missing data points;
try once more when a fetch didn't yield any data points.
change legend layouting
use external style sheet