私のチャートでうまく動作します。 mouseoverイベントはうまくいきましたが、クリックイベントを追加したときに、クリックイベントが実行されませんでした。Protovis Jquery tipsyはクリックイベントでは機能しません
以下は私のコードです:
var vis = new pv.Panel()
.width(w)
.height(h);
vis.add(pv.Bar)
.data(data)
.width(4)
.left(function() 5 * this.index)
.height(function(d) Math.round(d*4))
.bottom(0)
.text(function(d) d.toFixed(1))
.event("mouseover", pv.Behavior.tipsy({gravity: "w", fade: true}))
//If I remove the mouseover event, the click event will work but not when both are veing put together.
.event("click", function() self.location = "http://stanford.edu");
vis.render();
誰も私は、この問題を解決するのに役立つことはできますか?ありがとうございました。
私が同じ問題に遭遇したとき、これはうまくいきました。 –