##// END OF EJS Templates
Adds supported chart types to docs
Michal Klocek -
r484:4035b6e7db8b
parent child
Show More
@@ -5,6 +5,20
5
5
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGrsphicsWidget using QChart class. However
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGrsphicsWidget using QChart class. However
7 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
7 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
8 Currently API supports following chart types:
9
10 \list
11 \o area
12 \o line
13 \o bar
14 \o percent bar
15 \o pie
16 \o scatter
17 \o spline
18 \o stacked bar
19 \endlist
20
21
8 Each chart type is represented by QSeries derived class. To create given chart type users have to use instace of releted sereis class and add it to QChart/QChartView instance.
22 Each chart type is represented by QSeries derived class. To create given chart type users have to use instace of releted sereis class and add it to QChart/QChartView instance.
9 \code
23 \code
10 QLineSeries* series = new QLineSeries();
24 QLineSeries* series = new QLineSeries();
General Comments 0
You need to be logged in to leave comments. Login now