mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
parent
ef8b3f3276
commit
ab0bad541d
@ -441,7 +441,7 @@ class Morris.Grid extends Morris.EventEmitter
|
||||
.attr('stroke-width', @options.goalStrokeWidth)
|
||||
|
||||
drawEvent: (event, color) ->
|
||||
x = Math.floor(@transX(goal)) + 0.5
|
||||
x = Math.floor(@transX(event)) + 0.5
|
||||
if not @options.horizontal
|
||||
path = "M#{x},#{@yStart}V#{@yEnd}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user