The percentiles on the histogram plot are rendered using the `markings` options to the `grid` for Flot.
These markings don't produce any legend, so we have to make our own...

I've changed the color of percentile series to us the same colors in both plots... So maybe the custom legend is just overkill now...