Example of using custom class inherited from QwtPlotItem to plot big arrays of data (up to millions of points) smoothly