code: def tp_graph(dataframe, image_name, dir='./'):
      
      fig = pygal.TimeLine(x_title='Elapsed Time In Test (secs)',
                           x_label_rotation=25,
                           y_title='Transactions Per Second (count)',
                           human_readable=True,
                           js=('scripts/pygal-tooltip.min.js',))
      fig.add('Transactions per second', [(get_local_time(index), row['count'])
                                          for index, row in dataframe.iterrows()])
      fig.render_to_file(filename=os.path.join(dir, image_name))
docs: Throughput graph
  
      :param pandas.DataFrame dataframe: dataframe containing all data
      :param str dir: the output directory
      :return: None