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

Free Support Forum - aspose.com

Mail merge and charts

Is is possible to include a chart in a Word document, reading data from a mail merge origin?

I’ve tried to insert a Microsoft Graph object that reads data from a Word table, and filling that table with
merge fields, but graph data don’t get updated during MailMerge.Execute.

I suppose I could use merge events to process the chart and then insert it on the document, but I’d like to
let my users configure the chart in a diffent way for every document, and my code is generic.

Is there any way or product to acomplish this?

Thank you

Thanks for your inquiry. I think you can use Aspose.Charts for creating charts on fly. Then you can insert generated chart into the document as an image.
Please see the following link to learn more about Aspose.Charts.
I hope this could help you.
Best regards.