10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 13:13:55 +01:00

Add unit to legend

This commit is contained in:
Mickaël Véril 2020-09-16 09:27:06 +02:00
parent 4dddd52b07
commit 7f37ee8000

View File

@ -364,7 +364,7 @@ draft: false
var box = { var box = {
x: noNanVals, x: noNanVals,
amean: ss.mean(avals).toFixed(3), amean: ss.mean(avals).toFixed(3),
name: key.toString() + " MAE : " + ss.mean(avals).toPrecision(4), name: `${key.toString()} MAE : ${ss.mean(avals).toPrecision(4)} eV` ,
type: 'box', type: 'box',
boxmean: 'sd' boxmean: 'sd'
}; };