- Click the first bar in the graph. you get an alert().
- Try and click last bar
- Bug: you can't, the tooltip hides the bar.
2 Answers, 1 is accepted
answered on 15 Jul 2015, 10:48 AM
Actually, the tooltip overlaps the last bar because there is not enough space for it outside the Chart, where the browser viewport ends. Setting a smaller width for the widget solves the issue. An alternative approach is to tweak the tooltip position with appropriate negative top/left margins.
Here is an updated snippet, which demonstrates both techniques. Choose one, according to your preferences.