Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不想要一个完整的图表库。我想要的只是将 1 个矩形框从 0 动画到一个设定值,就像一个线性量规,但不需要标签或值数组。使用拉斐尔最干净的方法是什么。量规容器应设置背景颜色。
square.animate({height: scale}, 1000, 'bounce');