- added legend
- added min and max of dataset to controller
- some UI changes