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

Free Support Forum - aspose.com

Pie Chart Template

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?


We suggest you please check the LINQ Reporting code examples from following GitHub link. You can find the chart examples in Charts.cs.

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()
    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");