fixed issue with graphs due to refactoring of elasticsearch queries
fixed issue with graphs due to refactoring of elasticsearch queries

dataworks/internship-2016,dataworks/internship-2016,dataworks/internship-2016