mirror of
https://github.com/adminkit/adminkit.git
synced 2026-03-31 19:57:44 +01:00
Replace document ready's
This commit is contained in:
@@ -427,7 +427,7 @@
|
||||
<script src="js/app.js"></script>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Line chart
|
||||
new Chart(document.getElementById("chartjs-line"), {
|
||||
type: "line",
|
||||
@@ -488,7 +488,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Bar chart
|
||||
new Chart(document.getElementById("chartjs-bar"), {
|
||||
type: "bar",
|
||||
@@ -541,7 +541,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Doughnut chart
|
||||
new Chart(document.getElementById("chartjs-doughnut"), {
|
||||
type: "doughnut",
|
||||
@@ -569,7 +569,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Pie chart
|
||||
new Chart(document.getElementById("chartjs-pie"), {
|
||||
type: "pie",
|
||||
@@ -596,7 +596,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Radar chart
|
||||
new Chart(document.getElementById("chartjs-radar"), {
|
||||
type: "radar",
|
||||
@@ -629,7 +629,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Polar Area chart
|
||||
new Chart(document.getElementById("chartjs-polar-area"), {
|
||||
type: "polarArea",
|
||||
|
||||
+3
-3
@@ -577,7 +577,7 @@
|
||||
<script src="js/app.js"></script>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var ctx = document.getElementById('chartjs-dashboard-line').getContext("2d");
|
||||
var gradient = ctx.createLinearGradient(0, 0, 0, 225);
|
||||
gradient.addColorStop(0, 'rgba(215, 227, 244, 1)');
|
||||
@@ -647,7 +647,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Pie chart
|
||||
new Chart(document.getElementById("chartjs-dashboard-pie"), {
|
||||
type: 'pie',
|
||||
@@ -675,7 +675,7 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(function() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
// Bar chart
|
||||
new Chart(document.getElementById("chartjs-dashboard-bar"), {
|
||||
type: 'bar',
|
||||
|
||||
Reference in New Issue
Block a user