# Unable to apply SQL query binding to Chart, Bar Chart and Easy Chart

**URL:** <https://forum.inductiveautomation.com/t/unable-to-apply-sql-query-binding-to-chart-bar-chart-and-easy-chart/15422>\
**Category:** Ignition\
**Created:** [September 21, 2017, 5:18am UTC](https://forum.inductiveautomation.com/t/unable-to-apply-sql-query-binding-to-chart-bar-chart-and-easy-chart/15422 "2017-09-21T05:18:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 21, 2017, 12:44pm UTC](https://forum.inductiveautomation.com/t/unable-to-apply-sql-query-binding-to-chart-bar-chart-and-easy-chart/15422/2 "2017-09-21T12:44:06Z")

</div>

You can’t put your own SQL into an EasyChart. The Classic Chart (for time series) needs each dataset to have either a datetime, timestamp, or long integer (milliseconds) column as the first column, with all other columns interpreted as pen data.

---

_[View the full topic](https://forum.inductiveautomation.com/t/unable-to-apply-sql-query-binding-to-chart-bar-chart-and-easy-chart/15422)._
