6 /*----------------------------------------------------------------------*\
8 \*---------------------------------------------------------------------*/
10 /*--------------------------------------*\
12 \*-------------------------------------*/
14 class CBI_GRAPH Histogram
: public Polylines
18 * Create an histogram with nbrSep+1 bins
19 * @param nbrSep the number of separation.
21 Histogram(Title title
, Apparance apparance
, shared_array
<float> tabvalues
, int nbValue
,Interval intervalX
, int nbrSep
);
24 void setValue(shared_array
<float> tabvalues
, int nbValue
);
26 static int computeNbPoint(int nbrSep
);
28 void minMaxValues(Interval
& minMax
);
29 void setIntervalGraphX(Interval intervalX
);
33 * Compute the histogram
35 void computeHistogram();
39 * Create the histogram with the points.
45 shared_array
<float> tabvalues
;
51 Interval intervalGraphX
;
56 /*----------------------------------------------------------------------*\
58 \*---------------------------------------------------------------------*/