- refactored linechart