stackedProgressBars legend fix

This commit is contained in:
Alfredo Cardigliano 2018-12-12 16:30:34 +01:00
parent a3d370ea7e
commit b42baafe66

View file

@ -184,6 +184,7 @@ function stackedProgressBars(total, bars, other_label, formatter)
legend_items[#legend_items + 1] = {
title = other_label,
class = "empty",
style = "",
value = math.max(total - cumulative, 0),
}
end