Added support for more than one series line. Fixes #2