@@ -284,7 +284,7 @@ function buildHourByAuthorChart(hourOfDayData) {
284284 return Object . values ( byAuthor ) . reduce ( ( s , v ) => s + v , 0 ) ;
285285 } ) ;
286286
287- renderChart ( "chartDay " , {
287+ renderChart ( "chartCommitsByHour " , {
288288 type : "bar" ,
289289 data : { labels : HOUR_LABELS , datasets : [ {
290290 label : "Total" ,
@@ -315,7 +315,7 @@ function buildHourByAuthorChart(hourOfDayData) {
315315 backgroundColor : getAuthorColor ( author ) ,
316316 } ) ) ;
317317
318- renderChart ( "chartDay " , {
318+ renderChart ( "chartCommitsByHour " , {
319319 type : "bar" ,
320320 data : { labels : HOUR_LABELS , datasets } ,
321321 options : {
@@ -378,7 +378,7 @@ function buildWeekByAuthorChart(dayOfWeekData) {
378378 Object . values ( dayOfWeekData [ d ] || { } ) . reduce ( ( s , v ) => s + v , 0 )
379379 ) ;
380380
381- renderChart ( "chartWeek " , {
381+ renderChart ( "chartCommitsByWeekday " , {
382382 type : "bar" ,
383383 data : {
384384 labels : WEEK_LABELS ,
@@ -412,7 +412,7 @@ function buildWeekByAuthorChart(dayOfWeekData) {
412412 backgroundColor : getAuthorColor ( author ) ,
413413 } ) ) ;
414414
415- renderChart ( "chartWeek " , {
415+ renderChart ( "chartCommitsByWeekday " , {
416416 type : "bar" ,
417417 data : { labels : WEEK_LABELS , datasets } ,
418418 options : {
@@ -446,7 +446,7 @@ function buildDayOfMonthByAuthorChart(dayOfMonthData) {
446446 Object . values ( dayOfMonthData [ d ] || { } ) . reduce ( ( s , v ) => s + v , 0 )
447447 ) ;
448448
449- renderChart ( "chartMonth " , {
449+ renderChart ( "chartCommitsByDayOfMonth " , {
450450 type : "bar" ,
451451 data : {
452452 labels : DAY_LABELS ,
@@ -480,7 +480,7 @@ function buildDayOfMonthByAuthorChart(dayOfMonthData) {
480480 backgroundColor : getAuthorColor ( author ) ,
481481 } ) ) ;
482482
483- renderChart ( "chartMonth " , {
483+ renderChart ( "chartCommitsByDayOfMonth " , {
484484 type : "bar" ,
485485 data : { labels : DAY_LABELS , datasets } ,
486486 options : {
0 commit comments