Update graph using real time data without flickering graph

Hi Dash Community
I’m trying to build a dash plotly app to show a simple run chart which connects with the MS SQL Database for the data.
I have used dcc.Interval for retrieving the latest data from database, but when this data is consumed by the figure object, the chart updates by redrawing itself(ie graph figure section seems to flicker on webpage),whereas I want to display a running chart/moving chart without it flickering

Do you update the whole figure or just the data property with Patch?