@plotdb/chart 3.7.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/bundle.js +548 -22
- package/bundle.min.js +1 -1
- package/index.js +460 -13
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/utils/anim.js +88 -9
- package/utils/anim.min.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Change Logs
|
|
2
2
|
|
|
3
|
+
## v3.8.1
|
|
4
|
+
|
|
5
|
+
- move `d3`, `d3-force-boundary`, `@zbryikt/voronoijs`, `choosefont.js`, `@loadingio/ldcolorpicker`,
|
|
6
|
+
`ldpalettepicker`, `ldslider` and `ldcover` to `devDependencies` - core doesn't use them ( only the web
|
|
7
|
+
demos do ).
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## v3.8.0
|
|
11
|
+
|
|
12
|
+
- frames: `setRaw` accepts a dataframe ( `{frames: [{id, raw}], frameOrder}` ) and plays it -
|
|
13
|
+
`play` / `pause` / `seek` / `position` / `duration`, events `frame` / `progress` / `play` /
|
|
14
|
+
`pause` / `end`. `@frame` scope for charts ( `all()` for domains across frames ).
|
|
15
|
+
`chart.dataframe.split(rows, key)`. see `doc/index.md`.
|
|
16
|
+
- config: `common.animation` ( `transition`, `interval`, `speed`, `loop`, `autoplay` ), merged into
|
|
17
|
+
every chart.
|
|
18
|
+
- anim: `duration` ( base duration; tween durations / delays scale with it ), `speed` ( clock rate,
|
|
19
|
+
also applied to `step` ), `pause` / `resume`, `ago(ms, fn)` for tweens started in the past.
|
|
20
|
+
- frames: resume `chart.anim` when leaving frames with a plain array `setRaw` - pausing before it
|
|
21
|
+
left tweens frozen.
|
|
22
|
+
|
|
23
|
+
|
|
3
24
|
## v3.7.0
|
|
4
25
|
|
|
5
26
|
- add `chart.utils.shape`: `arc` ( padAngle / cornerRadius / padRadius / centroid ), `line`, `area`
|