Band Width Small - Hard to Grab

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

User avatar
Posts: 44
Joined: Tue Feb 25, 2014 7:49 pm

Band Width Small - Hard to Grab

Post by blakeadkins » Fri Jun 19, 2015 3:18 pm

I have a situation where a band can be re-sized by the user and can end up being 1 pixel wide. When this happens I disable the border re-size and only allow re-sizing using the chart event markers.

However, when trying to move the band it's difficult to grab the band because the band is only 1 pixel wide. Is it possible to make a property that can change the size of the "BandMoveWidth" or something like that?
Band Width 1 Pixel Wide - Difficult to Move
Band Width 1 Pixel Wide - Difficult to Move
bandTinyWidth.png (1.74 KiB) Viewed 4170 times

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

Re: Band Width Small - Hard to Grab

Post by ArctionPasi » Sat Jun 20, 2015 2:26 am

The band resizing edge can be adjusted by band.ResizeBorderWidth, but it won't probably help with your case.

When the band is very narrow, you could place a secondary, transparent band with slightly larger size, behind the primary band, so the mouse interactive is targeted to that. In that secondary band's MovedByMouse or ValuesChanged event handler, you can update the primary band's position. You may want to disable primary band's mouse interactivity in that case so it won't disturb the secondary band's mouse event handling. :?
LightningChart Support Team, PT