Skip to content

Commit

Permalink
Slow animation for charts. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreimejov authored Jul 8, 2022
1 parent 714ada6 commit 248c7ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/assets/js/frappe-charts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/frappe-charts.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kotify/frappe-charts",
"version": "1.4.1k7",
"version": "1.4.1k8",
"description": "https://github.com/kotify/charts",
"main": "dist/frappe-charts.min.cjs.js",
"module": "dist/frappe-charts.min.esm.js",
Expand Down
6 changes: 3 additions & 3 deletions src/js/utils/animate.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { getBarHeightAndYAttr, getSplineCurvePointsStr } from './draw-utils';

export const UNIT_ANIM_DUR = 350;
export const PATH_ANIM_DUR = 350;
export const UNIT_ANIM_DUR = 3350;
export const PATH_ANIM_DUR = 3350;
export const MARKER_LINE_ANIM_DUR = UNIT_ANIM_DUR;
export const REPLACE_ALL_NEW_DUR = 250;
export const REPLACE_ALL_NEW_DUR = 3150;

export const STD_EASING = 'easein';

Expand Down

0 comments on commit 248c7ff

Please sign in to comment.