This week’s fave is a new feature and a salute to things that work the
way you sort of expect and hope that they would.
Let’s say you want a movable point that stays within the bounds of a rectangle. That’s no problem. Use slider limits that match the minimum and maximum values with the rectangle.
![](/articles/friday-fave-for-september-7/tumblr_inline_pepfvcc0Lh1qh1cum_540.gif)
But let’s say you want that point to stay within some non-rectangular region. Until quite recently, that was a problem because the limits on your slider had to be constants. Staying within limits that change was not possible.
![](/articles/friday-fave-for-september-7/tumblr_inline_pepfvuLMx51qh1cum_540.gif)
If you’ve ever tried to solve this problem, you’ve probably typed something like this into your slider limits.
![](/articles/friday-fave-for-september-7/tumblr_inline_pepfwezFEF1qh1cum_540.gif)
Until recently, we threw an error and told you that you couldn’t use variable slider limits. But now you can, and here’s what it looks like.
![](/articles/friday-fave-for-september-7/tumblr_inline_pepfxakc8r1qh1cum_540.gif)
Variable slider limits, and syntax that feels natural—together those are this week’s Friday Fave.
And here are a few more graphs that use variable slider limits. Maybe they’ll spark some new ideas!