feat(charts): add quantization types

This commit is contained in:
Azgaar 2022-06-19 19:13:19 +03:00 committed by Peter
parent 14fc0dcfeb
commit acd9531bb8

View file

@ -335,6 +335,10 @@ function getPrecipitation(prec) {
return prec * 100 + " mm";
}
function getPrecipitation(prec) {
return prec * 100 + " mm";
}
// get user-friendly (real-world) precipitation value from map data
function getFriendlyPrecipitation(i) {
const prec = grid.cells.prec[pack.cells.g[i]];