Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 3.54 KB

Readme.md

File metadata and controls

46 lines (30 loc) · 3.54 KB

Chart for WPF - Create a 2D Line Chart and Bind It to Data

The following example shows how to create a 2D Line chart.

Resulting chart

Create a ChartControl and set its ChartControl.Diagram property to an XYDiagram2D object.

Add a LineSeries2D object to the Diagram.Series collection.

Note that the ChartControl.Diagram and Diagram.Series are content properties. You can declare series in XAML directly after a diagram's declaration without wrapping them in opening and closing ChartControl.Diagram and Diagram.Series tags.

Use the following properties to bind the series to data:

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)