6.0.0-rc4Source

Nt Charts C++ Classes

Line, area, scatter, bar and pie charts for dashboards and reports.

Using the Module

target_link_libraries(app PRIVATE Nt::Charts)

Nt Charts draws charts in applications made with Nt Widgets: a QChart holds series and axes, and a QChartView shows it. See Using Nt Charts.

Link with Nt::Charts and include <QtCharts> or the headers of the classes, such as <QChartView>.

Classes

QAbstractAxisThe QAbstractAxis class is the base class of the axes of a chart.
QAbstractBarSeriesThe QAbstractBarSeries class is the base class of the bar series.
QAbstractSeriesThe QAbstractSeries class is the base class of the data series of a chart.
QAreaSeriesThe QAreaSeries class fills the area between two lines, or below one.
QBarCategoryAxisThe QBarCategoryAxis class is an axis of named categories, as bar charts have.
QBarSeriesThe QBarSeries class draws its sets as vertical bars side by side.
QBarSetThe QBarSet class is one set of values of a bar series, drawn as bars of one color.
QChartThe QChart class holds the series, axes, legend and title of a chart, and draws them.
QChartViewThe QChartView class is a widget that shows a chart.
QDateTimeAxisThe QDateTimeAxis class is an axis of dates and times.
QHorizontalBarSeriesThe QHorizontalBarSeries class draws its sets as horizontal bars side by side.
QHorizontalPercentBarSeriesThe QHorizontalPercentBarSeries class draws its sets as shares of each category, horizontally.
QHorizontalStackedBarSeriesThe QHorizontalStackedBarSeries class stacks its sets in horizontal bars.
QLegendThe QLegend class is the legend of a chart.
QLineSeriesThe QLineSeries class draws its points joined by straight lines.
QLogValueAxisThe QLogValueAxis class is an axis with a logarithmic scale.
QPercentBarSeriesThe QPercentBarSeries class draws its sets as shares of each category.
QPieSeriesThe QPieSeries class draws its slices as a pie or a donut.
QPieSliceThe QPieSlice class is one slice of a pie series.
QScatterSeriesThe QScatterSeries class draws a marker at each of its points.
QSplineSeriesThe QSplineSeries class draws a smooth curve through its points.
QStackedBarSeriesThe QStackedBarSeries class stacks its sets in vertical bars.
QValueAxisThe QValueAxis class is an axis of real numbers.
QXYSeriesThe QXYSeries class is the base class of series of points: lines, splines and scatter plots.