statistics: highlight selected pie slices

In analogy to the other charts, highlight selected pie slices.
Overlay them with a checkerboard pattern, like in the bar charts.

Since all charts now support highlighting, the divesSelected()
virtual function now doesn't need a default implementation
anymore.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-02-07 20:48:43 +01:00 committed by Dirk Hohndel
parent bd252fc820
commit 21b8cded56
6 changed files with 44 additions and 14 deletions

View file

@ -17,10 +17,6 @@ QPointF StatsSeries::toScreen(QPointF p)
: QPointF(0.0, 0.0);
}
void StatsSeries::divesSelected(const QVector<dive *> &)
{
}
bool StatsSeries::supportsLassoSelection() const
{
return false;