Commit a2ab8593 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix grid on flow

parent 3a5bdae3
......@@ -3962,6 +3962,7 @@
wait.add(mainLine.transition().attr('transform', transform));
wait.add(mainArea.transition().attr('transform', transform));
wait.add(mainCircle.transition().attr('transform', transform));
wait.add(xgrid.transition().attr('transform', transform));
})
.call(wait, function () {
var i, targets = [], eventRects = [];
......@@ -3973,8 +3974,11 @@
}
svg.selectAll('.' + CLASS.shapes).selectAll(targets).remove();
svg.selectAll('.' + CLASS.eventRects).selectAll(eventRects).remove();
svg.select('.' + CLASS.xgrid).remove();
// draw again for removing flowed elements
// draw again for removing flowed elements and reverting attr
xgrid
.attr('transform', null);
mainBar
.attr('transform', null)
.attr("d", drawBar);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -37,6 +37,14 @@
max: 1000
*/
}
},
grid: {
x: {
show: true
},
y: {
show: true
}
}
});
......
......@@ -43,7 +43,17 @@
max: 1000
*/
}
},
/* not supported yet
grid: {
x: {
show: true
},
y: {
show: true
}
}
*/
});
setTimeout(function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment