If I have two classes as follows:
public class Defect
{
public DateTime DefectDate { get; set; }
public double QuanityDefective { get; set; }
public Customer CustomerName { get; set; }
}
public class Customer
{
public string Name { get; set; }
public string City { get; set; }
}
If I bind my chart to an ObservableCollection of Defect, can I map the Xaxis field as Customer.Name?
public class Defect
{
public DateTime DefectDate { get; set; }
public double QuanityDefective { get; set; }
public Customer CustomerName { get; set; }
}
public class Customer
{
public string Name { get; set; }
public string City { get; set; }
}
If I bind my chart to an ObservableCollection of Defect, can I map the Xaxis field as Customer.Name?