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

Side by Side Diff: Tools/GardeningServer/ui/ct-chart.html

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Tools/GardeningServer/ui/ct-button.html ('k') | Tools/GardeningServer/ui/ct-commit.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6
7 <link rel="import" href="../lib/chart-loader.html">
8
9 <polymer-element name="ct-chart" attributes="table options width height">
10 <template>
11 <canvas id='chart' width="{{ width }}" height="{{ height }}"></canvas>
12 </template>
13 <script>
14 Polymer({
15 table: null,
16 options: null,
17 observe: {
18 options: 'updateChart',
19 table: 'updateChart'
20 },
21 updateChart: function() {
22 if (this.table == null || this.options == null) {
23 return;
24 }
25 var ctx = this.$.chart.getContext("2d");
26 new Chart(ctx).Bar(this.table, this.options);
27 }
28 });
29 </script>
30 </template>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-button.html ('k') | Tools/GardeningServer/ui/ct-commit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698