我正在使用graphael为我的数据绘制条形图,但不知道如何为条形图添加标签。
var r = Raphael(element);
r.hbarchart(10, 20, 500, 220, barData, {colors:colors, type:'square'}).hover(fin, fout);发布于 2012-04-19 02:56:47
对图表对象调用label。
var barChart = r.g.barchart(0, 0, 200, 200, [3,2,1]);
barChart.label(['a','b','c']);https://stackoverflow.com/questions/8936837
复制相似问题