successfully draw graph, going to implement date picker