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

Side by Side Diff: lib/google_chart.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month 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
« no previous file with comments | « lib/firebase_collection.dart ('k') | lib/google_map.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` 1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 2
3 /// Dart API for the polymer element `google_chart`. 3 /// Dart API for the polymer element `google_chart`.
4 @HtmlImport('google_chart_nodart.html') 4 @HtmlImport('google_chart_nodart.html')
5 library polymer_elements.lib.src.google_chart.google_chart; 5 library polymer_elements.lib.src.google_chart.google_chart;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'dart:js' show JsArray, JsObject; 8 import 'dart:js' show JsArray, JsObject;
9 import 'package:web_components/web_components.dart'; 9 import 'package:web_components/web_components.dart';
10 import 'package:polymer_interop/polymer_interop.dart'; 10 import 'package:polymer_interop/polymer_interop.dart';
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 /// <pre> 120 /// <pre>
121 /// [{row:0,column:1}, {row:1, column:null}] 121 /// [{row:0,column:1}, {row:1, column:null}]
122 /// </pre> 122 /// </pre>
123 List get selection => jsElement[r'selection']; 123 List get selection => jsElement[r'selection'];
124 set selection(List value) { jsElement[r'selection'] = (value != null && value is! JsArray) ? new JsObject.jsify(value) : value;} 124 set selection(List value) { jsElement[r'selection'] = (value != null && value is! JsArray) ? new JsObject.jsify(value) : value;}
125 125
126 /// Sets the type of the chart. 126 /// Sets the type of the chart.
127 /// 127 ///
128 /// Should be one of: 128 /// Should be one of:
129 /// - `area`, `bar`, `bubble`, `candlestick`, `column`, `combo`, `geo`, 129 /// - `area`, `bar`, `bubble`, `candlestick`, `column`, `combo`, `geo`,
130 /// `histogram`, `line`, `pie`, `scatter`, `stepped-area` 130 /// `histogram`, `line`, `pie`, `scatter`, `stepped-area`, `treemap`
131 /// 131 ///
132 /// See <a href="https://google-developers.appspot.com/chart/interactive/docs/ gallery">Google Visualization API reference (Chart Gallery)</a> for details. 132 /// See <a href="https://google-developers.appspot.com/chart/interactive/docs/ gallery">Google Visualization API reference (Chart Gallery)</a> for details.
133 String get type => jsElement[r'type']; 133 String get type => jsElement[r'type'];
134 set type(String value) { jsElement[r'type'] = value; } 134 set type(String value) { jsElement[r'type'] = value; }
135 135
136 /// Draws the chart. 136 /// Draws the chart.
137 /// 137 ///
138 /// Called automatically on first load and whenever one of the attributes 138 /// Called automatically on first load and whenever one of the attributes
139 /// changes. Can be called manually to handle e.g. page resizes. 139 /// changes. Can be called manually to handle e.g. page resizes.
140 drawChart() => 140 drawChart() =>
141 jsElement.callMethod('drawChart', []); 141 jsElement.callMethod('drawChart', []);
142 } 142 }
OLDNEW
« no previous file with comments | « lib/firebase_collection.dart ('k') | lib/google_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698