@makechart/bubble.gl 0.0.2 → 0.0.3

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,9 @@
1
1
  # Change Logs
2
2
 
3
+ ## v0.0.3
4
+
5
+ - add `desc` ( en / zh-TW ) to the config items, shown under the label in the makechart style panel
6
+
3
7
  ## v0.0.2
4
8
 
5
9
  - fix tooltip hover offset: map mouse into world coordinate by canvas rect ratio
package/index.html CHANGED
@@ -487,14 +487,15 @@ mod = function(o) {
487
487
  };
488
488
  },
489
489
  config: {
490
- palette: {type: 'palette'},
490
+ palette: {type: 'palette', desc: {en: "colors for the categories, assigned in the order they first appear in the data", "zh-TW": "各類別的配色,依類別在資料中第一次出現的順序套用"}},
491
491
  background: {type: 'color', default: '#ffffff'},
492
492
  bubble: {
493
- padding: {name: "bubble padding", type: 'number', default: 8, min: 0, max: 40, step: 1}
493
+ padding: {name: "bubble padding", type: 'number', default: 8, min: 0, max: 40, step: 1, desc: {en: "extra room each bubble keeps from its neighbors when they push apart, in px", "zh-TW": "泡泡互相推開時,每顆周圍多保留的空間 ( px )"}}
494
494
  },
495
495
  dynamics: {
496
496
  anchor: {
497
497
  name: "Anchor Layout", type: 'choice', default: 'orbit',
498
+ desc: {en: "where each category gathers: orbit on a slowly turning ring, circular on a still ring, array in a grid, center all in the middle", "zh-TW": "各類別聚集的位置:orbit 在緩慢旋轉的圓環上,circular 在固定的圓環上,array 排成格狀,center 全部集中在中間"},
498
499
  values: [
499
500
  {name: "Orbit", value: 'orbit'},
500
501
  {name: "Circular", value: 'circular'},
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@makechart/bubble.gl","version":"0.0.2","description":"GPGPU force layout bubble chart - 100k+ points, WebGL2","scripts":{"build":"./build"},"keywords":[],"author":"zbryikt","license":"MIT","dependencies":{"@plotdb/srcbuild":"^0.0.70","fedep":"1.7.3","livescript":"^1.6.0"}}
1
+ {"name":"@makechart/bubble.gl","version":"0.0.3","description":"GPGPU force layout bubble chart - 100k+ points, WebGL2","scripts":{"build":"./build"},"keywords":[],"author":"zbryikt","license":"MIT","dependencies":{"@plotdb/srcbuild":"^0.0.70","fedep":"1.7.3","livescript":"^1.6.0"}}