Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Colors of Legend are not equal to the graph.

Peter van der Does407d2c2040fe
diff --git a/wger/nutrition/static/js/nutrition.js b/wger/nutrition/static/js/nutrition.js
index 8cbe449f4..1a108038a 100644
--- a/wger/nutrition/static/js/nutrition.js
+++ b/wger/nutrition/static/js/nutrition.js
@@ -184,7 +184,7 @@ function render_bmi(width_factor)
.attr("clip-path", "url(#clip)")
.attr("d", function(d, i) { return area(d[i].data.values); })
.style("fill", function(d, i) { return z(i); })
- .style("opacity", 0.6);
+ .style("opacity", 1);
svg.append("g")
.attr("class", "x axis")