XY Chart doesn't clear dataset

Using Ignition 8.1.7, in Perspective. I’m using an XY chart with a dataset bound to a named query that refreshes every 10 seconds. After a couple of refreshes, my chart looks wonky:

Any suggestions?