graphael - Position of g.raphael piechart legend -


i making dynamic pie chart , quite new making charts graphael

is possible make legend go way left in example? using g.raphael , g.pie.js , legendpos set "south".

is there way make southwest? example of current chart can seen @ following link: example of pie chart

i had same problem. solution work not flexible:

var chart = raphael(target, target.clientwidth, target.clientheight); var pchart = chart.piechart(w, h, rad, values, {legend: legend, legendpos: "south", minpercent: 0.01, legendothers: "others"}); pchart.attr({"font-size": 16, "font-family": "arial", "cx":"280", "x":"295"}); 

"cx" attribute x-pos of dot in legend , "x" attribute x-pos of text in legend.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -