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

Side by Side Diff: tracing/tracing/value/ui/histogram_set_table_row.html

Issue 3016683002: Sort overview chart in histogram-set-table-name-cell. (Closed)
Patch Set: Created 3 years, 2 months 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
« no previous file with comments | « tracing/tracing/value/ui/histogram_set_table_name_cell.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 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/value/ui/histogram_set_table_cell.html"> 8 <link rel="import" href="/tracing/value/ui/histogram_set_table_cell.html">
9 <link rel="import" href="/tracing/value/ui/histogram_set_table_name_cell.html"> 9 <link rel="import" href="/tracing/value/ui/histogram_set_table_name_cell.html">
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 return this.hierarchy_.description; 63 return this.hierarchy_.description;
64 } 64 }
65 65
66 /** 66 /**
67 * @return {!Map.<string, !(undefined|tr.v.Histogram|tr.v.HistogramSet)>} 67 * @return {!Map.<string, !(undefined|tr.v.Histogram|tr.v.HistogramSet)>}
68 */ 68 */
69 get columns() { 69 get columns() {
70 return this.hierarchy_.columns; 70 return this.hierarchy_.columns;
71 } 71 }
72 72
73 * sortedColumns() {
74 for (const col of this.baseTable_.tableColumns) {
75 yield [
76 col.displayLabel,
77 this.hierarchy_.columns.get(col.displayLabel),
78 ];
79 }
80 }
81
73 /** 82 /**
74 * @return {!tr.b.Range} 83 * @return {!tr.b.Range}
75 */ 84 */
76 get overviewDataRange() { 85 get overviewDataRange() {
77 if (this.overviewDataRange_ === undefined) { 86 if (this.overviewDataRange_ === undefined) {
78 this.overviewDataRange_ = new tr.b.math.Range(); 87 this.overviewDataRange_ = new tr.b.math.Range();
79 88
80 const displayStatisticName = 89 const displayStatisticName =
81 this.rootViewState.displayStatisticName; 90 this.rootViewState.displayStatisticName;
82 const referenceDisplayLabel = 91 const referenceDisplayLabel =
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 this.subRows_.reverse(); 285 this.subRows_.reverse();
277 } 286 }
278 } 287 }
279 } 288 }
280 289
281 return { 290 return {
282 HistogramSetTableRow, 291 HistogramSetTableRow,
283 }; 292 };
284 }); 293 });
285 </script> 294 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/value/ui/histogram_set_table_name_cell.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698