How to create Bar chart in table cell using Java

Please find attached a template of a table containing a chart.
How can i write a similar kind of table and chart using aspose .words in Java
It should have separate color for positive and negative value as you can see in the template.

template.JPG (10.9 KB)template.zip (22.9 KB)

@agarwalsarthak121

Please manually create your expected Word document using Microsoft Word and attach it here for our reference. We will investigate how you want your final Word output be generated like. We will then provide you more information on this along with code.

I have attached a template.zip file containing the word document with the desired output.

@agarwalsarthak121

You can achieve your requirement using the Aspose.Words for Java. Please create the table and format it as described in following article.
Working with Tables

Once you have created the table, please move the cursor to the desired table’s cell and insert the chart. Please refer to the following article about creating charts.
Working with Charts