@plotdb/chart 3.15.0 → 3.16.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # Change Logs
2
2
 
3
+ ## v3.16.1
4
+
5
+ - add `desc` ( `{en, "zh-TW"}` ) to the shared config items ( `utils.config.preset`: default / tip / label /
6
+ legend / bin / axis, and `common-config`: animation / subset / empty / brush / annotation ). the makechart
7
+ style panel shows it under the label. items whose name already says it ( e.g. color, enabled ) have none
8
+ - note: `font` is shared by many sections, so it has no `desc`
9
+
10
+
11
+ ## v3.16.0
12
+
13
+ - new `chart.interactions()`: which user action emits a filter on which dimensions, as
14
+ `{click, brush, legend}` -> dimension names ( e.g. line: `{brush: ['order'], legend: ['value']}` ).
15
+ `filterDims` says which dimensions a chart filters on, but not what the user does to make it, so a host
16
+ can't tell users how to filter a chart from it ( e.g. bar and line both have a brush, and from outside
17
+ it's unclear whether clicking a data element filters too ). declared by `mod.interactions`, a
18
+ function like `filterDims` since it depends on config. lists only actions the chart handles itself, not
19
+ dimensions a host drives with `select`. returns `null` when undeclared - the host decides, we don't guess
20
+ - doc: `spec.md` documents `filterDims` and `interactions`
21
+
22
+
3
23
  ## v3.15.0
4
24
 
5
25
  - axis: `grid` ( `show`, `color`, `opacity`, `width`, `dash` ) draws one line per tick across the