I am attempting to place a text annotation against a CustomLine using the method outlined in the forum article below:
This works fine if the line intersects with the X-Axis within the display area of the chart or if the slope is 0, however if the line has a slope that intersects with the Y-Axis the text is not shown.
The reason is that the XElement property of CustomLine is a large negative value that pushes the text off screen
Could you please advise how to place text annotation on this type of line.
I modified the sample in the above forum post to illustrate the problem.