| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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> | 
| OLD | NEW | 
|---|