# Vega-Lite Stack Bar

**URL:** <https://discuss.elastic.co/t/vega-lite-stack-bar/201509>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [September 28, 2019, 9:51pm UTC](https://discuss.elastic.co/t/vega-lite-stack-bar/201509 "2019-09-28T21:51:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sinan\_Kaplan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sinan_kaplan/32/47173_2.png) [@Sinan\_Kaplan](https://discuss.elastic.co/u/Sinan_Kaplan)\
**Post date:** [September 28, 2019, 9:51pm UTC](https://discuss.elastic.co/t/vega-lite-stack-bar/201509/1 "2019-09-28T21:51:28Z")

</div>

![Capture1](https://us1.discourse-cdn.com/elastic/original/3X/9/2/924e88bdcbc661e88e7e2b912810253db3ea3219.png)

Hi,

I have a graph like this. In this graph i have 4 different stack bar and 3 of them is too small. I want to show their count value with text mark but texts overlaps because all values ​​are too small. How can i solve this problem ? I can't use tooltips because values too small and its very difficult to come up with the mouse

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 10, 2019, 2:26pm UTC](https://discuss.elastic.co/t/vega-lite-stack-bar/201509/2 "2019-10-10T14:26:47Z")

</div>

Hi,

You could use a [log scale](https://vega.github.io/vega-lite/docs/scale.html#log) instead of a linear scale. This is a standard measure to show very small and very big numbers in the same chart.

---

<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:** [November 7, 2019, 2:26pm UTC](https://discuss.elastic.co/t/vega-lite-stack-bar/201509/3 "2019-11-07T14:26:49Z")

</div>

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