You say that the line annotation is intended for straight lines, but I can easily do this:
I'll give a try at creating a PolylineAnnotation, will give me an excuse to dive into the code as I will probably have reason to do some changes for my needs in the future :).
Otherwise, is there a way to remove the popup that gives the value when we click for some specific series?
Thanks for your answer!
LineAnnotation lineAnnotation = new LineAnnotation()
{
Equation = (double x) => { return Math.Sin(x); },
Type = LineAnnotationType.EquationY
};
And it gives me a nice sinusoid, doesn't seem to be any issue with displaying curves and the like.I'll give a try at creating a PolylineAnnotation, will give me an excuse to dive into the code as I will probably have reason to do some changes for my needs in the future :).
Otherwise, is there a way to remove the popup that gives the value when we click for some specific series?
Thanks for your answer!