I'm integrating coxComb charts in my charting library raphael4gwt. It worked nice with the exception of bad position of labels if the coxcomb chart is the first thing drawed in the paper. the following reproduce the issue: http://jsfiddle.net/cancerbero_sgx/ZCfuy/3/
Not sure what the error error cause was, I fixed it modifying line number 50 to :
label.transform("r" + (-labelAngle)+","+xLabel+","+yLabel);
(passing the center to the rotation)
That way works fine. Note: I'm including coxcomb in the same document with other raphael extensions and charting tools. Perhaps some incompatibility with some of them can be the cause. Regards
I'm integrating coxComb charts in my charting library raphael4gwt. It worked nice with the exception of bad position of labels if the coxcomb chart is the first thing drawed in the paper. the following reproduce the issue: http://jsfiddle.net/cancerbero_sgx/ZCfuy/3/
Not sure what the error error cause was, I fixed it modifying line number 50 to :
label.transform("r" + (-labelAngle)+","+xLabel+","+yLabel);
(passing the center to the rotation)
That way works fine. Note: I'm including coxcomb in the same document with other raphael extensions and charting tools. Perhaps some incompatibility with some of them can be the cause. Regards