Logarithmic error scale
linter / quality (push) Successful in 5m12s
tests / ci (8.3) (push) Successful in 4m29s

This commit is contained in:
2026-09-18 14:12:23 +02:00
parent 4610334f72
commit 2332e805e8
3 changed files with 5 additions and 3 deletions
@@ -113,8 +113,8 @@ const datasets = computed<ErrorDataset[]>(() => {
min: 0,
},
y: {
type: !epochErrorOnly ? 'linear' : 'logarithmic',
stacked: true,
beginAtZero: !props.isRegression,
grid: {
color: function (context) {
if (context.tick.value == 0) {
+3 -1
View File
@@ -14,6 +14,7 @@ import {
ScatterController,
LineController,
BarController,
LogarithmicScale,
} from 'chart.js';
import { ArrowDown, ArrowUp } from 'lucide-vue-next';
import { computed, nextTick, ref, watch } from 'vue';
@@ -52,7 +53,8 @@ ChartJS.register(
LineElement,
ScatterController,
LineController,
BarController
BarController,
LogarithmicScale
);
ChartJS.defaults.font.size = 16;
ChartJS.defaults.color = '#FFF';