Browse Source

Apply code review suggestions for bar max width example

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

6
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); },
@ -28,8 +26,8 @@
}, },
bar: { bar: {
width: { width: {
max: 40 max: 40
}, }
} }
}); });
</script> </script>

Loading…
Cancel
Save