OLD | NEW |
1 <!-- | 1 <!-- |
2 # Copyright 2015 The LUCI Authors. All rights reserved. | 2 # Copyright 2015 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 under the Apache License, Version 2.0 |
4 # found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
5 | 5 |
6 --> | 6 --> |
7 | 7 |
8 <!-- | 8 <!-- |
9 @group Swarming Elements | 9 @group Swarming Elements |
10 | 10 |
11 `stats-work-chart' encapsulates a 'google-chart' element and data formating | 11 `stats-work-chart' encapsulates a 'google-chart' element and data formating |
12 logic specific for Shards Activity chart of the Swarming statistics app. | 12 logic specific for Shards Activity chart of the Swarming statistics app. |
13 This element exposes a 'data' attribute which is a JSON serialized | 13 This element exposes a 'data' attribute which is a JSON serialized |
14 `google.visualization.DataTable` object and a `resolution` attribute that is | 14 `google.visualization.DataTable` object and a `resolution` attribute that is |
(...skipping 25 matching lines...) Expand all Loading... |
40 view.setColumns([0, 1, 2, 9, 10]); | 40 view.setColumns([0, 1, 2, 9, 10]); |
41 } else { | 41 } else { |
42 view.setColumns([0, 3, 4, 11, 12]); | 42 view.setColumns([0, 3, 4, 11, 12]); |
43 } | 43 } |
44 | 44 |
45 this.attachView(view); | 45 this.attachView(view); |
46 } | 46 } |
47 }); | 47 }); |
48 </script> | 48 </script> |
49 </polymer-element> | 49 </polymer-element> |
OLD | NEW |