Este es mi código de gráfico, mi valor del eje x es correcto pero el valor del eje y no funciona
<script> const config = { type: 'line', data: { datasets: [{ data: <%=lineData%> }] }, options: { scales: { yAxes: [{ ticks: { beginAtZero: true, stepSize: 2 } }] } } }; </script> <script> const myChart = new Chart( document.getElementById('myChart'), config ); </script>El problema es ',' en el valor del eje y, cámbielo a '.'
data: [{x: 17.05.2022 19:44:47, y: 28.28}]