18 #ifndef QGSHISTOGRAM_H
19 #define QGSHISTOGRAM_H
23 #include "qgis_core.h"
52 void setValues(
const QList<double> &values );
71 double optimalBinWidth()
const;
81 int optimalNumberBins()
const;
90 QList<double> binEdges(
int bins )
const;
98 QList<int> counts(
int bins )
const;
102 QList<double> mValues;
107 void prepareValues();
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Calculator for a numeric histogram from a list of values.
QgsHistogram()=default
Constructor for QgsHistogram.
virtual ~QgsHistogram()=default
Represents a vector layer which manages a vector based data sets.