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

Side by Side Diff: appengine/swarming/elements/res/imp/stats/partial-line-chart.html

Issue 2177353002: Add top level app element (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@hello-oauth
Patch Set: Address feedback and introduce new res/ layer of direction 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 2016 The LUCI Authors. All rights reserved. 2 # Copyright 2016 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 --> 5 -->
6 <!-- 6 <!--
7 This in an HTML Import-able file that contains the definition 7 This in an HTML Import-able file that contains the definition
8 of the following elements: 8 of the following elements:
9 9
10 <partial-line-chart> 10 <partial-line-chart>
(...skipping 11 matching lines...) Expand all
22 names: Array<String>, the names of the data columns to show. If blank, 22 names: Array<String>, the names of the data columns to show. If blank,
23 all will be shown. 23 all will be shown.
24 title: String, the title of the line graph. 24 title: String, the title of the line graph.
25 25
26 Methods: 26 Methods:
27 None. 27 None.
28 28
29 Events: 29 Events:
30 None. 30 None.
31 --> 31 -->
32 <link rel="import" href="../bower_components/google-chart/google-chart.html"> 32 <link rel="import" href="/imp/bower_components/google-chart/google-chart.html">
33 33
34 <dom-module id="partial-line-chart"> 34 <dom-module id="partial-line-chart">
35 <style> 35 <style>
36 google-chart { 36 google-chart {
37 width: 100%; 37 width: 100%;
38 height: 250px; 38 height: 250px;
39 } 39 }
40 </style> 40 </style>
41 <template> 41 <template>
42 42
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 102 }
103 } 103 }
104 104
105 view.setColumns(colsToShow); 105 view.setColumns(colsToShow);
106 return JSON.parse(view.toDataTable().toJSON()); 106 return JSON.parse(view.toDataTable().toJSON());
107 }, 107 },
108 }); 108 });
109 })(); 109 })();
110 </script> 110 </script>
111 </dom-module> 111 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698