0

zk chart bug???

asked 2009-02-13 11:41:34 +0800

cmd gravatar image cmd
69 1

zk demo 的chart中修改一下代码
<attribute name="onClick">
String areaid = event.getArea();
if (areaid != null) {
Area area = self.getFellow(areaid);
alert(""+area.getAttribute("entity")+": "+area.getTooltiptext());
}
</attribute>
//加上一个右键事件
<attribute name="onRightClick">
alert(event.getArea());
</attribute>

同样的方式右键居然是null???不解

我想能不能在点击右键的时候触发左键的事件,或者如何通过代码来点火或触发一个左键事件?
比如说
我有个循环每一分钟触发一次左键的事件,也就是说自己引发一个事件,或创建一个事件的实例.
还有能不能自定义事件和响应?

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-02-13 11:41:34 +0800

Seen: 305 times

Last updated: Feb 13 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More