Mudanza de repo

This commit is contained in:
2025-09-22 18:43:29 -06:00
parent 26fe36ca52
commit d11d543bdc
193 changed files with 10998 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{% load static %}
<div>
<canvas id="myChart" width="400" height="200"></canvas>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
const ctx = document.getElementById('myChart').getContext('2d');
const chart = new Chart(ctx, {
type: 'bar', // Puedes cambiar a 'line', 'pie', etc.
data: {
labels: ['Ene', 'Feb', 'Mar', 'Abr', 'May'],
datasets: [{
label: 'Ventas',
data: [10, 20, 30, 40, 50],
backgroundColor: 'rgba(54, 162, 235, 0.6)',
}]
},
options: {
responsive: true,
maintainAspectRatio: false
}
});
</script>