- Qt 6.7
- Qt Graphs
- Qt Graphs Overview for 2D
- Qt Graphs | Commercial or GPLv3

# Qt Graphs Overview for 2D

The Qt Graphs module provides a way to develop rapidly responding, complex, and dynamic 2D graphs for analytically demanding industries such as academic research and medicine. Qt Graphs provides 2D bars, lines, and scatter graphs. Combining user interaction and real-time 2D drawing graphs enables the creation of user interfaces that use space effectively.

See BarSeries, LineSeries, and ScatterSeries for details.

## Graph Types

The Qt Graphs module provides the following 2D graph types:

- Bar graphs
- Line graphs
- Scatter graphs

GraphsView is the base container for all 2D graph types, into which graphs are added as series.

### 2D Bar Graphs

The data is drawn as a series of vertical bars grouped by category, with one bar per category from each bar set added to the series.

See BarSeries and BarSet for more information.

### 2D Line Graphs

A line graph is used to show information as a series of data points connected by straight lines. For each point, two values are specified that determine its position on the horizontal axis and the vertical axis.

See LineSeries and XYPoint for more information.

### 2D Scatter Graphs

The scatter data is displayed as a collection of points on the graph. For each point, two values are specified that determine its position on the horizontal axis and the vertical axis.

See ScatterSeries and XYPoint for more information.