Back to Devexpress

Chart Control

wpf-117736-controls-and-libraries-charts-suite-chart-control.md

latest11.6 KB
Original Source

Chart Control

  • Apr 22, 2022
  • 4 minutes to read

The DevExpress Chart Control for WPF (ChartControl) is a powerful tool that helps you to visualize extremely large data sets. The Chart control delivers a comprehensive collection of chart types (bars, areas, lines, funnels, financial, etc.).

Try DevExpress WPF Chart In Your Project

Visit DevExpress.com to learn more about this product’s features, capabilities, and pricing options: WPF Chart Control. To try DevExpress controls and libraries in your projects, download our fully-functional 30-day trial version.

Download: Free 30-Day Trial

Created based on the Selection demo.

Created based on the Real-Time Chart demo.

Created based on the MVVM Financial Charting demo.

Get Started

Follow these step-by-step tutorials to create your first chart applications:

Series Types

The Charts suite ships with dozens of 2D and pseudo-3D chart types for your data: line, stacked bar, pie, and others.

You can also combine multiple series (for example, bar and line) within the same chart: Series View Compatibility.

Load and Shape Data

A chart can operate in bound or unbound modes. In unbound mode, you create and place series points. In bound mode, a chart or an individual series visualizes data from its data source (an object that implements the IList, IListSource, or IBindingList interface and is assigned to the chart or series DataSource property).

The topics below describe how to load data to a chart and configure data representation:

Chart Element Configuration

Various chart elements allow you to customize chart behavior and appearance.

SeriesA collection of related data points on the chart surface is called “series”. The appearance of these data points and the entire series depend on the type. You can also use point colorizers and segment colorizers to create condition-based appearances. The Chart Control can also calculate various indicators based on series data.Series Point LabelsThe Chart Control allows you to display labels for all points on the chart. Labels can include different information, for example, argument, value, or source field data. Additionally, you can apply specific settings to labels of side points.LegendsYou can add multiple legends, format their content, and specify position.AxesAxis options depend on the underlying data type. The axis range specifies visible data. If you need to plot different series with separate axes, you can add secondary axes.Axis labelsThe Chart Control allows you to format axis labels and customize their appearance based on associated values.PanesYou can distribute multiple series between several panes. The Chart Control ships with two pane layout modes: linear and grid. Add pane titles to allow users to distinguish between panes.Constant Lines and StripsAdd constant lines and strips to a chart to mark a value on an axis and highlight a value range.AnnotationsAllow you to display interactive callouts with text and image content on a chart.

To learn more about all chart elements and their hierarchy within a chart, refer to the following help topic: Chart Element Hierarchy.

Chart Designer

The Chart Designer can help you or your users create and set up a chart from scratch, or fine-tune an existing chart.

User Interaction

The Chart Control includes the following user interaction features:

Miscellaneous

ExamplesThis section contains code samples that implement most popular charting usage scenarios.DeploymentThis topic lists assemblies that applications require in order to use DevExpress Chart Control for WPF functionality.Save and Restore Chart LayoutYou can save all the settings applied to a chart to an XML file and then apply them to another chart. Note that source data is not saved.Print and ExportThe Chart Control can be printed and exported to various formats.Themes and PalettesAllow you to customize chart outward appearance.AnimationThe Chart Control supports various animation types for series, series points, and indicators.

Demos

Explore Chart demos in the DevExpress Demo Center:

Run Demo

See Also

Examples

Chart Element Hierarchy

Additional Resources

Deployment