aphs = nrOfGraphs + 1;
              $("<div class='added' id='" + graphId + "'>")
                  .insertBefore(insertPlaceholder);
              $("<button type='button' class='added' id='" + fullscreenButtonid + "'>Fill screen</button>")
                  .insertBefore(insertPlaceholder);
              $("<span class='added'><br><hr><br></span>")
                  .insertBefore(insertPlaceholder);
              if (plotType === 'throughput') {
                  yAxisTitle = 'Operations/Second';
       