Revert last 3 commits

This commit is contained in:
cuom1999 2022-10-07 12:17:07 -05:00
parent 87e8f3d966
commit dfc12f81f2
20 changed files with 486 additions and 272 deletions

View file

@ -87,4 +87,24 @@
});
return chart;
}
function draw_timeline(data, $chart) {
var ctx = $chart.find('canvas')[0].getContext('2d');
var chart = new Chart(ctx, {
type: 'line',
data: data,
options: {
maintainAspectRatio: false,
legend: {
display: false,
},
scales: {
xAxes: [{
type: 'time',
}]
},
},
});
return chart;
}
</script>