LegendBox and SeriesTitleMouse*

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
User avatar
vrmitch
Posts: 21
Joined: Thu Oct 09, 2014 6:19 pm

LegendBox and SeriesTitleMouse*

Post by vrmitch » Thu Oct 09, 2014 6:48 pm

Hello,

I'm having difficulties getting the SeriesTitleMouse[anything] events on LegendBoxXY to work. I'm in an MVVM environment so I first tried with commands, then with eventhandlers. The event handlers don't appear to fire. Is there a trick to getting that to work? I have a requirement to allow drag/drop with individual series titles or, failing that, providing a contextmenu to copy the title instead.

Thanks,

Mitch

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

Re: LegendBox and SeriesTitleMouse*

Post by ArctionPasi » Thu Oct 09, 2014 7:33 pm

Hi,

set LegendBox.MoveFromSeriesTitle = false, and they SeriesTitle* events fire.
LightningChart Support Team, PT

User avatar
vrmitch
Posts: 21
Joined: Thu Oct 09, 2014 6:19 pm

Re: LegendBox and SeriesTitleMouse*

Post by vrmitch » Thu Oct 09, 2014 8:02 pm

It would seem that no matter what I set that to, it still moves the legend by the series titles and doesn't fire the events.

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

Re: LegendBox and SeriesTitleMouse*

Post by ArctionPasi » Fri Oct 10, 2014 11:03 am

You are right. WPF chart has a problem :? I tested with WinForms chart and there it was OK. We'll fix this asap.
LightningChart Support Team, PT

User avatar
vrmitch
Posts: 21
Joined: Thu Oct 09, 2014 6:19 pm

Re: LegendBox and SeriesTitleMouse*

Post by vrmitch » Fri Oct 10, 2014 12:29 pm

Excellent, thank you!

Is there any possibility of drag/drop support for individual series titles in the future?

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

Re: LegendBox and SeriesTitleMouse*

Post by ArctionPasi » Fri Oct 10, 2014 1:33 pm

When the SeriesTitle* mouse events work, you should be able to use .NET's drag-drop routines together with these events to do the things you want to do.
LightningChart Support Team, PT

User avatar
vrmitch
Posts: 21
Joined: Thu Oct 09, 2014 6:19 pm

Re: LegendBox and SeriesTitleMouse*

Post by vrmitch » Fri Oct 10, 2014 2:02 pm

Looking forward to it. Thanks again!

User avatar
vrmitch
Posts: 21
Joined: Thu Oct 09, 2014 6:19 pm

Re: LegendBox and SeriesTitleMouse*

Post by vrmitch » Wed Oct 15, 2014 2:52 pm

Patch appears to be a partial fix... I can get it to fire the SeriesTitleMouseMoveOverOn and -Off, but can't seem to fire any of the other events... I've already looked through my other stuff and it doesn't appear to be overriding the click behavior anywhere...

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

Re: LegendBox and SeriesTitleMouse*

Post by ArctionPasi » Thu Oct 16, 2014 1:23 pm

You are probably using View3D... We will sort this problem out asap. Apologies for the trouble.
LightningChart Support Team, PT

jeffmvr
Posts: 12
Joined: Fri Oct 10, 2014 5:25 pm

Re: LegendBox and SeriesTitleMouse*

Post by jeffmvr » Fri Oct 17, 2014 2:30 pm

This is still not working as intended - I have double checked myself and the patch doesn't fix double click on the series title within the legend box

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

Re: LegendBox and SeriesTitleMouse*

Post by ArctionPasi » Fri Oct 17, 2014 5:09 pm

This was fixed in v. 6.2.3 today, we've sent the download links for the subscribers.
LightningChart Support Team, PT

jeffmvr
Posts: 12
Joined: Fri Oct 10, 2014 5:25 pm

Re: LegendBox and SeriesTitleMouse*

Post by jeffmvr » Fri Oct 17, 2014 8:46 pm

I tried today's release as well - can you double check that it works because I don't believe it does

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

Re: LegendBox and SeriesTitleMouse*

Post by ArctionPasi » Sat Oct 18, 2014 8:09 am

Hi,

I've made a test app, for ViewXY and View3D, using 6.2.3 version.
LegendBoxSeriesTitleWPFTest.zip
LegendBox SeriesTitle* events test app, WPF, VS2010.
(14.09 KiB) Downloaded 519 times
When running the app, and clicking on legend box series title, the events fire.
Legendbox SeriesTitle* events firing
Legendbox SeriesTitle* events firing
LegendboxSeriesTitleEventsFiring.jpg (188.8 KiB) Viewed 26282 times
Remember to set LegendBox.MoveFromSeriesTitle = false.
LightningChart Support Team, PT

Post Reply