wip
This commit is contained in:
1 parent
8831714098
commit
5779c071a5
9 files changed
+6
-38
No files matched your search
@@ -61,12 +61,10 @@ class ChartEvent extends ChartWidget
|
|||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
labels: {
|
generateLabels: (chart) => {
|
||||||
font: {
|
const datasets = chart.data.datasets;
|
||||||
size: 11,
|
alert(datasets)
|
||||||
lineHeight: 1.1,
|
|
||||||
},
|
},
|
||||||
}
|
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
callbacks: {
|
callbacks: {
|
||||||
|
|||||||
@@ -65,12 +65,6 @@ class ChartEventMoAv extends ChartWidget
|
|||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
labels: {
|
|
||||||
font: {
|
|
||||||
size: 11,
|
|
||||||
lineHeight: 1.1,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
callbacks: {
|
callbacks: {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ class ChartEventPerf extends ChartWidget
|
|||||||
size: 11,
|
size: 11,
|
||||||
lineHeight: 1.1,
|
lineHeight: 1.1,
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
callbacks: {
|
callbacks: {
|
||||||
|
|||||||
@@ -72,12 +72,6 @@ class ChartPlayer extends ChartWidget
|
|||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
labels: {
|
|
||||||
font: {
|
|
||||||
size: 11,
|
|
||||||
lineHeight: 1.1,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
|
|||||||
@@ -75,12 +75,6 @@ class ChartPlayerMoAv extends ChartWidget
|
|||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
labels: {
|
|
||||||
font: {
|
|
||||||
size: 11,
|
|
||||||
lineHeight: 1.1,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
|
|||||||
@@ -69,12 +69,6 @@ class ChartPlayerPerf extends ChartWidget
|
|||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
labels: {
|
|
||||||
font: {
|
|
||||||
size: 11,
|
|
||||||
lineHeight: 1.1,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
|
|||||||
@@ -73,12 +73,6 @@ class ChartPlayerPerfMoAv extends ChartWidget
|
|||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
labels: {
|
|
||||||
font: {
|
|
||||||
size: 11,
|
|
||||||
lineHeight: 1.1,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
function animate(element, end, duration = 500) {
|
function animate(element, end, duration = 500) {
|
||||||
console.log(element, end);
|
// console.log(element, end);
|
||||||
|
|
||||||
var element = document.getElementById(element);
|
var element = document.getElementById(element);
|
||||||
const startTime = performance.now();
|
const startTime = performance.now();
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
function animate(element, end, duration = 500) {
|
function animate(element, end, duration = 500) {
|
||||||
console.log(element, end);
|
// console.log("hallo", element, end);
|
||||||
|
|
||||||
var element = document.getElementById(element);
|
var element = document.getElementById(element);
|
||||||
const startTime = performance.now();
|
const startTime = performance.now();
|
||||||
|
|||||||
Reference in new issue
Block a user