Commit fb11f870 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix flow when no grids

parent 64552c80
...@@ -4020,7 +4020,7 @@ ...@@ -4020,7 +4020,7 @@
// update x domain to generate axis elements for flow // update x domain to generate axis elements for flow
updateXDomain(targetsToShow, true, true); updateXDomain(targetsToShow, true, true);
// update elements related to x scale // update elements related to x scale
flushXGrid(true); if (flushXGrid) { flushXGrid(true); }
// generate transform to flow // generate transform to flow
translateX = (x(flowStart.x) - x(flowEnd.x)) * (isTimeSeries ? 0.9 : 1); // TODO: fix 0.9, I don't know why 0.9.. translateX = (x(flowStart.x) - x(flowEnd.x)) * (isTimeSeries ? 0.9 : 1); // TODO: fix 0.9, I don't know why 0.9..
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
// ['data2', 100, 100], // ['data2', 100, 100],
['data3', 200, 150], ['data3', 200, 150],
], ],
min: new Date('2013-01-20'), to: new Date('2013-01-20'),
}); });
}, 1000); }, 1000);
......
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