Is nested properties supported?
How do one do it?
My example is:
ChartMapping(dataSet, "MyX", "MyY"); // This works
ChartMapping(dataSet, "Complex.Item1", "Complex.Item2"); // This doesn't
...
public void ChartMapping(IEnumerable data, string x, string y)
{
DataSeries ds = new DataSeries();
ds.RenderAs = RenderAs.Line;
ds.DataSource = data; // Observable collection
DataMapping dm = new DataMapping();
dm.MemberName = "XValue";
dm.Path = x;
ds.DataMappings.Add(dm);
dm = new DataMapping();
dm.MemberName = "YValue";
dm.Path = y;
ds.DataMappings.Add(dm);
chartDetails.Series.Add(ds);
}
...
public class MyData : DependencyObject
{
public MyData (int x, int y)
{
MyX = x;
MyY = y;
Complex = new Tuple<int, int>(MyX, MyY);
}
public Tuple<int, int> Complex
{
get;
set;
}
public int MyX
{
get;
set;
}
public int MyY
{
get;
set;
}
}



Find content
Not Telling
