Add Text or Label to a Silverlight Arc -


hi possible text or label shape object in silverlight arc? created chart compose of multiple arcs, need set label on top of arc identify data is.enter image description here

you can use pathlistbox if want place text on arc. see text along curvature path circular or arc in silverlight

alternatively, can position own textblock object. use polar rectangular conversion http://www.teacherschoice.com.au/maths_library/coordinates/polar_-_rectangular_conversion.htm

for instance if center of circle 10,20 , radius 30 , angle want place textblock 45,

double degreetoradian(double degree) { return math.pi / 180 * degree; } x = 30 * math.cos(degreetoradian(45)) + 10 y = 30 * math.sin(degreetoradian(45)) + 20 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -