TeeChart 2011 with D2007 - printing not working?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Fri Jul 01, 2011 4:56 pm

Hi

My Delphi 2007 code, which under TeeChart 8.xx printed a chart (using PrintPartial) and some other information on a page now prints just the left axis and bottom axis, but no bars!

I tried writing a simple test program that added 10 random values to a bar chart and called Chart1.Print. This printed just the axes and the value marks (no bars). I added a line series. That didn't print either.

I tried the compiled Tee9New example with various charts, using the "Edit" then "Print" feature - they all print either a blank page, or just the axes.

Any ideas?

Regards,
Jamie

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2011 with D2007 - printing not working?

Post by Yeray » Mon Jul 04, 2011 10:21 am

Hello Jamie,

I think it's more related to GDI+ than the TeeChart version (note that the Tee9New in v2010 uses GDI+ by default).
Please, take a look at this thread:
http://www.teechart.net/support/viewtopic.php?t=8251
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Mon Jul 04, 2011 3:29 pm

Hi Yeray

Thanks for the tip.

It does seem to be partially to do with the GDI+, except that turning off GDI+ in Tee9New allows printing of some charts (eg "Rounded Bars" - which won't print when GDI+ is ticked), but the kind of simple bar chart I'm trying to print (eg "Negative Stacked") still won't print, whether GDI+ is ticked or not - I just see the axes ...

Please can you tell me if this is what you see?

I am not setting GDI+ to True anywhere in my code - is it True by default?

Regards,
Jamie

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2011 with D2007 - printing not working?

Post by Yeray » Wed Jul 06, 2011 9:26 am

Hello Jamie,

Could you please confirm if activating the "Smooth" checkbox in the print preview solves the problem for you?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Wed Jul 06, 2011 10:00 am

Hi Yeray

Yes, that gets it to print in Tee9New.

What would I have to set in my own code to achieve the same thing?

Thanks,
Jamie

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

Re: TeeChart 2011 with D2007 - printing not working?

Post by Narcís » Wed Jul 06, 2011 11:26 am

Hi Jamie,

You have 2 options here:

1. To reproduce smooth checkbox behavior you should use StretchDraw as I posted here.
2. Use a custom previewer as Yeray suggested here.

Hope this helps!
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

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Wed Jul 06, 2011 1:08 pm

Hi Narcis

Thanks, but I'm concerned, as I have a lot of programs that make many uses of PrintPartial (to draw multiple charts on a page, or charts with other items). This means a lots of code changes and introducing possible bugs, and that I can't recompile any old programs without checking for all instances of PrintPartial.

Is there no property I can change in TeeChart that will just make it behave the way it did before? I am only trying to print simple bar and line charts.

This was the last time PrintPartial failed, but that was fixed :-
http://www.teechart.net/support/viewtop ... intpartial

Best regards,
Jamie

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Mon Jul 11, 2011 11:16 am

Hi

No reply since my last post (five days ago). I can see a reply to a different thread, saying that this is covered by issue TV52013347, but no suggestion as to the time scale for this being resolved.

Having upgraded to v2011 to fix a different bug I am concerned that the only way around this is to make dozens (possibly hundreds) of code changes to units which have worked fine for the last several years (through multiple previous versions of TeeChart). I am reluctant to make so many changes to otherwise working code, in case I introduce different bugs.

I can't use the custom previewer solution, as some charts are being produced by automated (unattended) reports, with several charts to a page (amongst other data). The equivalent of the "smooth" option has been reported as producing inferior quality results - plus I would have to change everything back when the issue is resolved.

I added some major new features to one product, changes which had nothing to do with charts or printing, and my customers where "surprised"(!) to find they suddenly couldn't print anything!

What do I tell my customers the proposed timescale for a solution is? Is it thought to be days, weeks, or months?

Regards,
Jamie

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2011 with D2007 - printing not working?

Post by Yeray » Tue Jul 12, 2011 8:07 am

Hello Jamie,

Excuse us for the delayed reply here.
As you'vee seen here, we've incremented the [TV52013347] priority to look for a better solution asap. However, I'm afraid I can't tell you a date for this to be fixed as I'm not sure about how many changes (and the level of dificulty) will it imply.
We understand the inconvenience of applying a workaround in big/several projects but we always try to provide a workaround when we identify a bug or a feature request so the customers can achieve what they want without having to wait for a more definitive solution.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Wed Jul 27, 2011 10:57 am

Hi

It's been nearly a month now since I reported this (major) bug and I wondered if the task had been started yet and, if so, whether it has been possible to ascertain the scale of the changes needed to implement a fix?

I appreciate the difficulty in estimating how long any programming task may take but, as you said in the last message, once you have an idea of the complexity and scale of changes you should have some idea - at least in terms of guessing at days/weeks/months.

My business colleagues are have difficulty in understanding how I managed to purchase an upgrade that crippled all print functions! I just need to be able to tell them something is being done ...

Regards,
Jamie

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2011 with D2007 - printing not working?

Post by Yeray » Wed Aug 03, 2011 10:49 am

Hello Jamie,

I'm afraid I can't tell you a date for it to be fixed. The only thing I'm quite sure is that this won't be in a few days as we have some urgent issues we have to address (RAD Studio XE2 in the next corner).
Excuse us for the inconvenience.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Fri Sep 16, 2011 3:02 pm

Hi Yeray

Thanks for the explanation regarding the RAD Studio XE2 release. I appreciate how this must be occupying the majority of your development time.

However, I see that XE2 installer is almost ready and that you released an ActiveX maintenance release recently, so I wondered if there would be a VCL maintenance release in the pipeline? It has been nearly three months now since the original bug report, so I'm hoping it's high up in the queue for the next update.

Best regards,
Jamie

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

Re: TeeChart 2011 with D2007 - printing not working?

Post by Narcís » Mon Sep 19, 2011 7:12 am

Hi Jamie,

Yes, a maintenance release is planned to include XE2 support. TV52013347 is a high priority item in the list but hasn't been implemented yet.
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

Jamie
Newbie
Newbie
Posts: 20
Joined: Tue Jun 21, 2011 12:00 am

Re: TeeChart 2011 with D2007 - printing not working?

Post by Jamie » Thu Oct 13, 2011 11:40 am

Hi Yeray

It's nearly a month since my last message, so I thought I'd check again to see if there has been any progress with TV52013347?

I can see there is a lot of pressure to get the new XE release sorted, but until TV52013347 is fixed it means that anyone upgrading to the new version will still not be able to print a simple bar chart without code changes!

Please tell me that there is an end in sight for this issue ...

Best regards,
Jamie

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2011 with D2007 - printing not working?

Post by Yeray » Fri Oct 14, 2011 8:38 am

Hello Jamie,

I'm afraid I can't give you the news I'd like to. It hasn't been fixed yet.
I recommend you to be aware at the following channels for new release announcements and what's implemented on them: Support forum, RSS news feed, Twitter and Facebook.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply