Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Binding to ScatterPolyLineSeries
posted

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

Parents
No Data
Reply Children
No Data