graphite-project/graphite-web — pull request #551 by leandro-lucarella-sociomantic (2013-12-23 16:38:20+00:00)
Title: Make asPercent/divideSeries accept multiple series as total/divisor

If multiple series as used as total for asPercent, the length of the
total series must match the length of the seriesList, and they will be
matched together to calculate the percentage of the individual values.

Also remove the current limitation of divisorSeriesList to have only one
series and accept multiple series. In this case the number of divisor
series must match the number of dividend series, and they are matched so
each dividend series get divided by the corresponding divisor.

The old behaviour when only one series is used is retained, so this is
only an extension.

Fixes #207.