Round capacity percentage to 1 decimal place

This commit is contained in:
Scott Schneider 2015-02-20 13:51:57 -08:00
parent 3d12bf3728
commit 1f1d777a4a

View file

@ -136,7 +136,7 @@ d3.json( numbers_url,
stats_vmpooler_numbers__svg[ 'capacity' ]
.append( 'text' )
.text(
( stats_vmpooler_numbers__data__live[ 'capacity_percent' ] )
( stats_vmpooler_numbers__data__live[ 'capacity_percent' ].toFixed(1) )
)
.attr( {
'text-anchor': 'end',