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