This commit is contained in:
salam committed 2026-05-28 18:29:34 +02:00
1 parent 7cb30a256c
commit 6cf72a83f4
2 files changed
-34

No files matched your search

-17
View File
@@ -36,15 +36,6 @@ class ChartEventPerf extends ChartWidget
interaction: { interaction: {
intersect: false, intersect: false,
}, },
// plugins: {
// tooltip: {
// callbacks: {
// label: (context) => {
// return [' '+context.parsed.y, ' '+context.dataset.playing_date[context.dataIndex], ' '+context.dataset.events[context.dataIndex], ' '+context.dataset.results_per_event[context.dataIndex]];
// },
// }
// }
// },
scales: { scales: {
x: { x: {
title: { title: {
@@ -52,14 +43,6 @@ class ChartEventPerf extends ChartWidget
text: 'Days since today' text: 'Days since today'
} }
}, },
y: {
beginAtZero:false,
ticks: {
callback: function(value, index, ticks) {
return value % 1 === 0 ? value : '';
}
}
},
}, },
} }
JS); JS);
@@ -44,15 +44,6 @@ class ChartEventPerfMoAv extends ChartWidget
interaction: { interaction: {
intersect: false, intersect: false,
}, },
// plugins: {
// tooltip: {
// callbacks: {
// label: (context) => {
// return [' '+context.parsed.y, ' '+context.dataset.playing_date[context.dataIndex], ' '+context.dataset.events[context.dataIndex], ' '+context.dataset.results_per_event[context.dataIndex]];
// },
// }
// }
// },
scales: { scales: {
x: { x: {
title: { title: {
@@ -60,14 +51,6 @@ class ChartEventPerfMoAv extends ChartWidget
text: 'Days since today' text: 'Days since today'
} }
}, },
y: {
beginAtZero:false,
ticks: {
callback: function(value, index, ticks) {
return value % 1 === 0 ? value : '';
}
}
},
}, },
} }
JS); JS);