Document doc = new Document();
Paragraph paragraph = doc.addSection().addParagraph();
Chart chart = paragraph.appendChart(ChartType.Column, 450, 300).getChart();
// 将“系列3”修改为折线图,并在次坐标轴上显示
chart.changeSeriesType("Series 3", ChartSeriesType.Line, true);
// 获取“系列3”的图表类型
System.out.println(chart.getSeries().get(2).getChartType());
doc.saveToFile("ComboChart.docx");