Skip to content

Commit

Permalink
Merge branch 'release/v2.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
BigFatDog committed Dec 7, 2018
2 parents 670d5c3 + eea6ce6 commit bdfee91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vizart-basic",
"version": "2.0.3",
"version": "2.0.4",
"description": "VizArt Basic Charts: bar, row, rose, line, area, etc.",
"main": "dist/vizart-basic.js",
"module": "dist/vizart-basic.mjs",
Expand Down
6 changes: 3 additions & 3 deletions src/model/bar/animate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mouse, select } from 'd3-selection';
import { transition } from 'd3-transition';
import { mouse, select, selection } from 'd3-selection';
import 'd3-transition';
import drawRects from './draw-rects';
import drawHiddenRects from './draw-hidden-rects';

Expand Down Expand Up @@ -61,7 +61,7 @@ const animate = state => {
const dataJoin = dataUpdate.enter();
const dataRemove = dataUpdate.exit();

const exitTransition = transition()
const exitTransition = selection().transition()
.duration(_options.animation.duration.remove)
.each(() => {
dataRemove
Expand Down

0 comments on commit bdfee91

Please sign in to comment.