fix bug of tips not hiding after shown is set to false

change legend to table so that the lod hint appear as a column

fix the bug of not feeding data to selection of itemsvg

create clearTips function for each rendering type