Hello,
I just started working with WPF and am a total novice. I have a scatter line chart and a column chart on my page. Now the issue is how do I bind them to a stored Proc? In ASP.Net website, I bound them using a datatable as such
Dim dt3 As DataTable = GetData("Data", 4, 0, 0, 0, "M200", 1, 0, 0)
Me.Ultrachart1.Data.DataSource = dt3
Me.Ultrachart1.Data.DataBind()
Not sure how it's done in WPF for a XamChart. Any help please?
Thanks
you can use that same DataTable as the datasource for a series in XamChart. the only other step you need to take is to set the DataMapping for that series to something like, "Label=Col1; Value=Col2"