I tried the following code -
var fin = function () {
// this.flag = r.popup(this.bar.x, this.bar.y, this.bar.value || "0").insertBefore(this);
this.flag = r.popup(this.bar.x, 280, this.bar.y || "0").insertBefore(this);
};
var fout = function () {
this.flag.animate({opacity: 0}, 200, function () {this.remove();});
};
. . .
r.barchart(10, 10, 900, 300, [[55, 20, 13, 32]], 0, {type: "sharp"}).hover(fin, fout);
It works well in raphael sample page - http://g.raphaeljs.com/barchart2.html
but in my page the tooltip blackbackground is "jumping" up each mouse over. [the tooltip text stays at the correct x,y]
Do I use the wrong libraries? How do I fix it?