Option 1: use cookies to store user preferences Option 2: If a new graph is going to be created, initialize it with current Preference settings