@plotdb/chart 3.6.0 → 3.8.0

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 CHANGED
@@ -1,5 +1,35 @@
1
1
  # Change Logs
2
2
 
3
+ ## v3.8.0
4
+
5
+ - frames: `setRaw` accepts a dataframe ( `{frames: [{id, raw}], frameOrder}` ) and plays it -
6
+ `play` / `pause` / `seek` / `position` / `duration`, events `frame` / `progress` / `play` /
7
+ `pause` / `end`. `@frame` scope for charts ( `all()` for domains across frames ).
8
+ `chart.dataframe.split(rows, key)`. see `doc/index.md`.
9
+ - config: `common.animation` ( `transition`, `interval`, `speed`, `loop`, `autoplay` ), merged into
10
+ every chart.
11
+ - anim: `duration` ( base duration; tween durations / delays scale with it ), `speed` ( clock rate,
12
+ also applied to `step` ), `pause` / `resume`, `ago(ms, fn)` for tweens started in the past.
13
+ - frames: resume `chart.anim` when leaving frames with a plain array `setRaw` - pausing before it
14
+ left tweens frozen.
15
+
16
+
17
+ ## v3.7.0
18
+
19
+ - add `chart.utils.shape`: `arc` ( padAngle / cornerRadius / padRadius / centroid ), `line`, `area`
20
+ and `curve.linear` / `curve.catmullRom`, ported from d3-shape with the same output ( incl. `digits` ).
21
+ - add `chart.utils.color`: `turbo`, `discrete`, `quantize` ( from d3-scale-chromatic / d3-interpolate ).
22
+ - scale: add `pow` / `sqrt` / `symlog` / `point`. continuous scales now support piecewise domain /
23
+ range, `clamp`, and color ranges ( interpolated via `anim.interpolate` ).
24
+ - anim: a function attr value is called per frame with `t` ( like `attrTween` ); `style:<name>` keys
25
+ tween inline styles, skipped when the computed style already equals the target.
26
+ color interpolation clamps alpha and outputs `rgb()` when opaque.
27
+ - anim.join: entering nodes are inserted before the next existing node in data order ( as d3's
28
+ `enter.append` ) instead of always appended, so stacking order matches d3.
29
+ - brush: only set touch related styles when the device is touchable, matching d3-brush DOM.
30
+ - add `tools/verify` and `npm run verify`: compare shape / scale / color against d3 output.
31
+
32
+
3
33
  ## v3.6.0
4
34
 
5
35
  - core no longer depends on d3 or `ld$`: hover detection uses the internal `parent` helper.