Classed path elements to their legend color index.
Merge pull request #2 from allthesignals/master

Classed path elements to their legend color index.