# Visualization long title truncated?

**URL:** https://discuss.elastic.co/t/visualization-long-title-truncated/101658
**Category:** Kibana
**Created:** [September 25, 2017, 7:56am UTC](https://discuss.elastic.co/t/visualization-long-title-truncated/101658 "2017-09-25T07:56:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fxprunayre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fxprunayre/32/22478_2.png) [@fxprunayre](https://discuss.elastic.co/u/fxprunayre)
#### Post date: [September 25, 2017, 7:56am UTC](https://discuss.elastic.co/t/visualization-long-title-truncated/101658/1 "2017-09-25T07:56:34Z")

</div>

Visualization title have ellipsis() applied and when title is too long, users can't read the complete title:

![image](https://user-images.githubusercontent.com/1701393/30797586-d9c73dc4-a1d6-11e7-9245-a2269a27a498.png)

It looks like past versions were displaying tooltips:

> <https://github.com/elastic/kibana/pull/2401#issuecomment-67576939>

Does it make sense to restore the tooltip ? Here is a PR targeting 5.6 [https://github.com/elastic/kibana/compare/5.6...fxprunayre:panel-title-tooltip?expand=1](https://github.com/elastic/kibana/compare/5.6...fxprunayre:panel-title-tooltip?expand=1)

---

<div class="post-metadata">

### Author: ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)
#### Post date: [September 25, 2017, 6:41pm UTC](https://discuss.elastic.co/t/visualization-long-title-truncated/101658/2 "2017-09-25T18:41:42Z")

</div>

Seems reasonable to me. The only change I might add is not showing the tooltip if the title isn't truncated, if possible.

I'd encourage you to submit a pull request so that others can review it and provide any feedback.

---

<div class="post-metadata">

### Author: ![fxprunayre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fxprunayre/32/22478_2.png) [@fxprunayre](https://discuss.elastic.co/u/fxprunayre)
#### Post date: [September 26, 2017, 11:18am UTC](https://discuss.elastic.co/t/visualization-long-title-truncated/101658/3 "2017-09-26T11:18:33Z")

</div>

Thanks for the feedback. PR created [https://github.com/elastic/kibana/pull/14167](https://github.com/elastic/kibana/pull/14167).

About tooltip showing only it not truncated, I'm not sure how this could/should be supported. The tooltip could decide if the title is the same as the text content it contains and ellipsis is active, then not show the popup. I'm not 100% sure how the tooltip init is done.

---

<div class="post-metadata">

### Author: ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)
#### Post date: [September 26, 2017, 3:57pm UTC](https://discuss.elastic.co/t/visualization-long-title-truncated/101658/4 "2017-09-26T15:57:43Z")

</div>

> I'm not 100% sure how the tooltip init is done.

Honestly, I'm really not sure either, which is why I put that "if possible" in there 😉

Thanks for submitting the PR. I applied some labels to it so the teams responsible for that will hopefully get to it in a timely manner. Fair warning, there's a lot going on right now so it's possible things might be a little slow. I apologize about that in advance here... if there's no activity on it by the end of the week or so, feel free to post a follow-up comment, and @ me (w33ble) on the PR if you'd like.

---

<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: [October 24, 2017, 3:57pm UTC](https://discuss.elastic.co/t/visualization-long-title-truncated/101658/5 "2017-10-24T15:57:44Z")

</div>

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