简体   繁体   English

如何在raphael js动态中定位?

[英]how do I make a position in raphael js dynamic?

I have designed something like this http://jsfiddle.net/suchitadoshi1987/dfNB8/ , 我设计了这样的东西http://jsfiddle.net/suchitadoshi1987/dfNB8/

Now i want to dynamically put those three circles in different place. 现在,我想动态地将这三个圆圈放在不同的位置。 Its a graph basically and the circles inside the graph are the statistics. 它基本上是一个图,图中的圆圈是统计数据。 So can anyone help me out in positioning the circles dynamically? 那么有人可以帮助我动态定位圆吗?

thank you. 谢谢。

You can use the animate Raphael function with no animation time. 您可以在没有动画时间的情况下使用动画 Raphael函数。 I forked your fiddle here : http://jsfiddle.net/UTsLJ/3/ 我在这里分叉了你的小提琴: http : //jsfiddle.net/UTsLJ/3/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM