Disable animations and transitions in a Chartjs instance
•
1 min read
Here the tip:
const config = {
type: 'line',
data: [],
options:{
animation: false,
}
}
const chart = new Chart('#chart', config)
Here the tip:
const config = {
type: 'line',
data: [],
options:{
animation: false,
}
}
const chart = new Chart('#chart', config)