Legend supports for color mappings now and does not reverse lines anymore.

Fixes issues #207 and #208.