Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 197: | Rivi 197: | ||
out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-direction: column; background-color: none;">'; | out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-direction: column; background-color: none;">'; | ||
out += '<div style="font-size: 36px;">' + ( Math.round( jw.obstype[ ot ].mean * 10 ) / 10 ).toString().replace( '.', ',' ) + '</div>'; | out += '<div style="font-size: 36px;">' + ( Math.round( jw.obstype[ ot ].mean * 10 ) / 10 ).toFixed(1).toString().replace( '.', ',' ) + '</div>'; | ||
out += '<div style="font-size: 24px; margin-top: -20px;">m</div>'; | out += '<div style="font-size: 24px; margin-top: -20px;">m</div>'; | ||
out += '</div>'; | out += '</div>'; | ||


