I've inherited a small WPF project. I've never done anything with WPF or XAML before, but it looks relatively straightforward. I've been asked to evaluate the feasibility of some changes.
Currently we have a wheel, with spokes. The spoke labels current 'stick out' outside the wheel, written horizontally, but at the 'spoke angle' (essentially, the labels look like extensions of the spoke). I've been asked if we can change this to display the spoke label in an arc-ing band around the wheel (the label on a coloured arc, centred on each spoke).
(the text is semi-dynamic, read from a data file!)
Seeing this:
Text On A Path in WPF[
^]
and this:
ArcSegment[^]
It seems like this wouldn't be too difficult to achieve, but I have no idea about the technicalities.
What about word-wrapping of "arced" text? What about centring horizontally and vertically? What about calculating the text size so I can change the font size if it doesn't fit? How and when to flip the text on the arc so it is mostly the right way up? These are some of the details I can anticipate having to deal with, but have no idea how workable / easy / possible they are.
Is this change harder than it sounds?