Page 1 of 1

OnGetSeriesMark event not called when using print preview

Posted: Tue Oct 16, 2007 7:40 am
by 9526464
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

Posted: Tue Oct 16, 2007 8:06 am
by narcis
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!

Posted: Wed Oct 17, 2007 1:06 am
by 9526464
The attachment downloaded ok from the newsgroup for me - should I re-send?

- James

Posted: Wed Oct 17, 2007 8:38 am
by narcis
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!

Posted: Mon Oct 22, 2007 1:18 pm
by Pep
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.