# Any plans for dynamic x-min when rendering graphs?

**URL:** <https://forum.beeminder.com/t/any-plans-for-dynamic-x-min-when-rendering-graphs/11293>\
**Category:** Bugabee\
**Created:** [December 12, 2023, 3:27pm UTC](https://forum.beeminder.com/t/any-plans-for-dynamic-x-min-when-rendering-graphs/11293 "2023-12-12T15:27:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![are](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@are](https://forum.beeminder.com/u/are)\
**Post date:** [December 12, 2023, 3:27pm UTC](https://forum.beeminder.com/t/any-plans-for-dynamic-x-min-when-rendering-graphs/11293/1 "2023-12-12T15:27:57Z")

</div>

I would love to be able to only ever see the last x days of data on my graphs. Typically I only ever interact with beeminder via the iOS app, and the graphs tend to become unreadably small since there’s always a static x-min which slips increasingly far into the past.

For most of my goals, 90 days would be just about perfect, but I’d love the option to customize this window.

I see there are couple of other feature requests from [2020](https://forum.beeminder.com/t/feature-request-only-show-data-from-last-x-days-in-graph/6208) and [2015](https://forum.beeminder.com/t/feature-request-ability-to-set-relative-x-min-x-max/1273). The 2015 thread mentions something about zoomable graphs. I do actually remember (false memory?) that being enabled for a few months in 2015 or 2016 but don’t recall why it was rolled back.

---

<div class="post-metadata">

**Author:** ![krugerk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/krugerk/32/5161_2.png) [@krugerk](https://forum.beeminder.com/u/krugerk)\
**Post date:** [December 12, 2023, 4:25pm UTC](https://forum.beeminder.com/t/any-plans-for-dynamic-x-min-when-rendering-graphs/11293/2 "2023-12-12T16:25:19Z")

</div>

In the meanwhile, you could set up an iOS shortcut to make the call for you. Upon tapping (executing) the shortcut, it could ask you which bmndr goal and which date, defaulting to the one 90 days ago.

> [@Year in review graph option](https://forum.beeminder.com/t/year-in-review-graph-option/2834/2):
>
> Your wish is my challenge… slight_smile #!/bin/sh # from https://www.beeminder.com/api/v1/auth\_token.json AUTH\_TOKEN=your\_token USER=your\_username for GOAL in $( curl https://www.beeminder.com/api/v1/users/$USER.json?auth\_token=$AUTH\_TOKEN | sed -e 's/[^[]\*//; s/^.//; s/].\*//; s/[",]/ /g' ) do echo $GOAL curl -X PUT -d '{"tmin":"2016-01-01"}' https://www.beeminder.com/api/v1/users/$USER/goals/$GOAL.json?auth\_token=$AUTH\_TOKEN --header "Content-Type: application/json" \> /dev/null done U…

The parameters tmin and tmax have since been documented at [Beeminder API Reference](https://api.beeminder.com/#goal) .
