color of line segemnt if hovering

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
WilliE
Newbie
Newbie
Posts: 18
Joined: Mon Nov 30, 2020 12:00 am

color of line segemnt if hovering

Post by WilliE » Thu Jun 02, 2022 1:11 pm

Hello
we have a TLineSeries with hover true. How we can change the color of the hovering segment from red to an other color. We use red as line color.

Willi

Yeray
Site Admin
Site Admin
Posts: 9509
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: color of line segemnt if hovering

Post by Yeray » Thu Jun 09, 2022 5:16 am

Hello Willi,

Yes, you can change the Series' Selected.Hover.Pen properties. Ie:

Code: Select all

Series1.Selected.Hover.Pen.Color:=clGreen;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply