option = {
title: {
text: 'My first Echart'
},
tooltip:{},
legend:{
data:['销量']
},
xAxis: {
data: ['羊毛', '鞋子', '围巾', '手机', '玉米', '豆腐', '衬衫']
},
yAxis: {},
series: [{
type: 'bar',
data:[220, 182, 191, 234, 290, 330, 310]
}]
};