MinVisibleValue MaxVisibleValue functions

TeeChart for ActiveX, COM and ASP
Post Reply
nefis
Newbie
Newbie
Posts: 62
Joined: Wed Oct 22, 2003 4:00 am
Location: chicago

MinVisibleValue MaxVisibleValue functions

Post by nefis » Thu Dec 18, 2003 7:49 am

Hello,
is my understanding correct that the functions include in Min/Max calculations points marked with clNone color, that is unvisible points?

nefis

nefis
Newbie
Newbie
Posts: 62
Joined: Wed Oct 22, 2003 4:00 am
Location: chicago

Post by nefis » Thu Dec 18, 2003 3:05 pm

so?

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Dec 19, 2003 10:32 am

Hi Nefis,

The following code shows that points with clnone are involved in MinVisibleSeriesValue calculations :

Code: Select all

Private Sub Form_Load()
With TChart1
    .AddSeries scLine
    
    For i = 0 To 10
        .Series(0).AddXY i, Rnd * 100, "", clNone
    Next i
    For j = 11 To 20
        .Series(0).AddXY j, Rnd * 100, "", clTeeColor
    Next j
    
    .Axis.Bottom.SetMinMax 5, 15
End With
End Sub

Private Sub Command1_Click()
MsgBox TChart1.Axis.Bottom.MinVisibleSeriesValue(True, 0)
End Sub
Josep Lluis Jorge
http://support.steema.com

Post Reply