Page 1 of 2

Can't Print TeeChart Image

Posted: Fri Jan 20, 2006 6:51 am
by 9639283
I have 2 problems when using TeeChart, please help.

1. My chart using 2 series, one polar and one pie, the pie chart is smaller and place in the front. The polar chart is bigger and stay in the back.
But after I download a new release(22nd Dec. 2005 ) of teechart from your web site, there are some errors appear on my chart. The Pie chart in the front and all fonts enlarged. Please help to check what's the problem with the new release.

2. I use TeeChart in my web application. When client user want to print the chart page, there is no chart image in the print out. Can you tell me what to do in order to let user print the chart.

Posted: Fri Jan 20, 2006 12:28 pm
by narcis
Hi Foon Lui,

Could you please send us an example we can run "as-is" to reproduce those problems here?

You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.

Thanks in advance.

Posted: Thu Jan 26, 2006 9:49 am
by 9639283
Dear Sir,

When I try to do "Print Preview" in IE, I can't see the chart image. And also I can't print the image. It's not happen to all machine in my office. But it happens to all machines in my client's office. I have no idea why this happen. Do you have any idea about it?
I have post the attached document to public server to show the screen dump. I think it can help u to get the idea. The post subject is "Can't print and preview print with IE".

Thanks alot for help.

Best,
Foon Lui

Posted: Thu Jan 26, 2006 11:56 am
by narcis
Hi Foon Lui,

Can you please try doing the same using an image not being a TeeChart image and let us know how it goes?

Thanks in advance.

Posted: Tue Feb 07, 2006 3:20 am
by 9639283
Dear Sir,

I can view the images other than TeeChart image in 'Print Preview' mode.

Can you let me know the information / system configuration you need to fasten your investigation?

Thanks!

Posted: Wed Feb 08, 2006 1:11 pm
by narcis
Dear Foon Lui,

I've received an e-mail with an example showing the first problem which we confirm as a bug (TF02011235) which I've added on our defect list to be fixed for future releases.

Regarding the Print preview issue, it works fine here doing File>Print Preview in Internet Explorer. What should we do to reproduce this issue here?

Posted: Fri Feb 10, 2006 8:38 am
by 9639283
Dear Sir,

For the Print Preview problem:

When I right-click the picture and save it as image, the saved file is not an image file. The file contains some html codes.

I've tried the same thing in a machine which do not have 'Print Preview' problem with TeeChart image. The saved file is a .png image file and can be opened and viewed by image viewing tool.

I've uploaded the saved file at at news://www.steema.net/steema.public.attachments for your reference.

Thanks!

Posted: Fri Feb 10, 2006 12:02 pm
by narcis
Dear Foon Lui,

It works fine here using IE 6.0.3790.1830, running a WebForm with a WebChart object on it and then saving it to a file IF you name the file as a *.png file.

Posted: Wed May 30, 2007 6:11 am
by 9643960
I'm having the same problem exactly with printing not working.

The problem only occurs in internet explorer, not firefox.
I'm using version 6.0.2900.2180 of IE.

When i right click the image, and choose save picture as, i get this in IE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>GetChart</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>

<form name="ctl00" method="post" action="GetChart.aspx?Chart=chart1722010116439232668080081" id="ctl00">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTUxMTcwNzgxMGRkjnw+P+sgeQSU26kEDAVsN7VyXYc=" />
</div>


</form>

</body>
</HTML>

When I do the same in firefox, i get the image.

Regards,
Pratty

Posted: Wed May 30, 2007 8:58 am
by narcis
Hi Pratty,

Images Webchart generate are .png format. Have you tried saving the image as .png as I suggested to Foon Lui in my last reply?

Thanks in advance.

Posted: Wed May 30, 2007 10:59 pm
by 9643960
Hi Narcís,

No, that's what I did to get the results as in my previous email.

I'm wondering whether its a bug in the version of internet explorer I'm using. I noticed that you're using a newer version than me.

cheers,
Pratty

Posted: Thu May 31, 2007 1:25 am
by 9643960
I've just installed IE7, and am still getting the same problem. IE doesn't seem to recognise that the url http://myserver/GetChart.aspx?Chart=cha ... 4715267824
is pointing to an image. Therefore printing and right click - save image won't work, but only in internet explorer. Works perfectly in Firefox and Opera.

I should mention that I'm using the Session based implementation of GetChart.aspx.

regards,
Pratty

Posted: Thu May 31, 2007 7:24 am
by narcis
Hi Pratty,

There are a couple of known issues which may be related to the problems you are having:
I've just installed IE7, and am still getting the same problem. IE doesn't seem to recognise that the url http://myserver/GetChart.aspx?Chart=cha ... 4715267824
is pointing to an image.
There's an issue, reported here, about the chart file extension not being passed at the URL. However, this is an issue with TempChart set to File. Otherwise WebChart applications work fine here in IE7. If the problem persists, could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or a our upload page.
Therefore printing and right click - save image won't work, but only in internet explorer. Works perfectly in Firefox and Opera.
This is another issue also reported in the forums.

Regarding printing, have you tried printing using the browser's printing functionality?

Thanks in advance.

Posted: Fri Jun 01, 2007 1:19 am
by 9643960
Hi Narcís,

I have tried printing. In Firefox and Opera it works, but in IE, the chart image show up with the missing image icon in the print preview and is missing in the actual print output.

regards,
Pratty

Posted: Fri Jun 01, 2007 7:31 am
by narcis
Hi Pratty,

It works fine for me here using IE7 and its printing features. How are you printing the charts?

Thanks in advance.