# To set decimal points on axis

**URL:** <https://community.plotly.com/t/to-set-decimal-points-on-axis/1587>\
**Category:** plotly.js\
**Created:** [July 20, 2016, 8:51am UTC](https://community.plotly.com/t/to-set-decimal-points-on-axis/1587 "2016-07-20T08:51:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaitu2chowdary](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@chaitu2chowdary](https://community.plotly.com/u/chaitu2chowdary)\
**Post date:** [July 20, 2016, 8:51am UTC](https://community.plotly.com/t/to-set-decimal-points-on-axis/1587/1 "2016-07-20T08:51:03Z")

</div>

![](https://us1.discourse-cdn.com/flex024/uploads/plot/original/1X/14287f852b475016c91d87579c595a5875550679.png)

in the uploaded figure, is it possible to set auto adjusted axis points with two decimal points  
example 82 to 82.0,81 to 81.0

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [July 20, 2016, 1:59pm UTC](https://community.plotly.com/t/to-set-decimal-points-on-axis/1587/2 "2016-07-20T13:59:30Z")

</div>

Here’s how: [http://codepen.io/etpinard/pen/qNoOzX](http://codepen.io/etpinard/pen/qNoOzX)

---

<div class="post-metadata">

**Author:** ![btran007](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@btran007](https://community.plotly.com/u/btran007)\
**Post date:** [April 5, 2018, 1:19pm UTC](https://community.plotly.com/t/to-set-decimal-points-on-axis/1587/3 "2018-04-05T13:19:25Z")

</div>

I interpreted it wrong. To see the actual value I must hover over the point.

**Disregard- I don’t think it’s working**. The significant decimal value is always 0. Tried to follow the format documentation and it doesn’t work.

> **[d3/d3-format](https://github.com/d3/d3-format)**
>
> Format numbers for human consumption. Contribute to d3/d3-format development by creating an account on GitHub.

Plotly.plot(‘graph’, [{  
y: [80.013, 80.154, 80.863]  
}], {  
yaxis: {  
tickformat : “.3f”  
}  
})

Thanks
