add flot chart for index