Got it to retain previous searches and show charts for each one.