Fixed rendering problem by changing the style to 'fusion'. Optimised painting functions of QCustomPlot library by drawing only updated sections.