add chart selecting ability