draw a clickable box that reports the id of the chart div