Using a Color Band to select a range of bars
Posted: Fri Apr 25, 2014 7:20 pm
In the demo using the link, I can click and drag the mouse left or right and it will normally highlight a x-range of the grid -- a color band highlights the selected items.
1. But.... sometimes it doesn't work (this it is highlighted in the MP4 video in the download). I can click and drag and the color band's start and end value seem to be the same. It seems that this occurs if I click on the very left side of a bar.
http://www.TBInc.com/misc/SelectionPoint3a.zip
I can't figure out how to fix this behavior.
2. Also, when the band is drawn, it is drawn from the left edge of the bar. How can I make the band start in the middle of the bar?
Thank you,
Ed Dressel
1. But.... sometimes it doesn't work (this it is highlighted in the MP4 video in the download). I can click and drag and the color band's start and end value seem to be the same. It seems that this occurs if I click on the very left side of a bar.
http://www.TBInc.com/misc/SelectionPoint3a.zip
I can't figure out how to fix this behavior.
2. Also, when the band is drawn, it is drawn from the left edge of the bar. How can I make the band start in the middle of the bar?
Thank you,
Ed Dressel