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

Side by Side Diff: tracing/tracing/ui/base/name_column_chart.html

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: . Created 4 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
OLDNEW
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/base/raf.html"> 8 <link rel="import" href="/tracing/base/raf.html">
9 <link rel="import" href="/tracing/ui/base/column_chart.html"> 9 <link rel="import" href="/tracing/ui/base/column_chart.html">
10 <link rel="import" href="/tracing/ui/base/d3.html"> 10 <link rel="import" href="/tracing/ui/base/d3.html">
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 .attr('x1', (d, index) => this.xScale_(index + this.xAxisTickOffset)) 62 .attr('x1', (d, index) => this.xScale_(index + this.xAxisTickOffset))
63 .attr('x2', (d, index) => this.xScale_(index + this.xAxisTickOffset)) 63 .attr('x2', (d, index) => this.xScale_(index + this.xAxisTickOffset))
64 .attr('y1', () => this.chartAreaSize.height) 64 .attr('y1', () => this.chartAreaSize.height)
65 .attr('y2', (d, index) => this.chartAreaSize.height + Math.max( 65 .attr('y2', (d, index) => this.chartAreaSize.height + Math.max(
66 MIN_GUIDELINE_HEIGHT_PX, 66 MIN_GUIDELINE_HEIGHT_PX,
67 (TEXT_HEIGHT_PX * (this.data_.length - index - 1)))); 67 (TEXT_HEIGHT_PX * (this.data_.length - index - 1))));
68 } 68 }
69 }; 69 };
70 70
71 return { 71 return {
72 NameColumnChart: NameColumnChart 72 NameColumnChart,
73 }; 73 };
74 }); 74 });
75 </script> 75 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698