Page 1 of 1

Export to Excel in Chart Previewer not working

Posted: Tue Aug 23, 2016 4:27 pm
by 16578095
Hi
I'm using D2007 with TeeChart Pro v2016.18 .160504 32bit VCL. Running on Windows 10. Office 2016 32 bit.
I'm trying to use the Chart Previewer to export to Excel but in the IDE I get an Interface Error. If I run the exe outside of the IDE it says the spreadsheet is corrupted. The other exports seem to work OK. Is there a fix for this?
Secondary question: Is it possible to resize the Chart Previewer form when it is shown. The size looks too small - buttons are hidden.
Thanks

Re: Export to Excel in Chart Previewer not working

Posted: Wed Aug 24, 2016 10:34 am
by yeray
Hello,
OSNick wrote:I'm trying to use the Chart Previewer to export to Excel but in the IDE I get an Interface Error. If I run the exe outside of the IDE it says the spreadsheet is corrupted. The other exports seem to work OK. Is there a fix for this?
It sounds similar to the bug reported here:
http://www.teechart.net/support/viewtop ... =3&t=15683
OSNick wrote: Is it possible to resize the Chart Previewer form when it is shown. The size looks too small - buttons are hidden.
I can resize the dialog dragging its bottom-right corner, can't you?

Re: Export to Excel in Chart Previewer not working

Posted: Wed Aug 24, 2016 10:58 am
by 16578095
Yes, sounds the same bug. Exporting to Excel is an important feature for our users. Is there an update on when it might get fixed please?

Yes, I can resize the window, but I would like to show it to a size where all the controls are visible.

Re: Export to Excel in Chart Previewer not working

Posted: Thu Aug 25, 2016 7:51 am
by yeray
Hello.
OSNick wrote:Yes, sounds the same bug. Exporting to Excel is an important feature for our users. Is there an update on when it might get fixed please?
Feel free to add your mail to the CC list of the public ticket to get an automatic notification when an update arrives.
http://bugs.teechart.net/show_bug.cgi?id=1257
OSNick wrote:Yes, I can resize the window, but I would like to show it to a size where all the controls are visible.
Please check if this option is set:
- Right click on a TChart at design time and select "Options...".
- Go to the "Chart Editor" tab and select "Remember Size" checkbox.

Re: Export to Excel in Chart Previewer not working

Posted: Thu Aug 25, 2016 8:15 am
by 16578095
Thanks for the reply. That works for the TChart editor, but on the TDashboard when I call Dashboard1.Showeditor (from a buttonclick), it does not remember it's size and always displays quite small. Is there another way I should be invoking the editor on a TDashboard?

Re: Export to Excel in Chart Previewer not working

Posted: Thu Aug 25, 2016 3:23 pm
by 16578095
Actually forget about the TDashboard editor, we have decided to allow users to edit the underlying charts and save the chartsettings (stream) to the database.

The more pressing issue is the title of this post - cannot export to Excel. (Windows 10, Office 2016).

Re: Export to Excel in Chart Previewer not working

Posted: Fri Aug 26, 2016 2:37 pm
by Marc
Hello,

Yes I see there is a long-standing bug report on Excel export: http://bugs.teechart.net/show_bug.cgi?id=1257.

We'll review the issue and get back with an update.

Regards,
Marc Meumann