option = { xAxis: { type: 'category', data: ['A', 'B', 'C', 'D'] }, yAxis: { type: 'value' }, series: [{ name: 'test_boxplot', type: 'boxplot', data: [{ name: 'A', value: [0, 1, 2, 3, 4] }, { name: 'B', value: [0, 1, 2, 3, 4] }, { name: 'D', value: [0, 1, 2, 3, 4] }] }, { name: 'text_scatter', type: 'scatter', data: [ ['A', 1], ['B', 2], ['D', 3] ] }] };