Exported JPG chart image shows incomplete chart & axis

TeeChart for ActiveX, COM and ASP
Post Reply
cwdave
Newbie
Newbie
Posts: 42
Joined: Fri Nov 15, 2002 12:00 am

Exported JPG chart image shows incomplete chart & axis

Post by cwdave » Tue Jan 08, 2008 5:55 pm

My program exports chart images to JPEG files. It's been working fine for a long time. Once recently, and only once, the image shows only the simple rectangular line border, two (correct) vertical X-axis labels at the right, and one more horizontal axis label (just to their left). There is the correct X-axis title, "Hour". Nothing else. No more labels. No series lines. No legend. No axis tick marks. No Y-axis title.

Has anyone seen this behavior before? We can't reproduce it.

It's as if the TeeChart engine simply got tired, decided to stop in the middle of its drawing, it half-heartedly put out the last incorrect horizontal label, then quit. The JPG image file format is not corrupted. The drawing is simply incomplete.

We are deeply concerned that this could happen again, which could erode our trust in the TeeChart control.

We're running TeeChart ActiveX 6.0.0.6 within ASP web pages under Windows Server 2003. The TeeChart control is running on the server, not the browser.

Thanks for your help on this odd problem.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jan 14, 2008 11:24 am

Hi,
Has anyone seen this behavior before? We can't reproduce it.
No, that I remember, no one customer complained about it.

Did the Chart only miss an specific part which was coded separately (in a method) ? or, maybe specific lines of the script which was used to configure the Chart ?
It's really strange problem, and also difficult to verify if you cannot reproduce it for now. If the problem happens again, to know if only miss part of script which configures the chart or altogether, would help.

MikeD
Newbie
Newbie
Posts: 30
Joined: Mon Jun 25, 2007 12:00 am

Post by MikeD » Mon Sep 08, 2008 2:46 pm

I have been seeing this. I do not see this if I create only one exported chart. If I export two in quick succession, I see this problem about once out of every two times. The problem is not limited to JPEG, but occurs when using other export formats.

In some cases, I will get an exception thrown. The exceptions have been either Invalid Handle, or TCanvas does not permit drawing. In other cases, I get no exception and one of the reports is bad.

I am running this in my application and it can be readily reproduced. However, I am not sure I can get this to a test case. I will try today.

Post Reply