| branch | new-model |
| changeset 876 | 03967b6ada7c |
| parent 875 | 43629caa77bc |
| child 957 | 4da0a5740b6c |
| child 1019 | 3ab36f402b0c |
--- a/src/widgets/Sparkline.js Mon Apr 23 19:11:08 2012 +0200 +++ b/src/widgets/Sparkline.js Tue Apr 24 20:25:40 2012 +0200 @@ -18,7 +18,7 @@ var _slices = [], _duration = this.source.getDuration(), _max = 0, - _list = this.annotation_type ? this.source.getAnnotationsByTypeTitle(this.annotation_type) : this.source.getAnnotations(); + _list = this.getWidgetAnnotations(); for (var _i = 0; _i < this.slice_count; _i++) { var _begin = new IriSP.Model.Time(_i*_duration/this.slice_count),