Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/views/reports/core/kreportchartview.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | * Copyright 2005 Ace Jones <acejones@users.sourceforge.net> | 2 | * Copyright 2005 Ace Jones <acejones@users.sourceforge.net> | ||
3 | * Copyright 2005-2018 Thomas Baumgart <tbaumgart@kde.org> | 3 | * Copyright 2005-2018 Thomas Baumgart <tbaumgart@kde.org> | ||
4 | * Copyright 2017-2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> | 4 | * Copyright 2017-2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> | ||
5 | * Copyright 2018 Michael Kiefer <Michael-Kiefer@web.de> | ||||
5 | * | 6 | * | ||
6 | * This program is free software; you can redistribute it and/or | 7 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License as | 8 | * modify it under the terms of the GNU General Public License as | ||
8 | * published by the Free Software Foundation; either version 2 of | 9 | * published by the Free Software Foundation; either version 2 of | ||
9 | * the License, or (at your option) any later version. | 10 | * the License, or (at your option) any later version. | ||
10 | * | 11 | * | ||
11 | * This program is distributed in the hope that it will be useful, | 12 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 73 | /** | |||
74 | */ | 75 | */ | ||
75 | void removeLegend(); | 76 | void removeLegend(); | ||
76 | 77 | | |||
77 | private: | 78 | private: | ||
78 | 79 | | |||
79 | /** | 80 | /** | ||
80 | * Draw a PivotGridRow in a chart | 81 | * Draw a PivotGridRow in a chart | ||
81 | */ | 82 | */ | ||
82 | int drawPivotGridRow(int rowNum, const PivotGridRow& gridRow, const QString& legendText, const int startColumn = 0, const int columnsToDraw = 0, const int precision = 2); | 83 | int drawPivotGridRow(int rowNum, const PivotGridRow& gridRow, const QString& legendText, const int startColumn = 0, const int columnsToDraw = 0, const int precision = 2, const bool invertValue = false); | ||
83 | 84 | | |||
84 | /** | 85 | /** | ||
85 | * Set cell data | 86 | * Set cell data | ||
86 | */ | 87 | */ | ||
87 | void setDataCell(int row, int column, const double value, QString tip = QString()); | 88 | void setDataCell(int row, int column, const double value, QString tip = QString()); | ||
88 | 89 | | |||
89 | /** | 90 | /** | ||
90 | * Make sure the model has the right size | 91 | * Make sure the model has the right size | ||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |