Chart Class
Widget class that holds all chars component. More...
Header: | #include <Chart> |
Inherits: | QWidget |
Public Functions
virtual | ~Chart() |
void | appendView(ChartView *view) |
Qt::Orientation | areasOrientation() const |
int | areasSpacing() const |
void | clearViews() |
void | removeView(ChartView *view) |
SeriesList | series() const |
void | setAreasOrientation(Qt::Orientation orientation) |
void | setAreasSpacing(int spacing) |
void | setTheme(Chart::Theme theme) |
Chart::Theme | theme() const |
const ViewList & | views() const |
Detailed Description
QWidget's based class that holds all chars component. Class can contain one or more ChartView inside. ChartView represents a container with the axes. Series of charts (such as Bar, Line, Pie and etc.) should be added to ChartView.
Member Function Documentation
[virtual noexcept]
Chart::~Chart()
Destructor of Chart.
void Chart::appendView(ChartView *view)
Adds view to the chart.
void Chart::clearViews()
Removes all views from the chart.
void Chart::removeView(ChartView *view)
Removes view from the chart.
SeriesList Chart::series() const
Returns the list of series from all chart's views.
const ViewList &Chart::views() const
Returns the list of views in the chart.