Hello,
Is it possible to have an Axes to display only tick marks an no labels? It looks like when I set labels visible to false the ticks go away!!! I am using TeeChart 8.06
Regards
Axis Ticks with no Labels
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Axis Ticks with no Labels
Hi johnnix,
You could set labels to an empty string o a blank-spaced string in the OnGetAxisLabel event.
You could set labels to an empty string o a blank-spaced string in the OnGetAxisLabel event.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Axis Ticks with no Labels
Hello Narcis,
Thank you very much for your reply. I need to hide labels on Top and Right axes so I use the following code on the OnGetAxisLabel:
Is this correct?
Regards
Thank you very much for your reply. I need to hide labels on Top and Right axes so I use the following code on the OnGetAxisLabel:
Code: Select all
if (TChartAxis(sender).ParentChart.RightAxis = TChartAxis(sender)) or
(TChartAxis(sender).ParentChart.TopAxis = TChartAxis(sender)) then
labeltext := '';
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Axis Ticks with no Labels
Hi johnnix,
Yes, but there's no need to typecast Sender argument, for example:
Yes, but there's no need to typecast Sender argument, for example:
Code: Select all
if (Sender = Sender.ParentChart.Axes.Right) or
(Sender = Sender.ParentChart.Axes.Top) then
LabelText := '';
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |