mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 09:03:51 -05:00
added histograms
This commit is contained in:
parent
a1c901e22a
commit
de6b986c01
2 changed files with 81 additions and 11 deletions
|
|
@ -29,9 +29,10 @@ class Histogram
|
|||
Histogram(double start, double end, int bins);
|
||||
|
||||
void draw(QPainter *painter) const ;
|
||||
|
||||
void insert(double val);
|
||||
|
||||
const std::vector<uint32_t>& entries() const { return mBins; }
|
||||
|
||||
private:
|
||||
double mStart;
|
||||
double mEnd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue