Merge pull request #1911 from Rutorai/bug/1651_milestone_incorrect_vertical_position
The vertical position was wrongly based on index in sorted array.
This commit is contained in:
commit
0646b43144
|
@ -189,6 +189,9 @@ export const draw = function(text, id) {
|
|||
})
|
||||
.attr('height', theBarHeight)
|
||||
.attr('transform-origin', function(d, i) {
|
||||
// Ignore the incoming i value and use our order instead
|
||||
i = d.order;
|
||||
|
||||
return (
|
||||
(
|
||||
timeScale(d.startTime) +
|
||||
|
|
Loading…
Reference in New Issue