1. LineCompareGraphView, LineGrapheView - drawGraph and drawGraphRegion function, optimize source code