Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Side by Side Diff: packages/charted/lib/charts/src/chart_series_impl.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // 1 //
2 // Copyright 2014 Google Inc. All rights reserved. 2 // Copyright 2014 Google Inc. All rights reserved.
3 // 3 //
4 // Use of this source code is governed by a BSD-style 4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at 5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd 6 // https://developers.google.com/open-source/licenses/bsd
7 // 7 //
8 8
9 part of charted.charts; 9 part of charted.charts;
10 10
(...skipping 25 matching lines...) Expand all
36 _measures = value; 36 _measures = value;
37 37
38 if (_measures is ObservableList) { 38 if (_measures is ObservableList) {
39 _disposer.add( 39 _disposer.add(
40 (_measures as ObservableList).listChanges.listen(_measuresChanged)); 40 (_measures as ObservableList).listChanges.listen(_measuresChanged));
41 } 41 }
42 } 42 }
43 43
44 Iterable<int> get measures => _measures; 44 Iterable<int> get measures => _measures;
45 45
46 set measureAxisIds(Iterable<String> value) => _measureAxisIds = value; 46 set measureAxisIds(Iterable<String> value) {
47 _measureAxisIds = value;
48 }
49
47 Iterable<String> get measureAxisIds => _measureAxisIds; 50 Iterable<String> get measureAxisIds => _measureAxisIds;
48 51
49 _measuresChanged(_) { 52 void _measuresChanged(List<ListChangeRecord> _) {
50 if (_measures is! ObservableList) return; 53 if (_measures is! ObservableList) return;
51 notifyChange(new ChartSeriesChangeRecord(this)); 54 notifyChange(new ChartSeriesChangeRecord(this));
52 } 55 }
53 } 56 }
OLDNEW
« no previous file with comments | « packages/charted/lib/charts/src/chart_legend_impl.dart ('k') | packages/charted/lib/charts/src/chart_state_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698