Hello,
I have a problem to generate a bitmap of a TeeChart in a WebModule.
See in attachment a simple project that generate the error.
I use 2 methods to create the Bitmap:
First, the "old" method with a Chart.Draw
Then, with the TeeCreateBitmap function.
I have try with Teechart 2014 & the last 2015.
I have install the source code and the exception raises in VCLTee.TeeGDIPlus in TGDIPlusCanvas.RecreateGraphics because status = 3
Run the program, Press "Start", then Press "Open IE" and do Refresh IE (F5) several times to get the error.
It worked in the past with the Draw method (with Delphi 2010 + TeeChart ? (before GDIplus canvas))
Best regards,
Laurent.
Use of TeeCreateBitmap in WebModule
Use of TeeCreateBitmap in WebModule
- Attachments
-
- TeeWebBroker.zip
- (9.41 KiB) Downloaded 448 times
Re: Use of TeeCreateBitmap in WebModule
Have you try the example ?
I really need to upgrade my applications to Delphi XE6 + Teechart 2015.
Best regards,
Laurent.
I really need to upgrade my applications to Delphi XE6 + Teechart 2015.
Best regards,
Laurent.
Re: Use of TeeCreateBitmap in WebModule
Hi Laurent,
Note if you give the focus to the application before each refresh in the browser (F5), it doesn't crash. Could you please confirm it?
You can do it at designtime or at runtime. See this post to see different ways to do it..
I could reproduce the problem here.lolo31 wrote:Run the program, Press "Start", then Press "Open IE" and do Refresh IE (F5) several times to get the error.
Note if you give the focus to the application before each refresh in the browser (F5), it doesn't crash. Could you please confirm it?
Here we have a workaround that may be acceptable for you: Changing the Canvas back to GDI.lolo31 wrote:It worked in the past with the Draw method (with Delphi 2010 + TeeChart ? (before GDIplus canvas))
You can do it at designtime or at runtime. See this post to see different ways to do it..
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |