option = {
tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, toolbox: { orient: 'vertical', left: 'auto', feature: { magicType: { type: ["line", "bar","stack"] }, saveAsImage: {}, } }, legend: { data: ['Student bachelor', 'Student master', 'Student doctorate'] }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, dataset: { source: }, xAxis: { type: 'category' }, yAxis: { type: 'value' }, series: [ { type: 'bar', stack: 'total', emphasis: { focus: 'series' } }, { type: 'bar', stack: 'total', emphasis: { focus: 'series' } }, { type: 'bar', stack: 'total', emphasis: { focus: 'series' } } ]}