Tweak histogram lines

This commit is contained in:
Wuzzy 2022-04-19 13:43:47 +02:00
parent c8f3ff3c05
commit be6b932d7e

View File

@ -827,12 +827,10 @@ local show_histogram_formspec = function(player, stats)
local histogram
histogram = "vertlabel[0.1,0.2;"..F(S("Relative frequency")).."]"..
"label[1.1,8.15;"..F(S("Noise values")).."]"..
"label[0,6.4;"..F(S("%")).."]"..
"label[0,7.0;"..F(S("Max.")).."\n"..F(S("Min.")).."]"..
"tooltip[0,6.2;0.7,0.5;"..F(S("Percent of values in that bucket")).."]"..
"tooltip[0,6.8;0.7,1;"..F(S("Upper (Max.) and lower (Min.) bounds of the noise value data bucketing")).."]"..
"box[0.75,0;0.025,8.3;#FFFFFF80]"..
"box[0,6.1;10.0,0.025;#FFFFFF80]"..
"box[0,6.65;10.0,0.025;#FFFFFF80]"..
"box[0,7.8;10.0,0.025;#FFFFFF80]"
local hstart = 1
-- Special case: If bucket sizes are equal, only show the last bucket