Page 1 of 1

Show Chart Editor

Posted: Sat Dec 25, 2010 12:48 am
by 9345273
Is there any way to bring up the chart editor at runtime using Teechart standard that comes with Delphi 2010. I noticed that the chart editor can be shown at design time by right clicking on a chart. How can I do the same thing at runtime?

Thanks
Herbert

Re: Show Chart Editor

Posted: Mon Dec 27, 2010 10:00 am
by narcis
Hi Herbert,

Have you tried using unit EditChar in your unit and call EditChart? For example:

Code: Select all

  EditChart(Self,Chart1);

Re: Show Chart Editor

Posted: Mon Dec 27, 2010 4:13 pm
by 8571714
Yes I have but there seem to be files missing. When I a EditChar to uses I get the error message:

[DCC Fatal Error] ufGraph.pas(17): F1026 File not found: 'TeeMargins.dcu'.

There are a number places where this happens, eg uses TeExport gives:

[DCC Fatal Error] ufGraph.pas(17): F1026 File not found: 'TeeStringsEditor.dcu'

I am using Delphi 2010 Professional with a standard installation.

Herbert

Re: Show Chart Editor

Posted: Tue Dec 28, 2010 10:07 am
by narcis
Hi Herbert,

Sorry, the chart editor at runtime is only available with TeeChart Pro versions. The version included with RAD Studio 2010 is TeeChart v8 Standard VCL.

Apologies for the confusion created.

Re: Show Chart Editor

Posted: Wed Dec 29, 2010 4:07 pm
by 8571714
Thanks, that's what I suspected, I just needed confirmation.

Herbert Sauro