XValueIndex and XValue
Posted: Fri Aug 29, 2008 6:13 am
Hi!
I have some series
how i can get XValueIndex by XValue?
I need some function like this
I have some series
Code: Select all
...
series1.HorizAxis := aBottomAxis;
series1.XValues.DateTime := true;
...
I need some function like this
Code: Select all
var
dt: TDateTime;
vValueIndex: integer;
begin
...
dt := StrToDateTime('21.11.2008 11:00');
vValueIndex := someFunction(dt);
...
end;