Insert line chart in Words by Java

We are developing a software in Java. A line chart needs to be inserted
in Words documents. Can you please advise how to achieve this task?
Thank you very much!

Hi,

Thanks for your inquiry.

Well, actually, we are working on chart2image feature which might suit your requirements. Since it's a complex feature which needs some time to be completed. Hopefully, the feature will be available in Q1 2009.

I think, currently, you may try to implement this as a LINK field into the word document using Aspose.Words for Java API as suggested by Aspose.Words team.

Thank you.

But I need the link to be updated by coding, so it doesn’t suit us.