Created
October 17, 2018 22:34
-
-
Save ubergeek42/27d05ae24b3b0fe2e50c084c023b77b1 to your computer and use it in GitHub Desktop.
maybe fixes the charts?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/webapp/src/DOMJudgeBundle/Resources/views/jury/partials/submission_graph.html.twig b/webapp/src/DOMJudgeBundle/Resources/views/jury/partials/submission_graph.html.twig | |
index 94e688f..0fa0b84 100644 | |
--- a/webapp/src/DOMJudgeBundle/Resources/views/jury/partials/submission_graph.html.twig | |
+++ b/webapp/src/DOMJudgeBundle/Resources/views/jury/partials/submission_graph.html.twig | |
@@ -68,6 +68,7 @@ $(function(){ | |
y2: 15 + chart.yAxis.scale()({{timelimit}}), | |
}) | |
.style("stroke", "#F00"); | |
+ chart.update(); | |
nv.utils.windowResize(chart.update); | |
return chart; | |
}); | |
@@ -109,6 +110,7 @@ $(function(){ | |
y2: 15 + chart.yAxis.scale()({{timelimit}}), | |
}) | |
.style("stroke", "#F00"); | |
+ chart.update(); | |
nv.utils.windowResize(chart.update); | |
return chart; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment