File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
webapp/templates/jury/analysis Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -406,18 +406,17 @@ for (let minute = 0; minute < contest_duration_minutes; minute++) {
406
406
}
407
407
408
408
nv .addGraph (function () {
409
- var chart = nv .models .stackedAreaChart ()
409
+ var chart = nv .models .multiBarChart ()
410
410
// .margin({left: 100}) //Adjust chart margins to give the x-axis some breathing room.
411
411
// .useInteractiveGuideline(true) //We want nice looking tooltips and a guideline!
412
412
// .transitionDuration(350) //how fast do you want the lines to transition?
413
413
// .showLegend(true) //Show the legend, allowing users to turn on/off line series.
414
414
.showControls (false )
415
+ .stacked (true )
415
416
.x (function (d ) { return d[0 ] }) // We can modify the data accessor functions...
416
417
.y (function (d ) { return d[1 ] }) // ...in case your data is formatted differently.
417
418
.showYAxis (true ) // Show the y-axis
418
419
.showXAxis (true ) // Show the x-axis
419
- .forceX ([0 , {{ (current_contest .endtime - current_contest .starttime ) / 60 }}])
420
- .forceY ([0 , max_submissions_per_minute * 1.1 ])
421
420
;
422
421
chart .xAxis // Chart x-axis settings
423
422
.axisLabel (' Contest Time(minutes)' )
You can’t perform that action at this time.
0 commit comments