Highlight Y Axis Label when Mouse Over Plot Line

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

plotter
Posts: 41
Joined: Thu Apr 06, 2017 2:29 am

Highlight Y Axis Label when Mouse Over Plot Line

Post by plotter » Fri Apr 07, 2017 1:17 pm

Hello Everybody (My First Post),

I have 15 line plots in 4 view segments and need to identify the Y axis when hovering over the plot line with mouse.
Highlighting the Y Axis Label when the respective plot is highlighted would be great.
Also, highlighting the plot line when mouseover the y Axis label, or better yet the Y Axis scale would be HUGE benefit for me.
(Winforms)

This functionality would be VERY useful.

Thanks

H

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Highlight Y Axis Label when Mouse Over Plot Line

Post by ArctionPasi » Fri Apr 07, 2017 6:46 pm

Hi,
I have 15 line plots in 4 view segments and need to identify the Y axis when hovering over the plot line with mouse.
Highlighting the Y Axis Label when the respective plot is highlighted would be great.
You can do that by using series.MouseOverOn event handler. You can highlight the Y axis title of this series pretty much like the following:
chart.ViewXY.YAxes[senderSeries.AssignYAxisIndex].Title.Color = highlightColor.

And you can use MouseOverOff to deactivate the highlight.

Also, highlighting the plot line when mouseover the y Axis label, or better yet the Y Axis scale would be HUGE benefit for me.
(Winforms)
You can use Yaxis.Title.MouseOverOn and highlight the preferred series there. Also you can use YAxis.MouseOverOn event.

I hope this helps ;)
LightningChart Support Team, PT

plotter
Posts: 41
Joined: Thu Apr 06, 2017 2:29 am

Re: Highlight Y Axis Label when Mouse Over Plot Line

Post by plotter » Sat Apr 08, 2017 1:06 am

Awesome!!!
Thank You!