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

Unified Diff: tracing/tracing/ui/base/column_chart.html

Issue 2334973002: Rename BarChart to ColumnChart (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/ui/base/bar_chart_test.html ('k') | tracing/tracing/ui/base/column_chart_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/column_chart.html
diff --git a/tracing/tracing/ui/base/bar_chart.html b/tracing/tracing/ui/base/column_chart.html
similarity index 95%
rename from tracing/tracing/ui/base/bar_chart.html
rename to tracing/tracing/ui/base/column_chart.html
index 68b56e726b1d21291444a8ef02258cbd01b5170c..f73f5ac7932d21a1a73da43eebab93339253dfa5 100644
--- a/tracing/tracing/ui/base/bar_chart.html
+++ b/tracing/tracing/ui/base/column_chart.html
@@ -28,17 +28,17 @@ tr.exportTo('tr.ui.b', function() {
}
// @constructor
- var BarChart = tr.ui.b.define('bar-chart', ChartBase2DBrushX);
+ var ColumnChart = tr.ui.b.define('column-chart', ChartBase2DBrushX);
- BarChart.prototype = {
+ ColumnChart.prototype = {
__proto__: ChartBase2DBrushX.prototype,
decorate: function() {
ChartBase2DBrushX.prototype.decorate.call(this);
- Polymer.dom(this).classList.add('bar-chart');
+ Polymer.dom(this).classList.add('column-chart');
- // BarChart allows bars to have arbitrary, non-uniform widths. Bars need
- // not all be the same width. The width of each bar is automatically
+ // ColumnChart allows bars to have arbitrary, non-uniform widths. Bars
+ // need not all be the same width. The width of each bar is automatically
// computed from the bar's x-coordinate and that of the next bar, which
// can not define the width of the last bar. This is the width (in the
// xScale's domain (as opposed to the xScale's range (which is measured in
@@ -245,7 +245,7 @@ tr.exportTo('tr.ui.b', function() {
};
return {
- BarChart: BarChart
+ ColumnChart: ColumnChart
};
});
</script>
« no previous file with comments | « tracing/tracing/ui/base/bar_chart_test.html ('k') | tracing/tracing/ui/base/column_chart_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698