Hi everyone,
when i enter the script
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-zoom/2.0.0/chartjs-plugin-zoom.min.js"></script>
in a template node, and I create two charts (1 with chart node, 1 with chart.js ) the one with chart node disappears and is no longer updated if I change page (error in console
TypeError: Cannot read properties of undefined (reading 'updateScaleDefaults')
at app.min.js:614:5434
at app.min.js:193:38
at Yg.completeTask (app.min.js:189:231)
at app.min.js:73:229
)
and that chart.js doesn't work properly the zoom (any zoom you do shows only the first data)
it happens only if type line, if type bar works perfectly (it doesn't give any error in console)
Only chart.js graphs can be made to work perfectly
Thank you
(used google translate)