Graphique loterie de Noël

 

// Options du graphique var opcionesLoteria = { scales: { y: { beginAtZero: true } } };

// Obtenir le contexte du canevas var ctx = document.getElementById('lotteryChart').getContext('2d');

// Créer le graphique en barres var myChart = new Chart(ctx, { type: 'bar', data: datosLoteria, options: opcionesLoteria });