Hello,
I want to create an aspose pie chart with the LINQ reporting engine. I can’t find the word document for examples in the guide. Where can I find the sample files?
https://docs.aspose.com/words/java/appendix-c-typical-templates/
Hello,
I want to create an aspose pie chart with the LINQ reporting engine. I can’t find the word document for examples in the guide. Where can I find the sample files?
https://docs.aspose.com/words/java/appendix-c-typical-templates/
We suggest you please check the LINQ Reporting code examples from following GitHub link. You can find the chart examples in Charts.cs.
https://github.com/aspose-words/Aspose.Words-for-.NET
The Pie Chart template document is attached with this post.
Reporting engine template - Pie chart.docx (22.1 KB)
You can use following code example to generate the pie chart using LINQ Reporting engine.
public void PieChart()
{
//ExStart:PieChart
Document doc = new Document(MyDir + "Reporting engine template - Pie chart.docx");
ReportingEngine engine = new ReportingEngine();
engine.BuildReport(doc, Helpers.Common.GetManagers(), "managers");
doc.Save(ArtifactsDir + "ReportingEngine.PieChart.docx");
//ExEnd:PieChart
}