I am not able to get the binding correct for the ScatterPolyLineSeries.
Based on your online example, I created a Node object:
public class Node {
// The lines that branch off this node to other nodes.
public List<List<Point>> Points { get; set; } ;
}
But I don't know what 'Nodes' is in the following:
// create and set data binding to the
ScatterPolylineSeries var polylineSeries = new ScatterPolylineSeries();
polylineSeries.ItemsSource = Nodes;
polylineSeries.ShapeMemberPath = "Points";
polylineSeries.XAxis = xAxis;
polylineSeries.YAxis = yAxis;
I have tried, among others:
public List<Node> Nodes {get;set;}
Thanks
Bill
Hello Bill,
The structure you have outlined in this thread is correct for binding a ScatterPolylineSeries. I am attaching a sample project to demonstrate.
Please let me know if you have any other questions or concerns on this matter.
XamDataChartScatterPolygonSeries.zip