this.plot = plot;
elements = new ArrayList<>(plot.getSeriesRegistry().size());
}
public void sync() {
getElements().clear();
<BUG>List<SeriesAndFormatter<SeriesType, FormatterType>> pairList = plot.getSeriesRegistry().asList();
for(SeriesAndFormatter<SeriesType, FormatterType> thisPair: pairList) {</BUG>
getElements().add(new StackElement<>(thisPair));
}
}

this.plot = plot;
elements = new ArrayList<>(plot.getSeriesRegistry().size());
}
public void sync() {
getElements().clear();
List<SeriesAndFormatter<SeriesType, FormatterType>> pairList = plot.getSeriesRegistry();
for(SeriesAndFormatter<SeriesType, FormatterType> thisPair: pairList) {
getElements().add(new StackElement<>(thisPair));
}
}
