hi
it's my very first time using wpf , and i don't know how to create a chart and link it to my database.
any idea how to start ?
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 19 Apr 2016, 09:45 AM
Hi Inaam,
Let me start RadChart is the old charting component. There is a new one (RadChartView) that resolves many of the known issues and limitations of RadChart. You can read about the differences between the controls in the RadChart vs. RadChartView help article.
As for your question, the chart control is working with all IEnumerable collections so after fetching your data from the data base and storing it in a collection you can pass it to the chart's series ItemsSource and bind the corresponding properties from the model. You can see how to populate the chart with a collection in the Create Data-Bound Chart help article.
Regards,
Martin
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.