Skip to content

Commit

Permalink
Merge pull request #2592 from VictoriaAlbanese/va_2582_stddev_tooltip…
Browse files Browse the repository at this point in the history
…_fix

Fixed weird stdDev bounds issue
  • Loading branch information
pat-son authored Feb 10, 2017
2 parents 6a21add + c3bedf2 commit 48ddbab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/visualizations/highvis/bar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ $ ->
str += "<b>Bounds Represent Data ± 1 StdDev</b><br></div>"
str += "<table>"
str += "<tr><td style='text-align: right'>Upper Bound :&nbsp</td>"
str += "<td>#{@y + @point.stdDev}</td></tr>"
str += "<td>#{@y}</td></tr>"
str += "<tr><td style='text-align: right'>Lower Bound :&nbsp</td>"
str += "<td>#{@y - @point.stdDev}</td></tr>"
str += "<td>#{@y - 2 * @point.stdDev}</td></tr>"
#{@point.fieldUnit}</strong></td></tr>"
str += "</table>"

Expand Down

0 comments on commit 48ddbab

Please sign in to comment.