Skip to content

Commit 248c7ff

Browse files
authored
Slow animation for charts. (#3)
1 parent 714ada6 commit 248c7ff

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/assets/js/frappe-charts.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/js/frappe-charts.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kotify/frappe-charts",
3-
"version": "1.4.1k7",
3+
"version": "1.4.1k8",
44
"description": "https://github.com/kotify/charts",
55
"main": "dist/frappe-charts.min.cjs.js",
66
"module": "dist/frappe-charts.min.esm.js",

src/js/utils/animate.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { getBarHeightAndYAttr, getSplineCurvePointsStr } from './draw-utils';
22

3-
export const UNIT_ANIM_DUR = 350;
4-
export const PATH_ANIM_DUR = 350;
3+
export const UNIT_ANIM_DUR = 3350;
4+
export const PATH_ANIM_DUR = 3350;
55
export const MARKER_LINE_ANIM_DUR = UNIT_ANIM_DUR;
6-
export const REPLACE_ALL_NEW_DUR = 250;
6+
export const REPLACE_ALL_NEW_DUR = 3150;
77

88
export const STD_EASING = 'easein';
99

0 commit comments

Comments
 (0)