Page 1 of 1

Use Chart Part to generate graphs in docx

PostPosted: Fri May 05, 2017 1:39 am
by abdelkaderl
Hello,

I am currently building a word document containing editable graphs, I have already posted a subject to have an example that describes my need, but unfortunately not much to advance on the subject in question.

So here I go back to the community to find out if any of you had already generate graphs in a docx, if so please attache the examples or provide the complete solution.

I tried using chart Part as explained by @Jason, but no successfully results !


thanks for advance.

Re: Use Chart Part to generate graphs in docx

PostPosted: Sat May 06, 2017 10:14 am
by abdelkaderl
:( :( :( no answer

Re: Use Chart Part to generate graphs in docx

PostPosted: Sun May 07, 2017 3:03 am
by abdelkaderl
Hello,

I would really appreciate if someone could provide a sample on how to insert a chart into a docx, I couldn't find any documentation about tha chart classes...

Thanks in advance
Best regards

Re: Use Chart Part to generate graphs in docx

PostPosted: Sun May 07, 2017 8:14 am
by jason
I have already told you everything you need to know, here and on StackOverflow. You haven't explained which bit you don't understand. You should post your code (and the relevant XML) if you need more help/

You can also see http://bridgei2i.com/blog/programmatica ... le-charts/ (for pptx but docx is very similar) and https://github.com/plutext/docx4j/blob/ ... harts.java