Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charts-render.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
function contentLoaded() {
// turn off animations as they can become annoying during typing
//Chart.defaults = { animation: { duration: 0 } }; // 2.x
Chart.defaults.animation.duration = 0; // 4.x

var chartElements = document.getElementsByClassName("chartjs");

Expand Down