diff options
Diffstat (limited to 'stats/pieseries.cpp')
-rw-r--r-- | stats/pieseries.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stats/pieseries.cpp b/stats/pieseries.cpp index 09e74961a..83b1645f1 100644 --- a/stats/pieseries.cpp +++ b/stats/pieseries.cpp @@ -74,9 +74,9 @@ void PieSeries::Item::highlight(ChartPieItem &item, int bin_nr, bool highlight, highlight ? highlightedBorderColor : ::borderColor); } -PieSeries::PieSeries(QGraphicsScene *scene, StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis, const QString &categoryName, +PieSeries::PieSeries(StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis, const QString &categoryName, const std::vector<std::pair<QString, int>> &data, bool keepOrder, bool labels) : - StatsSeries(scene, view, xAxis, yAxis), + StatsSeries(view, xAxis, yAxis), item(view.createChartItem<ChartPieItem>(ChartZValue::Series, pieBorderWidth)), categoryName(categoryName), highlighted(-1) |