# Flatten issue

**URL:** <https://discuss.elastic.co/t/flatten-issue/361573>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [June 17, 2024, 9:37am UTC](https://discuss.elastic.co/t/flatten-issue/361573 "2024-06-17T09:37:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![john900502](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john900502/32/135329_2.png) [@john900502](https://discuss.elastic.co/u/john900502)\
**Post date:** [June 17, 2024, 9:37am UTC](https://discuss.elastic.co/t/flatten-issue/361573/1 "2024-06-17T09:37:27Z")

</div>

Hi everyone!

I'm currently using the official dataset for learning and would like to ask if it's possible to visualize "products.taxful\_price" (an array of numbers) in a stacked bar chart style within a view?

For example:  
"products.taxful\_price": [  
33,  
42  
]  
I'm hoping to display the first number stacked on top of the second number.

Thank you!

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [June 25, 2024, 2:02pm UTC](https://discuss.elastic.co/t/flatten-issue/361573/2 "2024-06-25T14:02:26Z")

</div>

Thanks for reaching out, @john900502. Please provide further context regarding what you were expecting and the issue you are facing. Are you using Vega? Do you have a complete code sample you can provide?
