According to the help file "The Labels Visible property shows or hide Axis Labels. Set it to False to draw the Axis Ticks and / or Grid lines only."
But if I do so both the Labels AND Grid lines disappear! GridPen.Visible is set to true.
What do I do wrong? I just want to have vertical Grid lines but no label (I use customAxis by the way).
Harry
draw GridLines without Labels
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Harry,
You can try doing something like this:
You can try doing something like this:
Code: Select all
Private Sub TChart1_OnGetAxisLabel(ByVal Axis As Long, ByVal SeriesIndex As Long, ByVal ValueIndex As Long, LabelText As String)
If (Axis = 6) Then
LabelText = ""
End If
End Sub
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 |