Class QCPDataContainer has had many methods to remove data points, but they are all implemented through std::lower_bound or std::upper_bound with sortKey. In some situations, there is a need to remove fixed number of data points, so remove methods with data point index or iterator and count could be added.
Is this reasonable?