Can i create such kind chart in Word using aspose word for .net?

Hello ,

Is it possible to create this kind of chart?
image.png (23.8 KB)

only see this preview
image.png (140.1 KB)

@vliumang Sure you can create a stacked column chart using Aspose.Words. You should use ChartType.ColumnStacked. Please see the following simple code:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

// Add chart with default data. You can specify different chart types and sizes.
Shape shape = builder.InsertChart(ChartType.ColumnStacked, 432, 252);

// Chart property of Shape contains all chart related options.
Chart chart = shape.Chart;

// Get chart series collection.
ChartSeriesCollection seriesColl = chart.Series;

// Delete default generated series.
seriesColl.Clear();

// Create category names array, in this example we have two categories.
String[] categories = new String[] { "AW Category 1", "AW Category 2" };

// Adding new series. Please note, data arrays must not be empty and arrays must be the same size.
seriesColl.Add("AW Series 1", categories, new double[] { 1, 2 });
seriesColl.Add("AW Series 2", categories, new double[] { 3, 4 });
seriesColl.Add("AW Series 3", categories, new double[] { 5, 6 });
seriesColl.Add("AW Series 4", categories, new double[] { 7, 8 });
seriesColl.Add("AW Series 5", categories, new double[] { 9, 10 });

doc.Save(@"C:\Temp\out.docx");

out.docx (8.5 KB)

Note, the demo you have referenced to is Aspose.Slides demo, which is a separate product not related to Aspose.Words.