CHAPTER 5

image

2D Line charts

In the previous chapters, we discussed graphics basics, matrix transformations in 2D space, and color and brush systems in WPF. This chapter will show you how to apply the knowledge and approaches from previous chapters to create real-world chart applications. We’ll discuss the common charting elements and how to implement them in a simple 2D X-Y line plot.

Simple Line Charts

The most basic and useful type of chart you can create with WPF is a simple 2D line chart of numerical data. WPF provides a set of commands and methods you can use to create these charts. Even the most elementary 2D chart consists of several basic ...

Get Practical WPF Charts and Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.