Page 1 of 1

sepatate TChartCustomAxes

Posted: Wed Sep 03, 2008 12:35 pm
by 10547029
Hi!
How I can get separate TChartCustomAxes object?
I`v problem with TChartCustomAxes.Create ...

Code: Select all

var
 CustHorizAxes: TChartCustomAxes;
begin
....
CustHorizAxes := TChartCustomAxes.Create( ???? );


Posted: Wed Sep 03, 2008 1:11 pm
by narcis
Hi msd48,

Could you please read Tutorial 4 - Axis Control? There you'll find an example of custom axes creation at runtime. Tutorials can be found at TeeChart's program group created by binary installers.

Posted: Wed Sep 03, 2008 2:11 pm
by 10547029
Hi, Narcís

Thanks for the tip :)
But it does`nt helpfull ...

I try to explain.
It`s not convenient to me to use chart.CustomAxes[index] ...
It`s all because of the index.

I think that it will be beter for me to use separate TChartCustomAxes object.
In my project there are some CustomHorizontAxes and CustomVerticalAxes.

I decide use chart.CustomAxes for my VerticalAxes.
So, I need another object for my CustomHorizontAxes.

Сan you propose another way?

Posted: Wed Sep 03, 2008 2:17 pm
by narcis
Hi msd48,

Sorry but I don't understand which is your exact problem. Could you please give us some more details about it?

Thanks in advance.