wip
This commit is contained in:
1 parent
7cb30a256c
commit
6cf72a83f4
2 files changed
-34
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user