LegendBox and SeriesTitleMouse*
Moderator: Queue Moderators
LegendBox and SeriesTitleMouse*
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
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
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LegendBox and SeriesTitleMouse*
Hi,
set LegendBox.MoveFromSeriesTitle = false, and they SeriesTitle* events fire.
set LegendBox.MoveFromSeriesTitle = false, and they SeriesTitle* events fire.
LightningChart Support Team, PT
Re: LegendBox and SeriesTitleMouse*
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.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LegendBox and SeriesTitleMouse*
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
Re: LegendBox and SeriesTitleMouse*
Excellent, thank you!
Is there any possibility of drag/drop support for individual series titles in the future?
Is there any possibility of drag/drop support for individual series titles in the future?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LegendBox and SeriesTitleMouse*
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
Re: LegendBox and SeriesTitleMouse*
Looking forward to it. Thanks again!
Re: LegendBox and SeriesTitleMouse*
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...
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LegendBox and SeriesTitleMouse*
You are probably using View3D... We will sort this problem out asap. Apologies for the trouble.
LightningChart Support Team, PT
Re: LegendBox and SeriesTitleMouse*
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
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LegendBox and SeriesTitleMouse*
This was fixed in v. 6.2.3 today, we've sent the download links for the subscribers.
LightningChart Support Team, PT
Re: LegendBox and SeriesTitleMouse*
I tried today's release as well - can you double check that it works because I don't believe it does
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: LegendBox and SeriesTitleMouse*
Hi,
I've made a test app, for ViewXY and View3D, using 6.2.3 version.
When running the app, and clicking on legend box series title, the events fire. Remember to set LegendBox.MoveFromSeriesTitle = false.
I've made a test app, for ViewXY and View3D, using 6.2.3 version.
When running the app, and clicking on legend box series title, the events fire. Remember to set LegendBox.MoveFromSeriesTitle = false.
LightningChart Support Team, PT