OnGetSeriesMark event not called when using print preview

TeeChart for ActiveX, COM and ASP
Post Reply
Andrew FT
Newbie
Newbie
Posts: 32
Joined: Thu Mar 31, 2005 5:00 am
Location: Toronto, Canada

OnGetSeriesMark event not called when using print preview

Post by Andrew FT » Tue Oct 16, 2007 7:40 am

I am attempting to store some extra data for each point of a series using the Label field. In the OnGetSeriesMark event, I mask the extra data in the Label so it does not display. However, when I click on the Print icon in the TeeCommander and the print preview window is displayed, and the OnGetSeriesMark event apparently does not get called because the extra data shows as part of the Label on the chart, on the print preview window, and the resulting printout.

This effect does not occur if I use the TeeChart.Printer.PrintPartialHandle method call.

I am using TeeChart ActiveX v7.0.1.4.

I will upload a sample project with a sample chart showing this effect to the attachments newsgroup.

Is there any other way of storing a long integer against each point in a series?

Thanks,
- James

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

Post by Narcís » Tue Oct 16, 2007 8:06 am

Hi James,

I'm afraid you forgot to attach the example project you mentioned at the newsgroups. Could you please check it?

Thanks in advance!
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

Andrew FT
Newbie
Newbie
Posts: 32
Joined: Thu Mar 31, 2005 5:00 am
Location: Toronto, Canada

Post by Andrew FT » Wed Oct 17, 2007 1:06 am

The attachment downloaded ok from the newsgroup for me - should I re-send?

- James

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 Oct 17, 2007 8:38 am

Hi James,

Yes, please. I can't see it in the newsgroups :(. Alternatively you could post your files at our upload page.

Thanks in advance!
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

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

Post by Pep » Mon Oct 22, 2007 1:18 pm

Hi James,

to get the TeeChart events activated in the PrintPreview you will have to create the EXE of the application, I've just check it with the EXE of the zip and worked fine.

Post Reply