Text with a LineAnnotation on the right-hand side

Oystein Bjorke 10 років тому 0
This discussion was imported from CodePlex

Tech_Junkie wrote at 2012-08-13 14:00:

The module is still doing what I want, thank you for all the functionality Objo, but now I'm diving deeper and deeper into the use of the code, and of course I'm finding small boundaries.

After http://oxyplot.codeplex.com/discussions/376175 it is not possible to give the text with a LineAnnotation a TextOrientation. This is great! except that the text is always put on the same side of the line (here it is the left-hand side) and sometimes (for instance when the line is very close to the lower end of the plot) I would like to put the text on the right-hand side of the line because it will not be readable otherwise.

Would it be possible to specify a left / right (and above / under) relative location for the text with a LineAnnotation?


objo wrote at 2012-08-21 13:30:

Agree - this should be added. It would be best if this was automatic, but maybe this is not possible? Also - the text orientation enum could be replaced by a text direction angle?


objo wrote at 2012-08-23 15:56:

Added issue http://oxyplot.codeplex.com/workitem/9987