implement most of graphs tab on ride window except drawing