commit/galaxy-central: guerler: Charts: Fix stacked area chart
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/341a68a70848/ Changeset: 341a68a70848 User: guerler Date: 2014-03-09 08:18:32 Summary: Charts: Fix stacked area chart Affected #: 1 file diff -r ecf395a6f4f79efab99c3645d1f6950d721acf48 -r 341a68a7084879a631343b66db4f89883ce48702 config/plugins/visualizations/charts/static/plugins/nv.d3.js --- a/config/plugins/visualizations/charts/static/plugins/nv.d3.js +++ b/config/plugins/visualizations/charts/static/plugins/nv.d3.js @@ -2902,12 +2902,7 @@ indexLine .data([index]); - //When dragging the index line, turn off line transitions. - // Then turn them back on when done dragging. - var oldDuration = chart.transitionDuration(); - chart.transitionDuration(0); chart.update(); - chart.transitionDuration(oldDuration); } g.select('.nv-background rect') @@ -6546,11 +6541,7 @@ brush .x(x2) .on('brush', function() { - //When brushing, turn off transitions because chart needs to change immediately. - var oldTransition = chart.transitionDuration(); - chart.transitionDuration(0); onBrush(); - chart.transitionDuration(oldTransition); }); if (brushExtent) brush.extent(brushExtent); @@ -13995,7 +13986,6 @@ ? d3.format('%') : yAxisTickFormat); g.select('.nv-y.nv-axis') - .duration(0) .call(yAxis); } Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org