Retrieve Attributes Of Raphael Pie Chart
How to get the attributes of raphael pie chart: attributes like: stroke, values (not with legend), radius, x and y position My pie chart is defined as: pie = r.piechart(120, 140,
Solution 1:
You can get it from the pie slice itself like this
console.log(this.prev.prev.prev.attrs.stroke); //I know it looks a bit ugly...
Or from pie itself like this
console.log(pie.series[0].attrs.stroke);
Post a Comment for "Retrieve Attributes Of Raphael Pie Chart"