Minor line chart refactoring