.live() メソッドを使用して「plotselected」イベントを作成する方法 (プロットが動的であるため、bind を使用できません)。
jQuery(document).ready(function() {
jQuery("#placeholder").live("plotclick", function(event, ranges){
alert("plot click works!");
});
jQuery("#placeholder").live("plotselected", function(event, ranges){
alert("plot selected work!");
});
});
選択したプロットは機能しません。