How can I create data model (something like QAbstractItemModel) to use it with QCustomPlot? The point is, that data stored in our dataset may be pretty big. We can have 30 or even more graphs on one plot with easily over 2 millions of samples each. We don't want to copy any of these values and we need to plot all samples at once.
Also I want to ask if QCustomPlot works well with such big numbers of samples (if we plot all samples at once - what method is used to show data when there are MUCH more samples than pixels in width of plot?). We want our plot to show sudden value changes which may appear in-between samples that are actually picked to plot.