Simplifying line chart