# How to define order of stacked values in TSVB?

**URL:** <https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358>\
**Category:** Kibana\
**Created:** [April 3, 2020, 7:49am UTC](https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358 "2020-04-03T07:49:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [April 3, 2020, 7:49am UTC](https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358/1 "2020-04-03T07:49:28Z")

</div>

Hi,

I've setup a new dev system of elastic stack. Currently Version 7.5.1. I imported a space and it's saved object from previous kibana version 7.4.2.

When I open the dashboard TSVB looks different. the order of the stacked graphs differ from the 7.4.2.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a909d6f45bb708f735eae867880e67f3b3c3cba2.png)

In 7.4.2 The order of the showed graphs was like defined (order of the data graphs) and equal to the order in the legend. Meaning: top: available (red line), middle: free (lightGray Area), buttom: used (green area).

But in 7.5.2. I have used graph in the middle and free on the buttom. I need the old order back. What can I do?

When I disable free and enable it again, the order is correct. If I save and load again the order is wrong again.

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [April 3, 2020, 9:50am UTC](https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358/2 "2020-04-03T09:50:42Z")

</div>

Hi Asp!

Did some research and it sounds like a known issue, can you confirm?

> <https://github.com/elastic/kibana/issues/59118>
>
> Kibana version: 7.5.0
> Elasticsearch version:7.5.0
> Description of the problem including expected versus actual behavior:
> When building a tsvb timeseries with multiple series I'm expecting...

Many thx and all the best,  
Matthias

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [April 6, 2020, 8:08am UTC](https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358/3 "2020-04-06T08:08:23Z")

</div>

not sure if it is completely the same

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [April 6, 2020, 9:46am UTC](https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358/4 "2020-04-06T09:46:09Z")

</div>

could you provide 2 screenshots, 7.4.2 vs 7.5.1, many thanks!  
best,  
Matthias

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 4, 2020, 9:46am UTC](https://discuss.elastic.co/t/how-to-define-order-of-stacked-values-in-tsvb/226358/5 "2020-05-04T09:46:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
