Set Chart.js animation duration

Animate lines after loading

https://github.com/CachetHQ/Cachet/pull/1625#issuecomment-197856024
This commit is contained in:
Fabian Vogler
2016-03-17 13:32:06 +01:00
parent b58b6d8375
commit 15907a6112

View File

@@ -36,6 +36,7 @@
<script>
(function () {
Chart.defaults.global.elements.point.hitRadius = 10;
Chart.defaults.global.responsiveAnimationDuration = 1000;
Chart.defaults.global.legend.display = false;
var charts = {};