# Linking Date/time range of the Chart and Status Chart Components

**URL:** <https://forum.inductiveautomation.com/t/linking-date-time-range-of-the-chart-and-status-chart-components/14557>\
**Category:** General Discussion\
**Created:** [June 19, 2017, 5:29pm UTC](https://forum.inductiveautomation.com/t/linking-date-time-range-of-the-chart-and-status-chart-components/14557 "2017-06-19T17:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacque](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jacque/32/3607_2.png) [@Jacque](https://forum.inductiveautomation.com/u/Jacque)\
**Post date:** [June 19, 2017, 5:29pm UTC](https://forum.inductiveautomation.com/t/linking-date-time-range-of-the-chart-and-status-chart-components/14557/1 "2017-06-19T17:29:37Z")

</div>

Hello All,  
I am trying to link the date and time range of the Status Chart component with that of a chart component to ensure that I can get a reliable indication of trend values when a machine was in the on/off/hand state.

Any suggestions w.r.t. how I can link the date/time range of these two components to ensure that the date/time range is always the same?

Kind regards

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [June 20, 2017, 4:42pm UTC](https://forum.inductiveautomation.com/t/linking-date-time-range-of-the-chart-and-status-chart-components/14557/2 "2017-06-20T16:42:58Z")

</div>

You could use a Date Range component to set the start and stop dates, then bind the Data properties of the Status Chart and the Chart to SQL queries using these start and stop dates.
