# Use array in Bar Chart

**URL:** <https://forum.inductiveautomation.com/t/use-array-in-bar-chart/67758>\
**Category:** Maker\
**Created:** [December 17, 2022, 11:17am UTC](https://forum.inductiveautomation.com/t/use-array-in-bar-chart/67758 "2022-12-17T11:17:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidar\_Hetlelid1](https://avatars.discourse-cdn.com/v4/letter/v/53a042/32.png) [@Vidar\_Hetlelid1](https://forum.inductiveautomation.com/u/Vidar_Hetlelid1)\
**Post date:** [December 17, 2022, 11:17am UTC](https://forum.inductiveautomation.com/t/use-array-in-bar-chart/67758/1 "2022-12-17T11:17:22Z")

</div>

Hello, i have an array with the values I want to show in a bar chart, but i dont get how I can input the array?

In the example data its used data like an object, i just want to show the values of an array. Any ideas?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/48c8d53808c209bac2f4a4ad7e3c601995e54f39.png)

---

<div class="post-metadata">

**Author:** ![Dechen\_Chuteng](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dechen\_Chuteng](https://forum.inductiveautomation.com/u/Dechen_Chuteng)\
**Post date:** [December 20, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/use-array-in-bar-chart/67758/2 "2022-12-20T17:41:47Z")

</div>

Hello Vidar\_Hetlelid1,

Since bar chart is a type of a Time Series chart, you will need a timestamp column for the dataset. But if you are only trying to display the array values, you can use an XY Chart and make the render property of the series to `column` to show a bar trend.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/6/b614f676b587339665ff9660301f04e79aebf4c0.png)

[https://docs.inductiveautomation.com/display/DOC81/Perspective+-+XY+Chart](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+XY+Chart)
