code: public void addDataSerieToHistogram(String histogramID, double[] dataSerie, int binsCount){
          if (this.histograms.containsKey(histogramID)) {
              this.histograms.get(histogramID).addSeries(dataSerie, binsCount, histogramID, null);
          }
      }
docs: Adds data to the histogram.
  Given the number of bins, this will show a count on the number of
  times a value is repeated. For example:
  [1,2,3,1,1,3], and bins = 3
  Will provide:
  _
  | |    _
  | | _ | |
  _|_||_||_|_
  
  If the number of different values is different from the number of bins,
  then each bin will represent the number of values in a range, evenly distributed
  between the minimum and the maximum value. For example:
  [1,2,3,1,1,3], and bins = 2
  Two ranges will be considered: [1,2) and [2,3].
  BE ADVISED The middle value would be assigned to the upper range.
  In this example, the histogram will look:
  _  _
  | || |
  | || |
  _|_||_|_
  
  
  @param histogramID
  @param dataSerie the data
  @param binsCount the number of bins