08-21-2013 11:01 AM
I currently have an ObservableCollection<Point[]> which i am binding to the datasource property of a graph. This plots fine, but the points in each point array are joined by a line. Is there a way to turn the line off and just show point markers. If so how? And how might you format the markers?
Thanks
Solved! Go to Solution.
08-22-2013 10:31 AM
By default, the graph uses a LinePlotRenderer
to draw data. You can set the Renderer
on a plot to use a PointPlotRenderer
instead:
<ni:Plot>
<ni:Plot.Renderer>
<ni:PointPlotRenderer Fill="Blue" />
</ni:Plot.Renderer>
</ni:Plot>