Fixed Bug #31 from https://github.com/maxklenk/angular-chart/issues/31