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++) {
406406}
407407
408408nv .addGraph (function () {
409- var chart = nv .models .stackedAreaChart ()
409+ var chart = nv .models .multiBarChart ()
410410 // .margin({left: 100}) //Adjust chart margins to give the x-axis some breathing room.
411411 // .useInteractiveGuideline(true) //We want nice looking tooltips and a guideline!
412412 // .transitionDuration(350) //how fast do you want the lines to transition?
413413 // .showLegend(true) //Show the legend, allowing users to turn on/off line series.
414414 .showControls (false )
415+ .stacked (true )
415416 .x (function (d ) { return d[0 ] }) // We can modify the data accessor functions...
416417 .y (function (d ) { return d[1 ] }) // ...in case your data is formatted differently.
417418 .showYAxis (true ) // Show the y-axis
418419 .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 ])
421420 ;
422421 chart .xAxis // Chart x-axis settings
423422 .axisLabel (' Contest Time(minutes)' )
You can’t perform that action at this time.
0 commit comments