Selective repaint
Using the repaintAll property it is possible to control whether all the layers or just the main one are repainted in QCustomPlot::replot. It is useful to have multiple curves that persist on the same graph as "background" without eating up resources.