refactoring
scaling was added
Chart view will draw only it's visible part