If you are using this plugin on resource constrained devices or drawing multiple charts on a large screen, it might be a good idea to decrease the frame rate to lower CPU usage. The following settings also reduce CPU usage by disabling animations, and improve general page performance.
const myChart = new Chart(ctx, {
options: {
animation: false, // disable animations
plugins: {
streaming: {
frameRate: 5 // chart is drawn 5 times every second
}
}
}
});
Last Updated: 6/19/2021, 6:53:43 AM
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4