Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

New Post: Using line series as annotation

$
0
0
You say that the line annotation is intended for straight lines, but I can easily do this:
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!

Viewing all articles
Browse latest Browse all 2061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>