We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Clustered bar chart using Aspose.Words

Is there any way to draw clustered bar chart using Aspose.Words in java? I couldn’t found any way. Also one more thing how to set doughnut hole size for doughnut chart using Aspose.Words

I am referring to below chart

Screenshot 2022-09-22 at 10.54.42 PM.png (31.4 KB)

@madhukar.devale15 You can use DocumentBuilder.insertChart method to create chart using Aspose.Words. Also see our documentation to learn more about creating charts.
In your case you should use ChartType.BAR.

Unfortunately, currently there is no public API to change doughnut chart hole size. This feature request is logged as WORDSNET-17134. We will keep you informed and let you know once it is resolved.

Thanks it worked. Please add same api to change doughnut chart hole size in java as well.

@madhukar.devale15 Sure, API will be added in .NET, Java, Python and C++ versions of Aspose.Words.
Aspose.Words for .NET is the main version of Aspose.Words, all improvements and fixes made in .NET versions are auto-ported to other versions as well.