# Stacked Bar Chart with SQL Query

**URL:** <https://forum.inductiveautomation.com/t/stacked-bar-chart-with-sql-query/36798>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [July 16, 2020, 9:13pm UTC](https://forum.inductiveautomation.com/t/stacked-bar-chart-with-sql-query/36798 "2020-07-16T21:13:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlos.rodriguez5](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@carlos.rodriguez5](https://forum.inductiveautomation.com/u/carlos.rodriguez5)\
**Post date:** [July 16, 2020, 9:13pm UTC](https://forum.inductiveautomation.com/t/stacked-bar-chart-with-sql-query/36798/1 "2020-07-16T21:13:28Z")

</div>

Good afternoon

I want to design a bar chart that is of type: Stacked Bars, but the data you are going to visualize is from a database.

For this I am preparing an SQL Query but it does not show me the data.

How can I make the bar chart stacked?
