option = {
legend: {},
tooltip: {},
dataset: {
source: [
['product', '2015'],
['Matcha Latte', 4],
['Milk Tea', 6],
['Cheese Cocoa', 7],
['Walnut Brownie', 8],
['Walnut Browniea', 9]
]
},
xAxis: {type: 'category'},
yAxis: {scale:true},
// Declare several bar series, each will be mapped
// to a column of dataset.source by default.
series: [
{type: 'bar'},
]
};