what happen in Cursor Event?
Posted: Tue Jun 08, 2004 7:54 am
Code: Select all
procedure TFrmChartBase.Cursor2Change(Sender: TCursorTool; x, y: Integer;
const XValue, YValue: Double; Series: TChartSeries; ValueIndex: Integer);
begin
if (Series1.Count > 0) and (Series1.XValues.MinValue <= XValue) then
Annotation1.Text := FormatFloat('#', Series1.YValues[Trunc(XValue)]);
end;
please help me