6f113f02 by David LaPalomento

Make sure bandwidth label is removed when simulation is re-run

Add the bandwidth class to the label so that it is removed along with the old bandwidth line.
1 parent ac180123
......@@ -329,6 +329,7 @@
.attr('d', bandwidthLine);
svg.append('text')
.attr('class', 'bandwidth label')
.attr('transform', 'translate(' + x(x.range()[1]) + ', ' + y(data.bandwidth.slice(-1)[0].bandwidth) + ')')
.attr('dy', '1.35em')
.text('bandwidth');
......