View Full Version : Text along a curved path using ExtJs4.X

26 Apr 2013, 4:50 AM

I need some text on the Arc path.
i am check with these like : http://stackoverflow.com/questions/13903548/draw-text-in-d3-arc-javascript ,How can i achieve this curve text by convert this above link code into ExtJs,
in extjs "textPath" type is not there and attribute 'xlink:href':path not working,can any one help me to solve this problem in extjs.The below code is for Arc path i need to draw text on Arc.
Is is possible in extjs ?
My code is like:

var arc ={ type: "path",
stroke: 'red',
'stroke-width': 10,
path: M 160 100 A60 60 0, 1, 1,48.03847577293369 70

I need something like this http://bost.ocks.org/mike/uberdata/

Any appreciated solution .

26 Apr 2013, 9:07 PM
See: http://www.sencha.com/forum/showthread.php?262167