# XYChart Renders Before dataSources Bindings Are Complete

**URL:** <https://forum.inductiveautomation.com/t/xychart-renders-before-datasources-bindings-are-complete/69270>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [February 1, 2023, 1:52pm UTC](https://forum.inductiveautomation.com/t/xychart-renders-before-datasources-bindings-are-complete/69270 "2023-02-01T13:52:36Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Stephen\_Clark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stephen_clark/32/43319_2.png) [@Stephen\_Clark](https://forum.inductiveautomation.com/u/Stephen_Clark)\
**Post date:** [February 2, 2023, 7:04pm UTC](https://forum.inductiveautomation.com/t/xychart-renders-before-datasources-bindings-are-complete/69270/8 "2023-02-02T19:04:59Z")

</div>

Here's a video of a stripped down version of the View. There are no message handlers or scripts.  
The bindings:

- For the XYChart, props.dataSources.Down, Slow, and Run are Named Query bindings.
- xAxes[0].date.range.min and max are Property Bindings to view.custom.startDate and endDate. A transform converts the dates to millis.
- The date picker components have their props.value binding set to Bidirectional to write to view.custom.startDate and endDate

[https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/0/40bc6e29da4c356905429fb3daf24b8c3a85b111.mp4](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/0/40bc6e29da4c356905429fb3daf24b8c3a85b111.mp4)

---

_[View the full topic](https://forum.inductiveautomation.com/t/xychart-renders-before-datasources-bindings-are-complete/69270)._
