option = {
title: {
text: 'Sample Chart'
},
xAxis: {
type: 'value'
},
yAxis: {
type: 'value'
},
series: [{
type: 'line',
stack: 'ch1',
data:[
[1, 10],
[2, 20],
[3, 30]
]
}, {
type: 'line',
stack: 'ch1',
data:[
[1, 10],
[2, 20],
[3, 30]
]
}]
};