Quantcast
Channel: oxyplot Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1267

New Post: LabelFormatString to display other values other than x/y coordinates

$
0
0
Then why you just do something like this:
for(int i=0; i<s2.Points.Count(); i++)
{
s1.Points.Add(new DataPoint(myList1X[i],myListY[i] );
s1.LabelFormatString = (s2.Points[i].X, s2.Points[i].Y)
}
Please note that I haven't tested this (you would probable need ToString() that).
For disabling that you could put a condition before LabelFormatString and redraw the LineSeries whenever the user clicks on that particular CheckBox. Good luck

Viewing all articles
Browse latest Browse all 1267

Latest Images

Trending Articles



Latest Images

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