option = {
title: {
text: 'Awesome Chart'
},
toolbox: {
show: true,
color: ['blue', 'red', '#4b0082', '#d2691e'],
feature: {
dataView: {
readOnly: true
},
saveAsImage: {
show: true
}
}
},
xAxis: {
data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
},
yAxis: {},
series: [{
type: 'line',
data: [220, 182, 191, 234, 290, 330, 310]
}]
};