use pointer cursor for legend