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
| QAbstractAxis | The QAbstractAxis class is the base class of the axes of a chart. |
| QAbstractBarSeries | The QAbstractBarSeries class is the base class of the bar series. |
| QAbstractSeries | The QAbstractSeries class is the base class of the data series of a chart. |
| QAreaSeries | The QAreaSeries class fills the area between two lines, or below one. |
| QBarCategoryAxis | The QBarCategoryAxis class is an axis of named categories, as bar charts have. |
| QBarSeries | The QBarSeries class draws its sets as vertical bars side by side. |
| QBarSet | The QBarSet class is one set of values of a bar series, drawn as bars of one color. |
| QChart | The QChart class holds the series, axes, legend and title of a chart, and draws them. |
| QChartView | The QChartView class is a widget that shows a chart. |
| QDateTimeAxis | The QDateTimeAxis class is an axis of dates and times. |
| QHorizontalBarSeries | The QHorizontalBarSeries class draws its sets as horizontal bars side by side. |
| QHorizontalPercentBarSeries | The QHorizontalPercentBarSeries class draws its sets as shares of each category, horizontally. |
| QHorizontalStackedBarSeries | The QHorizontalStackedBarSeries class stacks its sets in horizontal bars. |
| QLegend | The QLegend class is the legend of a chart. |
| QLineSeries | The QLineSeries class draws its points joined by straight lines. |
| QLogValueAxis | The QLogValueAxis class is an axis with a logarithmic scale. |
| QPercentBarSeries | The QPercentBarSeries class draws its sets as shares of each category. |
| QPieSeries | The QPieSeries class draws its slices as a pie or a donut. |
| QPieSlice | The QPieSlice class is one slice of a pie series. |
| QScatterSeries | The QScatterSeries class draws a marker at each of its points. |
| QSplineSeries | The QSplineSeries class draws a smooth curve through its points. |
| QStackedBarSeries | The QStackedBarSeries class stacks its sets in vertical bars. |
| QValueAxis | The QValueAxis class is an axis of real numbers. |
| QXYSeries | The QXYSeries class is the base class of series of points: lines, splines and scatter plots. |