|
|
@@ -416,9 +416,9 @@
|
|
|
ctx.stroke();
|
|
|
});
|
|
|
|
|
|
- const minScore = ((row.minScore||0)+'').length>2?(row.minScore||0).toFixed(2):row.minScore;
|
|
|
- const avgScore = ((row.avgScore||0)+'').length>2?(row.avgScore||0).toFixed(2):row.avgScore;
|
|
|
- const maxScore = ((row.maxScore||0)+'').length>2?(row.maxScore||0).toFixed(2):row.maxScore;
|
|
|
+ const minScore = ((row.minScore||0)+'').length>2?Number(row.minScore||0).toFixed(2):row.minScore;
|
|
|
+ const avgScore = ((row.avgScore||0)+'').length>2?Number(row.avgScore||0).toFixed(2):row.avgScore;
|
|
|
+ const maxScore = ((row.maxScore||0)+'').length>2?Number(row.maxScore||0).toFixed(2):row.maxScore;
|
|
|
ctx.font = `bold 14px ${FONT_FAMILY}`;
|
|
|
ctx.fillStyle = '#667E90';
|
|
|
ctx.fillText(minScore, COL_POSITIONS.min + COL_WIDTHS.min / 2, y + ROW_HEIGHT / 2);
|