Because a chart has a history property, it retains the data written to it whether you fill the buffer or not. If you want the chart to start with no data in the buffer, you have to clear the history before the data acquisition begins. You do this by writing an empty array to the chart's history property. Look at the shipping example called How to Clear Charts & Graphs.