Fix #169: Javasript Runtime Error when cursor is in a diagram region
without data points
Merge pull request #170 from weiznich/fix169

Fix #169: Javasript Runtime Error when cursor is in a diagram region without data points