[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Expand]Charting Basics
   [Collapse]Series Views
    [Collapse]2D Series Views
     [Expand]Area Series Views
     [Expand]Bar Series Views
     [Expand]Financial Series Views
     [Expand]Gantt Series Views
     [Expand]Pie and Donut Series Views
     [Collapse]Point and Line Series Views
       Point Chart
       Bubble Chart
       Line Chart
       Stacked Line Chart
       Full-Stacked Line Chart
       Spline Chart
       Step Line Chart
       Scatter Line Chart
     [Expand]Radar Series Views
     [Expand]Polar Series Views
      Funnel Series View
      Swift Plot Series View
    [Expand]3D Series Views
     Series Views Compatibility
   [Expand]Chart Elements
   [Expand]Providing Data
   [Expand]Data Representation
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Line Chart

Expanded Short Description

The Line Chart is represented by the LineSeriesView object, which belongs to Point and Line Series Views. This view is useful when you need to show trends for several series on the same diagram, and to compare the values of several series for the same points arguments.

A Line chart is shown in the image below. Note that this chart type is based upon the XYDiagram, so it can be rotated to show lines either vertically or horizontally.

Expanded Chart Type Characteristics

The table below lists the main characteristics of this chart type.

Feature Value
Series View type LineSeriesView
Diagram type 2D-XYDiagram
Number of arguments per series point 1
Number of values per series point 1
Note

For information on which chart types can be combined with the Line Chart, refer to the Series Views Compatibility document.

Expanded Example

The following example demonstrates how to create a ChartControl with a series of the LineSeriesView type, and add this chart to a form at runtime. Before proceeding with this example, first create a Windows Forms Application in Visual Studio, and include all necessary assemblies to the References list of your project.

Then, add the following code to the Form.Load event handler.

Tip

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E1208.

Expanded See Also

Is this topic helpful?​​​​​​​