This is a migrated thread and some comments may be shown as answers.

chart wpf

1 Answer 50 Views
Chart
This is a migrated thread and some comments may be shown as answers.
inaam
Top achievements
Rank 1
inaam asked on 18 Apr 2016, 12:03 PM

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

Sort by
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.
Tags
Chart
Asked by
inaam
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or