2011-12-18 108 views
1

我想爲條形圖中的每個小節添加一個標籤以爲每個小節生成動態鏈接。 ATTR(HREF:「http://site.com/label」當我打電話標籤()方法debuger告訴我一個實習生方法不存在在條形圖上添加標籤Raphael

這是我的呼籲標籤條形圖:

paper.barchart(x, y, sizeX, sizeY, date, attr).hover(fin, fout).attr({opacity: .5}).label(["positive", "negative", "neutre", ""], date); 

這是螢火蟲

l.labelise is not a function 
label(y=["positive", "negative", "neutre", ""], Z=[41, 33, 26, 100])g.bar-min.js (line 7) 
chartBar(paper=a { customAttributes={...}, ca={...}, width=900, more...}, x=550, y=680, sizeX=100, sizeY=150, date=[41, 33, 26, 100])slider.js (line 267) 
textSlider()slider.js (line 337) 
f(b=Document details.html, f=[function()])jquery-1.7.min.js (line 2) 
f(b=Document details.html, c=[function()])jquery-1.7.min.js (line 2) 
f(a=undefined)jquery-1.7.min.js (line 2) 
f()jquery-1.7.min.js (line 2) 
[Break On This Error] (function(){var f=Math.min,a=Math.max;...){return new d(this,h,l,j,g,i,k)}})(); 
g.bar-min.js (line 7) 

這似乎是在庫中的錯誤的錯誤認識的人的方法來產生一個DINAMIC鏈接,每個酒吧

後來編輯:?http://jsfiddle.net/devth/rKjEj/2/

謝謝!

回答