adding chart reset and series persistence