# XYChart Renders Before dataSources Bindings Are Complete

**URL:** <https://forum.inductiveautomation.com/t/xychart-renders-before-datasources-bindings-are-complete/69270>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**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:** 36

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [February 24, 2023, 8:13pm UTC](https://forum.inductiveautomation.com/t/xychart-renders-before-datasources-bindings-are-complete/69270/36 "2023-02-24T20:13:20Z")

</div>

In my XY Charts, I set the series according to the columns I want to view.  
The Gant chart seems similar to a horizontal stacked bar graph.

**Data sources**  
It looks possible to use one data source or separate data sources  
It looks like either source technique can fill the 0s from the query or scripts.

**Query speed**  
Your current technique seems to have minimized data in the query.  
I think a single source query with zeros inside it would be the fastest.

I don't see data source specifics, but I learned most the stacked bar chart here:  
[Stacked Bar Chart Detailed Steps](https://forum.inductiveautomation.com/t/stacked-bar-chart-in-perspective-detailed-steps/47107)

---

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