| Index: tracing/tracing/ui/base/scatter_chart.html
|
| diff --git a/tracing/tracing/ui/base/scatter_chart.html b/tracing/tracing/ui/base/scatter_chart.html
|
| index ee94887a951ef8ed73c70380062031b4ddd1742e..784d2a6a1b5f168b5f041e02e4ce825b3ba3f6c0 100644
|
| --- a/tracing/tracing/ui/base/scatter_chart.html
|
| +++ b/tracing/tracing/ui/base/scatter_chart.html
|
| @@ -5,7 +5,7 @@ Use of this source code is governed by a BSD-style license that can be
|
| found in the LICENSE file.
|
| -->
|
|
|
| -<link rel="import" href="/tracing/base/range.html">
|
| +<link rel="import" href="/tracing/base/math/range.html">
|
| <link rel="import" href="/tracing/ui/base/chart_base_2d.html">
|
|
|
| <script>
|
| @@ -28,8 +28,8 @@ tr.exportTo('tr.ui.b', function() {
|
|
|
| decorate() {
|
| super.decorate();
|
| - this.brushedXRange_ = new tr.b.Range();
|
| - this.brushedYRange_ = new tr.b.Range();
|
| + this.brushedXRange_ = new tr.b.math.Range();
|
| + this.brushedYRange_ = new tr.b.math.Range();
|
| },
|
|
|
| get hideLegend() {
|
| @@ -48,11 +48,11 @@ tr.exportTo('tr.ui.b', function() {
|
| super.updateMargins_();
|
| if (this.data.length === 0) return;
|
|
|
| - var rightOverhangPx = tr.b.Statistics.max(
|
| + var rightOverhangPx = tr.b.math.Statistics.max(
|
| this.data, d => this.xScale_(d.x) + d.radius - this.graphWidth);
|
| this.margin.right = Math.max(this.margin.right, rightOverhangPx);
|
|
|
| - var topOverhangPx = tr.b.Statistics.max(
|
| + var topOverhangPx = tr.b.math.Statistics.max(
|
| this.data, d => (this.graphHeight - this.yScale_(d.y)) + d.radius) -
|
| this.graphHeight;
|
| this.margin.top = Math.max(this.margin.top, topOverhangPx);
|
|
|