|
|
@ -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> |
|
|
|