2 ms·
Nice and fast! There is a tiny bug, if you want to call it that: When you drag to select a period and go over the edge of the chart itself and go back, you can
by mosselman 7y ago
Nice and fast!
There is a tiny bug, if you want to call it that: When you drag to select a period and go over the edge of the chart itself and go back, you can't finish selecting the period and have to start over by clicking a few times.
- leeoniya 7y agothanks! i should bind the mouseup event at the document level instead of chart level and clamp the min/max ranges.