TChartSeries->Clicked(X,Y)
TChartSeries->Clicked(X,Y)
Hi. How can I know when mouse cursor entered series without recourse function Clicked(X,Y) ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi vvv,
You can use series OnMouseEnter and OnMouseLeave events:
You can use series OnMouseEnter and OnMouseLeave events:
Code: Select all
void __fastcall TForm1::Series1MouseEnter(TObject *Sender)
{
Chart1->Title->Text->Clear();
Chart1->Title->Text->Add("Mouse in Series");
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Series1MouseLeave(TObject *Sender)
{
Chart1->Title->Text->Clear();
Chart1->Title->Text->Add("Mouse out of Series");
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Message
Event OnMouseEnter also called Clicked(X,Y).
I`m setting specific zoom so as no points are visible.
And now How can I know when mouse cursor entered series?
I`m setting specific zoom so as no points are visible.
And now How can I know when mouse cursor entered series?