====== Chart.js ====== Biblioteca JavaScript para crear gráficas. * [[https://www.chartjs.org|Web oficial]] ===== Ejemplo =====
===== Configuración ===== ==== Título gráfica ==== La opción ''title'' dentro de ''plugins'' permite mostrar un título en la cabecera de la gráfica. const chart = new Chart(ctx, { type: 'line', data: data, options: { plugins: { title: { display: true, text: 'Custom Chart Title' } } } }); ==== Título ejes de coordenadas ==== new Chart(ctx, { (...) options: { scales: { y: { title: { display: true, text: "Velocidad" } }, x: { title: { display: true, text: "Tiempo" } } } } });