diff --git a/app/assets/javascripts/visualizations/highvis/histogram.coffee b/app/assets/javascripts/visualizations/highvis/histogram.coffee index 6e629eef9..88a395a6d 100644 --- a/app/assets/javascripts/visualizations/highvis/histogram.coffee +++ b/app/assets/javascripts/visualizations/highvis/histogram.coffee @@ -60,15 +60,27 @@ $ -> text: '' tooltip: formatter: -> - str = "
#{xField}: | #{@point.realValue} | |
Bin: | #{@x} | |
# Occurrences: | #{@total} | |
#{@series.name}: | "
- str += "#{@y} |
Group : | " + str += "#{@series.name} |
#{xField} : | " + str += if (@point.realValue == undefined) then "1 in this Bin" else "#{@point.realValue}" + str += " |
Data Points : | " + str += "#{@y} in this Bin |