Create and Customize Presentation Charts with DevExpress Presentation API
- 2 minutes to read
The DevExpress Presentation API library allows you to read existing charts in presentations, create new charts, and customize charts and their elements in code. The library supports standard chart series types, such as line, bar, and pie, as well as extended chart series types available in Office 2016 and later, such as histogram, map, and waterfall.
You can also create combo-charts that combine two or more chart series types in a single chart.
Chart vs ChartEx
The DevExpress Presentation API library ships with two chart classes — Chart and ChartEx. Each chart class supports its own set of chart series types and specific settings.
Chart can display the following series (ChartType lists supported series types):
- Area
- Area 3D
- Bar
- Bar 3D
- Bubble
- Doughnut
- Line
- Line 3D
- Pie of Pie
- Bar of Pie
- Pie
- Pie 3D
- Radar
- Scatter
- Stock
- Surface
- Surface 3D
To get started with the Chart class, refer to the following help topic:
ChartEx can display the following series (ChartExType lists supported series types):
- Box and Whisker
- Funnel
- Histogram
- Pareto
- Map
- Sunburst
- Treemap
- Waterfall
To get started with the ChartEx class, refer to the following help topic:
Access an Existing Chart
Each chart is a shape, so you can use a slide’s Shapes property to access the charts on a slide.
Load Data to a Chart
Charts require a data source to display data. You can specify chart data directly in code or populate cells in an associated spreadsheet and reference those cells from the chart.
For more information, refer to the following help topic:
Customize Chart Axes
You can fully customize chart axes in code. For example, you can specify the axis title, configure the axis labels, and customize the axis scale.
For more information, refer to the following help topics: