我正在尝试使用highcharter R包添加自定义动画,就像在这个中使用极轴图表一样。
我可以使用JS做到这一点,但我不能将动画函数(从存储库)转换为highcharter。
下面是我的R代码:
# I've tried to created a function using `JS`:
easeOutBounce <- JS("function (pos) {
if ((pos) < (1 / 2.75)) {
return (7.5625 * pos * pos);
}
if (pos < (2 / 2.75)) {
re
我试图用负延迟错开我的AnimationSequence,但是当我在AnimationSequence上使用它时,endDelay属性什么也不做:
var el = this.shadowRoot.querySelectorAll('.nav-item');
var animations = [];
for (var i = 0; i < el.length; i++) {
animations.push(el[i].animationGroupIn);
}
this.animationSequence = new AnimationSequence(anim