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: {
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: {
x: {
title: {
@@ -52,14 +43,6 @@ class ChartEventPerf extends ChartWidget
text: 'Days since today'
}
},
y: {
beginAtZero:false,
ticks: {
callback: function(value, index, ticks) {
return value % 1 === 0 ? value : '';
}
}
},
},
}
JS);
@@ -44,15 +44,6 @@ class ChartEventPerfMoAv extends ChartWidget
interaction: {
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: {
x: {
title: {
@@ -60,14 +51,6 @@ class ChartEventPerfMoAv extends ChartWidget
text: 'Days since today'
}
},
y: {
beginAtZero:false,
ticks: {
callback: function(value, index, ticks) {
return value % 1 === 0 ? value : '';
}
}
},
},
}
JS);