0
A
回答
1
您首先需要安装:chartjs-插件递延here 然后添加到您的项目
plugins: {
deferred: { // enabled by default
xOffset: 150, // defer until 150px of the canvas width are inside the viewport
yOffset: '50%', // defer until 50% of the canvas height are inside the viewport
delay: 500 // delay of 500 ms after the canvas is considered inside the viewport
}
}
相关问题
- 1. 延迟动画
- 2. SVG动画延迟
- 3. jQuery动画延迟
- 4. 延迟动画iphon
- 5. jQuery动画延迟
- 6. 动画与延迟
- 7. 延迟jQuery动画
- 8. UIKeyboardWillHideNotification动画延迟
- 9. UIView动画延迟
- 10. JQUERY动画延迟?
- 11. 动画无延迟(UIView animateWithDuration延迟)
- 12. CSS3动画延迟开始
- 13. Safari中的动画延迟
- 14. 动画按钮延迟 - iPhone
- 15. jquery延迟()打破动画
- 16. 延迟WPF动画旋转
- 17. UIView动画不会延迟!
- 18. iPhone动画延迟问题
- 19. 延迟动画开始
- 20. 延迟jQuery slideToggle动画
- 21. 延迟悬停动画
- 22. jQuery动画中的延迟
- 23. iOS键盘延迟动画
- 24. 动画setImage,延迟setImage
- 25. UIView动画已延迟
- 26. ios动画开始延迟
- 27. UIView removeFromSuperView动画延迟
- 28. 动画之间的延迟
- 29. 动画延迟的jsfiddle
- 30. CSS3动画延迟问题
看看这个问题 - http://stackoverflow.com/q/33356826/360067 – potatopeelings
是的,我看到了这一点,但是因为我提到了我的JS技能,所以我只能在chart.js中使用此代码(或下面)来使其工作。 – wessam