improvements to line chart