PDA

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



DineshGudikandula
26 Apr 2013, 4:50 AM
Hello...

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",
id:j+'arc'+this.getId(),
stroke: 'red',
'stroke-width': 10,
path: M 160 100 A60 60 0, 1, 1,48.03847577293369 70
}
this.surface.add(arc).show(true);


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

Any appreciated solution .

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