AV when assigning big images to walls

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Markus
Newbie
Newbie
Posts: 12
Joined: Wed Jan 07, 2009 12:00 am

AV when assigning big images to walls

Post by Markus » Wed Jan 21, 2009 9:44 am

Hi,

when I assign a large image (1280 x 1024) to a wall I get an AV. The debugger indicates that the problem is in TeCanvas, Line 3495.

Steps to reproduce:

Put a Tchart on a Form and a TImage. Load an image into the Timage and assign it to one of the walls:

Chart1.BottomWall.Picture.Assign(Image1.Picture);

Btw IIRC the same happens for the ImageTool.

TChart Source version 8.04, Delphi 2009 with all updates

Best regards,

Markus

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 21, 2009 10:08 am

Hi Markus,

Thanks for reporting. I have been able to reproduce the problem here and added it (TV52013764) to the defect list to be fixed. It seems it's a D2009 specific bug. It works in Delphi 7, for example.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Markus
Newbie
Newbie
Posts: 12
Joined: Wed Jan 07, 2009 12:00 am

Post by Markus » Wed Jan 21, 2009 10:27 am

Wow, I am impressed - that was a quick answer. Thanks

Markus

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 21, 2009 12:00 pm

Hi Markus,

I found that assigning the image directly to the wall using the chart editor works fine too.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Markus
Newbie
Newbie
Posts: 12
Joined: Wed Jan 07, 2009 12:00 am

Post by Markus » Wed Jan 21, 2009 12:09 pm

Hi Narcis,

how do you mean assigning it via the chart editor?
Do you mean assigning an image to the fill pattern?
If that is the case, this is not the same as assigning to the picture property.

Btw, I think that the Picture property of the walls never made it into the chart editor.

Markus

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 21, 2009 12:13 pm

Hi Markus,

Yes, exactly, assigning the image via the pattern editor.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Markus
Newbie
Newbie
Posts: 12
Joined: Wed Jan 07, 2009 12:00 am

Post by Markus » Wed Jan 21, 2009 12:25 pm

As I said in my last post, the pattern image is not the same as the picture for a wall. I think you should also add this new picture property to the chart editor, for the sake of completness.

markus

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 21, 2009 12:27 pm

Hi Markus,

Ok, I've added this to the list too.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply