Browse Source

Apply code review suggestions for bar max width example

pull/1672/head
Rodrigo Wirth 9 years ago
parent
commit
0f2e00dbb1
  1. 4
      htdocs/samples/chart_bar_max_width.html

4
htdocs/samples/chart_bar_max_width.html

@ -13,8 +13,6 @@
columns: [ columns: [
['data1', 1030, 1200, 1100, 1400, 1150, 1250], ['data1', 1030, 1200, 1100, 1400, 1150, 1250],
['data2', 2130, 2100, 2140, 2200, 2150, 1850] ['data2', 2130, 2100, 2140, 2200, 2150, 1850]
// ['data1', 30, 200, 100, 400, 150, 250],
// ['data2', 130, 100, 140, 200, 150, 50]
], ],
type: 'bar', type: 'bar',
onclick: function (d, element) { console.log("onclick", d, element); }, onclick: function (d, element) { console.log("onclick", d, element); },
@ -29,7 +27,7 @@
bar: { bar: {
width: { width: {
max: 40 max: 40
}, }
} }
}); });
</script> </script>

Loading…
Cancel
Save