ChartEdit Tools and Annotation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
kjm
Newbie
Newbie
Posts: 7
Joined: Tue Apr 26, 2011 12:00 am

ChartEdit Tools and Annotation

Post by kjm » Wed Apr 10, 2013 3:48 am

C++ XE3, TeeChart Pro v2012.07.121105

These are newly discovered problem, but not sure what version of C++ or TeeChart it happened.

First:

Create a new form, put TChart and TChartEditor on it. Run. Call the editor and the Tools option is missing.

Include VCLTee.TeeTools.hpp. No help.
add #pragma link "VCLTee.TeeTools" and the Tools tab appears.

Do I now need to add these manually when I include the ChartEditor?

Second problem, more important:

At run time, under Tools / Annotation there is no edit panel for entering or editing text. it is completely blank.
At design time, this feature works and annotations can be edited

Re-installed TeeChart. No help.

Is there a new setting that I am missing to enable Annotation editing?

My users need to edit annotations in the app at runtime.

Thanks in advance.

Kevin

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

Re: ChartEdit Tools and Annotation

Post by Yeray » Wed Apr 10, 2013 2:56 pm

Hi Kevin,
kjm wrote:First:

Create a new form, put TChart and TChartEditor on it. Run. Call the editor and the Tools option is missing.

Include VCLTee.TeeTools.hpp. No help.
add #pragma link "VCLTee.TeeTools" and the Tools tab appears.

Do I now need to add these manually when I include the ChartEditor?
Right. I think this happened also in TeeChart VCL v8. Are you sure it was different with any version?
kjm wrote:Second problem, more important:

At run time, under Tools / Annotation there is no edit panel for entering or editing text. it is completely blank.
At design time, this feature works and annotations can be edited

Re-installed TeeChart. No help.

Is there a new setting that I am missing to enable Annotation editing?

My users need to edit annotations in the app at runtime.
Add this too:

Code: Select all

#pragma link "VCLTee.TeeAnnToolEdit"
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

kmanuele
Newbie
Newbie
Posts: 1
Joined: Thu Jan 03, 2013 12:00 am

Re: ChartEdit Tools and Annotation

Post by kmanuele » Wed Apr 10, 2013 3:59 pm

Thanks for the quick response.

Apps and code from 2011 shows tools enabled and runtime annotation editing with none of those includes or pragma links, so they must have been automatic at one time.

Also, can you explain how to add more export options to TChartEditor at runtime? PDF, specifically.

Is there any support documentation on these topics? The help files are not much help

Thanks again

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

Re: ChartEdit Tools and Annotation

Post by Yeray » Thu Apr 11, 2013 8:02 am

Hi,
kmanuele wrote:Apps and code from 2011 shows tools enabled and runtime annotation editing with none of those includes or pragma links, so they must have been automatic at one time.
It would be helpful if you could tell us what exact TeeChart version was the one that showed these tabs without needing to add the mentioned includes/pragma links.
kmanuele wrote:Also, can you explain how to add more export options to TChartEditor at runtime? PDF, specifically.
The exportation dialog to PDF is defined in TeePDFCanvas.
kmanuele wrote:Is there any support documentation on these topics? The help files are not much help
In the "Tutorial 12 - Exporting and Importing Charts" you can see the list of export formats and examples of some of them (JPEG, GIF, PNG).
In these examples it's indicated what unit you have to add to use them.
For the rest of export formats, you could click on them and navigate through the help to the unit where they are declared.
Also, being a source code customer, you could just search (ie for "pdf") in the TeeChart sources to know in what unit the exportation dialog to pdf is declared.
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