Hi,
I'm using:
TeeChart.Net Version 3.5.3371.26406
VS2010 - VB.Net
Window 7-32bit
When I un-check a series (FastLine), the associated custom axis labels are automatically set to invisible.
I also need the Title and axis line to become invisible as well.
Image SS1.png shows the result of un-checking a trace.
Image SS2.png shows what I need it to look like.
SS2.png was achieved by accessing the Editor and setting setting the Custom0, Custom1, & Custom2 axes on the Panel to Invisible. (See SS3.png)
I have included these 3 screenshots in the project that I uploaded.
Can you assist?
Custom Axis Visibility Issue
Custom Axis Visibility Issue
- Attachments
-
- Test.Zip
- (165.11 KiB) Downloaded 770 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Custom Axis Visibility Issue
Hello,
You could try something like this:
You could try something like this:
Code: Select all
TChart1.Axes.Bottom.Increment = cc
AddHandler TChart1.BeforeDrawAxes, AddressOf BeforeDraw
TChart1.Draw()
End Sub
Private Sub BeforeDraw(sender As Object, g As Graphics3D)
TChart1.AutoRepaint = False
For i = 0 To 2
If (TChart1.Series(i).CustomVertAxis IsNot Nothing) Then
TChart1.Series(i).CustomVertAxis.Visible = TChart1.Series(i).Active
End If
Next i
TChart1.AutoRepaint = True
End Sub
Best Regards,
Christopher Ireland / 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: Custom Axis Visibility Issue
Thank you Christopher,
That's exactly what I needed!
That's exactly what I needed!