Refactored LineGraphView