Improvements to flot chart renderer

- Better tooltips
- Better legends