What you want to do?

If you want to update the chart, then give new values and update() that's all

I am afraid the question you are asking is making us move us away from Qt topic.