Tried to fix qcustomplot, not succesful