# Populating Time Series chart

**URL:** <https://forum.inductiveautomation.com/t/populating-time-series-chart/92800>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 4, 2024, 1:16pm UTC](https://forum.inductiveautomation.com/t/populating-time-series-chart/92800 "2024-07-04T13:16:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brendan\_Munroe](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@Brendan\_Munroe](https://forum.inductiveautomation.com/u/Brendan_Munroe)\
**Post date:** [July 4, 2024, 1:16pm UTC](https://forum.inductiveautomation.com/t/populating-time-series-chart/92800/1 "2024-07-04T13:16:28Z")

</div>

I have a time series chart in perspective that I'm binding data to using a query. I'm stuck on how I get the data to populate the chart. I have tried creating a custom property and got errors, and when I bind to 'props/series/data' I get a configuration error. I have attached a picture showing that I have the data binding with a query and the page I'm trying to update, and would greatly appreciate any advice on how I get this data dynamically based on the time range selected and populate the time series chart.

 ![image (1)](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/05e4781ed5a83a7a209ffe3f7c793d91346af8ce.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/2/a26cb07ef2b0f5a4523f64b651318f8934ecdf22.png)

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [July 4, 2024, 9:42pm UTC](https://forum.inductiveautomation.com/t/populating-time-series-chart/92800/2 "2024-07-04T21:42:02Z")

</div>

I see you are binding your data directly to **TimeSeriesChart.props.series**.

The **series** prop is an array of series entries and expects each entry to have a name and data array:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/f/af562f9476c9749579ea4fe7f32165ea2af6d61e.png)

[Perspective - Time Series Chart | Ignition User Manual (inductiveautomation.com)](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-chart-palette/perspective-time-series-chart)

Try binding your data to **TimeSeriesChart.props.series[0].data** instead and see how that goes.
