Skip to content

DevExpress-Examples/wpf-charts-create-2d-line-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)