# Show the y value on the diagrams

**URL:** <https://community.plotly.com/t/show-the-y-value-on-the-diagrams/6482>\
**Category:** Dash Python\
**Created:** [October 25, 2017, 7:46am UTC](https://community.plotly.com/t/show-the-y-value-on-the-diagrams/6482 "2017-10-25T07:46:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MapleYU](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@MapleYU](https://community.plotly.com/u/MapleYU)\
**Post date:** [October 25, 2017, 7:46am UTC](https://community.plotly.com/t/show-the-y-value-on-the-diagrams/6482/1 "2017-10-25T07:46:49Z")

</div>

Good day everyone, I’m trying to show the y-values of different categories as text instead of hover data in the go.Bar() and go.Layout component, while I found it a little bit confusing.

Is there anyway I could achieve my goal like below please?

current in dash:

 ![图片](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/1/1e8f5101583136662ab4747f78301a3d64b25053.png)

target:  
 ![图片](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/4/4035e489e35b5950222769252679038dd414f383.png)

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [October 25, 2017, 4:05pm UTC](https://community.plotly.com/t/show-the-y-value-on-the-diagrams/6482/2 "2017-10-25T16:05:41Z")

</div>

Check out the bar chart examples and docs here: [https://plot.ly/python/bar-charts/#bar-chart-with-direct-labels](https://plot.ly/python/bar-charts/#bar-chart-with-direct-labels)
