This is using Words 17.6 without experience with earlier versions (using charts).
I am setting up working with charts but immediately after this:
Shape shape = this.builder.insertChart( chart.getType(), chart.getWidth(), chart.getHeight() );
The application stops working, without throwing an exception or any message as far as I can see.
The 'chart' object is created by me and getType(), getWidth(), getHeight() have the correct data type (int, double, double).
What can it be that I am doing wrong or, in other words, how do I solve this?