OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2014 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/tracing/ui/base/chart_base_2d.html"> | 8 <link rel="import" href="/tracing/ui/base/chart_base_2d.html"> |
9 | 9 |
10 <script> | 10 <script> |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 }.bind(this)) | 79 }.bind(this)) |
80 .attr('y', 0) | 80 .attr('y', 0) |
81 .attr('width', function(d) { | 81 .attr('width', function(d) { |
82 return this.xScale_(d.max) - this.xScale_(d.min); | 82 return this.xScale_(d.max) - this.xScale_(d.min); |
83 }.bind(this)) | 83 }.bind(this)) |
84 .attr('height', this.chartAreaSize.height); | 84 .attr('height', this.chartAreaSize.height); |
85 } | 85 } |
86 }; | 86 }; |
87 | 87 |
88 return { | 88 return { |
89 ChartBase2DBrushX: ChartBase2DBrushX | 89 ChartBase2DBrushX, |
90 }; | 90 }; |
91 }); | 91 }); |
92 </script> | 92 </script> |
OLD | NEW |