Added ability to invert line chart