Commit 0dac6a25 by Bridger Maxwell

Hotfix for rounding error on Profile graph.

parent ae882214
<%page args="grade_summary, graph_div_id, **kwargs"/>
<%!
import json
import math
%>
$(function () {
......@@ -106,6 +107,8 @@ $(function () {
ticks += [ [overviewBarX, "Total"] ]
tickIndex += 1 + sectionSpacer
totalScore = math.floor(totalScore * 100) / 100 #We floor it to the nearest percent, 80.9 won't show up like a 90 (an A)
%>
var series = ${ json.dumps(series) };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment