Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Y axis linear scale ticks text value error

My X axis value = [Thu Aug 16 2018 12:12:00 GMT+0530 (IST), Thu Aug 16 2018 12:13:00 GMT+0530 (IST), Thu Aug 16 2018 12:14:00 GMT+0530 (IST), Thu Aug 16 2018 12:15:00 GMT+0530 (IST)]

My Y axis value = [1680417376, 1580417376, 1621743328, 1551518304]

Y axis configuration :

yaxis:{
showgrid:true,
showline: true,
type:“linear”
},

The y axis ticks value should be 0.5G 1G 1.5 G… But it showing 0.5B 1B 1.5B.

Any extra configuration needed to plot correct value .

See https://plot.ly/javascript/reference/#layout-yaxis-exponentformat

1 Like

Thanks for your help. Working fine with following configuration .

yaxis:{
showgrid:true,
showline: true,
type:“linear”,
exponentformat:“SI”
},