Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将如何在图形图表区域的左下角添加一些文本?我用谷歌搜索过,但 raphael 的文档不是很好:(
干杯! 约翰。
假设您的绘图占位符定义为
var r = Raphael("holder");
所以你像这样在上面放置文字
r.text(320, 100, "Interactive Donut Chart").attr({ font: "20px sans-serif" });
看看我的jsfiddle
g raphael js 交互式甜甜圈