Hi everyone,
I created a script that generates a lot of charts (control charts and distributions, histograms).
- At the end I try to export the report to Word, but the results are extremely poor.
- First of all, if word it only works when Word is open.
- I sometimes get an error message from Word: 'A table in this document has become corrupted'.
- The control charts are transported correctly, but the Histograms fall mostly of the page. Since they are aligned right, it mostly leaves white space in the document.
The entire point of the script is to automate a process to send the info to the users. Is there any tutorial, or function that let you control the output, to get a nice and readable document?
Code:
DispBox = New Window("MyWindow",
V List Box(
For (i = 2, i <= N Col(inputTable), i++,
// Create control chart
// Create histogram
);
);
);
DispBox << Save MSWord("C:\temp\test.doc", png);
The created window gives the results exactly as it should be.
If I transfer the charts to a picture format, it becomes one huge picture with all the graphs so small, that I cannot use it as well.
Html format: The HTML looks terrible also (zoomed to 1000%, still not readable).
Interactive HTML: This is the only format that makes the charts look like they are supposed to. But opening the interactive HTML in Word doesn't work.
Has anyone experience with this?
Thank you,
Jan