Hello Narcis,
thank you for your suggestion, I will give it a try.
Kind regards,
Guido
TQRChart axis scaling problems
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TQRChart axis scaling problems
Hi Guido,
Finally got some time to prepare an environment similar to yours and test your application. I used latest TeeChart 2013.09.131119 release with CodeGear RAD Studio 2007 and QuickReport 5.02. Had to remove some references from your project for it to compile, eg.: util.lib. Finally, when I click "Create chart frame" in the menu I get the error message below. Same occurs with "Start background export". After that, the error message starts appearing continuously until I cancel project's execution. Didn't you get that?
Is that what I am supposed to do? And what about the results you expected? If there's anything different I should do please let me know, I'll be glad to test it.
Thanks in advance.
Finally got some time to prepare an environment similar to yours and test your application. I used latest TeeChart 2013.09.131119 release with CodeGear RAD Studio 2007 and QuickReport 5.02. Had to remove some references from your project for it to compile, eg.: util.lib. Finally, when I click "Create chart frame" in the menu I get the error message below. Same occurs with "Start background export". After that, the error message starts appearing continuously until I cancel project's execution. Didn't you get that?
Finally, after some time without stopping project's execution, I got this other error message:---------------------------
Project1
---------------------------
Cannot focus a disabled or invisible window.
---------------------------
OK
---------------------------
This makes me think with some sort of application permissions issue so, I tried executing the project's .exe outside C++ Builder 2007 with the "Run as administrator" option. When I choose "create chart frame" I get the first error message once. After that I get an image like this:---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EOSError with message 'A call to an OS function failed'.
---------------------------
Break Continue Help
---------------------------
Is that what I am supposed to do? And what about the results you expected? If there's anything different I should do please let me know, I'll be glad to test it.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TQRChart axis scaling problems
Hello Narcis,
no, I did not get any error messages at all.
The chart is fine, that´s what it should look like. When you choose Create chart frame from the main menu a child window will be created which will then export the chart to the root directory C:\ using the QuickReport and TQRChart components. When you choose Star background export the export will be executed periodically, giving you the opportunity to minimize the main window. You will notice the exported images look different, depending on the state of the main window.
Hope this helps,
Guido
no, I did not get any error messages at all.
The chart is fine, that´s what it should look like. When you choose Create chart frame from the main menu a child window will be created which will then export the chart to the root directory C:\ using the QuickReport and TQRChart components. When you choose Star background export the export will be executed periodically, giving you the opportunity to minimize the main window. You will notice the exported images look different, depending on the state of the main window.
Hope this helps,
Guido
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TQRChart axis scaling problems
Hi Guido,
http://stackoverflow.com/questions/1523 ... ble-window
http://www.delphipages.com/forum/showth ... p?t=114234
Looks like this is the problem:OCS wrote: no, I did not get any error messages at all.
http://stackoverflow.com/questions/1523 ... ble-window
http://www.delphipages.com/forum/showth ... p?t=114234
Ok, besides the error message and having to close error windows continuously, the chart exports as in the image I posted regardless minimizing main or child windows. My recommendation would be to try to set up a test environment with latest Quick Report and TeeChart versions to check whether it solves the problem for you. Alternatively you could use the workaround I suggested here.OCS wrote: The chart is fine, that´s what it should look like. When you choose Create chart frame from the main menu a child window will be created which will then export the chart to the root directory C:\ using the QuickReport and TQRChart components. When you choose Star background export the export will be executed periodically, giving you the opportunity to minimize the main window. You will notice the exported images look different, depending on the state of the main window.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TQRChart axis scaling problems
Thanks for your efforts, Narcis.
I will upgrade TeeCharts/QuickReport as soon as Embarcadero uses the clang/LLVM compiler for 32 bit applications. Since the really weird export happens only occasionally I can live with it for a while. I do not want to use the workaround you suggested because the export image will be stretched and looks somewhat ugly.
Kind regards,
Guido
I will upgrade TeeCharts/QuickReport as soon as Embarcadero uses the clang/LLVM compiler for 32 bit applications. Since the really weird export happens only occasionally I can live with it for a while. I do not want to use the workaround you suggested because the export image will be stretched and looks somewhat ugly.
Kind regards,
Guido