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

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

$
0
0
I'm plotting points on WPF OxyPlot based on a defined set of point indexes.
For example, I have a file containing two sections:

Section 1 (x, y, width, temperature)
0.00000 8008.00000 303.89111
2.07055 8007.72754 286.60547
4.00000 8006.92822 274.70264
etc


Section 2 (vertexes)
1, 44, 45, 2
2, 45, 46, 3
3, 46, 47, 4
etc

Section 2 tells me in what order to plot the x/y coordinates from Section 1, so the first line in Section 2 says to plot points in line 1, then points in line 44, then points in line 45, then points in line 2 (of Section 1), etc.

I need to use LabelFormatString to display the vertex values, ie 1, 44, 45, 2, etc rather than the x/y coordinates.

Is this possible and how?

MDJ

Viewing all articles
Browse latest Browse all 2061


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