File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
resources/views/reports/time-entry-aggregate Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 393393 if (minutes < 10 ) {
394394 minutes = " 0" + minutes;
395395 }
396- let seconds = totalSeconds % 60 ;
397- if (seconds < 10 ) {
398- seconds = " 0" + seconds;
399- }
400- return hours + " :" + minutes + " :" + seconds;
396+ return hours + " :" + minutes;
401397 }
402398 }
403399 },
412408 },
413409 label: {
414410 show: true ,
411+ @if (count ($dataHistoryChart [' grouped_data' ]) > 15 )
412+ rotate: 90 ,
413+ offset: [10 , 5 ],
414+ @endif
415+ fontSize: 10 ,
415416 position: " top" ,
416417 formatter : function (params ) {
417418 let value = params .value ;
428429 if (minutes < 10 ) {
429430 minutes = " 0" + minutes;
430431 }
431- let seconds = totalSeconds % 60 ;
432- if (seconds < 10 ) {
433- seconds = " 0" + seconds;
434- }
435- return hours + " :" + minutes + " :" + seconds;
432+ return hours + " :" + minutes;
436433 }
437434 }
438435 }
You can’t perform that action at this time.
0 commit comments