negative left axis error

TeeChart for ActiveX, COM and ASP
Post Reply
Mike
Newbie
Newbie
Posts: 40
Joined: Wed Jan 28, 2004 5:00 am

negative left axis error

Post by Mike » Tue Mar 09, 2004 12:39 pm

hello,

is there a bug in TeeChart 6 Pro ActiveX? I try to set the maximum of left axis to -800 and minimum to -1000, and the error message given is:

Error: Axis Maximum Value must be >= Minimum

I read data values from my serial port, and they are about -900 all the time.

The code:

With TChart1.Axis.Left
.Automatic = False
.Maximum = -800
.Minimum = -1000
End With

Mike

Mike
Newbie
Newbie
Posts: 40
Joined: Wed Jan 28, 2004 5:00 am

found solution

Post by Mike » Tue Mar 09, 2004 1:01 pm

hih, sorry about the previous message. After reading the manual I found the SetMinMax function that seemed to do the trick. I was too anxious to post the message; that's due to enormous rush in our project ;-)

Mike

Post Reply