# Grafana custom time range for custom Graph Panel

**URL:** <https://community.grafana.com/t/grafana-custom-time-range-for-custom-graph-panel/44885>\
**Category:** Time Series Panel\
**Created:** [March 22, 2021, 10:05am UTC](https://community.grafana.com/t/grafana-custom-time-range-for-custom-graph-panel/44885 "2021-03-22T10:05:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![asieroyan](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@asieroyan](https://community.grafana.com/u/asieroyan)\
**Post date:** [March 30, 2021, 7:43am UTC](https://community.grafana.com/t/grafana-custom-time-range-for-custom-graph-panel/44885/2 "2021-03-30T07:43:52Z")

</div>

Solved! All I had to do is modify addTimeAxis() function as I mentioned in the second possible solution (I had an import problem, that’s why I couldn’t see its changes).

I modified ‘min’ and ‘max’ variables there before they were sent to the panels options and it’s all working now.

---

_[View the full topic](https://community.grafana.com/t/grafana-custom-time-range-for-custom-graph-panel/44885)._
