Index

Subject: Re: Problem with Locate:
From: tantrum@off-club.com (Newsgroups)  Steema Software SL
Newsgroup: steema.public.teechart6.activex  
Date: Fri, 30 Apr 2004 18:46:12 +0200

Newsgroups wrote:

> Hello!
> I have some problems with Locate function.
> I am trying to get the index of Series value corresponding to
> the minimum visible bottom axis value.
> I get minimum visible axis value with GetAxis().GetBottom().GetMaximum()
> then I put recieved value to the Locate function.
> But it returns -1 .
> What`s wrong? How I can get series value corresponding to
> the minimum visible value of bottom axis?

> PS: sorry for bad english...

Here is code:

miny=GetAxis().GetRight().GetMinimum();
ttt=Series(0).GetYValues().Locate(miny); //returns -1


What can I do to fix this problem?