From 0f2e00dbb16966c581aa5fc5ebe18b2d3f1abecf Mon Sep 17 00:00:00 2001 From: Rodrigo Wirth Date: Mon, 2 May 2016 08:25:50 -0300 Subject: [PATCH] Apply code review suggestions for bar max width example --- htdocs/samples/chart_bar_max_width.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/samples/chart_bar_max_width.html b/htdocs/samples/chart_bar_max_width.html index 1ad9750..56c9deb 100644 --- a/htdocs/samples/chart_bar_max_width.html +++ b/htdocs/samples/chart_bar_max_width.html @@ -13,8 +13,6 @@ columns: [ ['data1', 1030, 1200, 1100, 1400, 1150, 1250], ['data2', 2130, 2100, 2140, 2200, 2150, 1850] -// ['data1', 30, 200, 100, 400, 150, 250], -// ['data2', 130, 100, 140, 200, 150, 50] ], type: 'bar', onclick: function (d, element) { console.log("onclick", d, element); }, @@ -28,8 +26,8 @@ }, bar: { width: { - max: 40 - }, + max: 40 + } } });