# How can I remove the color bar from Top N?

**URL:** https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308
**Category:** Kibana
**Created:** [December 21, 2020, 10:43pm UTC](https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308 "2020-12-21T22:43:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![larrya](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@larrya](https://discuss.elastic.co/u/larrya)
#### Post date: [December 21, 2020, 10:43pm UTC](https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308/1 "2020-12-21T22:43:20Z")

</div>

I am using TSVB on Kibana 7.4.2 to show a list of tests and their pass rate using Filter Ratio. Using Top N this list displays the test name, color bar, and pass rate, sorted by pass rate. The names of the tests are truncated and the full test name is not visible, even when stretching the screen very wide. That is due to the color bar in the middle of the chart which is extremely wide. The color bar is built-in to this visualization and cannot be removed. How can I remove that color bar or reduce its width in Top N?

Also, switching from Top N to Table removes the color bar and the test names are fully visible, but the pass rate is no longer sorted. Is there a way to sort the pass rate using Table?

 ![Screen Shot 2020-12-21 at 5.36.43 PM](https://us1.discourse-cdn.com/elastic/original/3X/c/a/ca4d52c8bbe48984dcbd702d0b1c70ca6114b9e2.png)

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [December 22, 2020, 9:58pm UTC](https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308/2 "2020-12-22T21:58:53Z")

</div>

This use case makes sense, but I think the only option is to pre-aggregate your test data so that you can do a simpler visualization that supports sorting. You can calculate a ratio using the [ES transforms](https://www.elastic.co/guide/en/elasticsearch/reference/current/transforms.html) feature and then build a visualization using the new index.

We also have a public issue that just got filed about sorting on filter ratio: [https://github.com/elastic/kibana/issues/86459](https://github.com/elastic/kibana/issues/86459)

---

<div class="post-metadata">

### Author: ![larrya](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@larrya](https://discuss.elastic.co/u/larrya)
#### Post date: [December 22, 2020, 10:40pm UTC](https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308/3 "2020-12-22T22:40:12Z")

</div>

Thanks for the information. I am a little confused on the lack of configuration in the visualization panels. When trying to use a filter ratio, there seems to be very limited options for its use. I won't bring up other issues or concerns here, but just wanted be up front about the fact that displaying a list of sorted ratios, a simple metric, is very difficult.

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [December 22, 2020, 11:11pm UTC](https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308/4 "2020-12-22T23:11:30Z")

</div>

I agree that it's difficult to do this in the product today, but hopefully the workarounds I gave help. If you really need full customization, [use Vega](https://www.elastic.co/guide/en/kibana/current/vega-lite-tutorial-create-your-first-visualizations.html).

---

<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: [January 19, 2021, 11:11pm UTC](https://discuss.elastic.co/t/how-can-i-remove-the-color-bar-from-top-n/259308/5 "2021-01-19T23:11:31Z")

</div>

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