Learn how to use the LiveCharts library to draw a line graph of the same data in a Windows Presentation Foundation application.
- [Instructor] Now that we've obtained a result…for a subset of our data,…the calculated slope is a mathematical result,…but I'd like to see it.…I need a visualization to make sure…that I can trust the code I've written.…We are visual creatures, and so what we're going to do…is modify the WPF project,…the Windows Presentation Foundation project,…to use a library that specifically can help us draw,…and in this case, draw a chart,…and we'll feed it the data necessary…for it to draw us a line chart…and show us the data that we're working with.…
And so, in the Main Window XAML file, double-click.…You'll see the split view between…the what-you-see-is-what-you-get designer,…with a graphical layout at the top.…I'll just move this up a little bit.…And so, first thing to do…is the C Sharp equivalent of a Using statement.…We'll add XMLNS,…and I'll give a prefix LVC,…which is appropriate for the Live View Charts,…or live charts, which is the library we want to use.…
And so, I'm hard coding this, but you could probably…copy-and-paste this from a sample.…
Skill Level Intermediate
1. Problem 1: Pond Oreille
2. Problem 2: Where Am I?
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Facial Recognition
6. Problem 6: Real-Time Information Dashboard
Next steps2m 46s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.