add cursor pointer to bars and legend