cxplot 0.1.28 → 0.1.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cxplot",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "cxplot \u2014 validate, render, hash and export CanvasXpress figure specs with the same engine the browser runs",
5
5
  "bin": {
6
6
  "cxplot": "bin/cxplot.js"
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "ajv": "^8.17.1",
24
24
  "ajv-formats": "^3.0.1",
25
- "canvasxpress": "71.2.0",
25
+ "canvasxpress": "71.4.0",
26
26
  "playwright": "1.59.1"
27
27
  },
28
28
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "$id": "https://canvasxpress.org/schema/canvasxpress-config-latest.schema.json",
4
4
  "title": "CanvasXpress configuration",
5
5
  "description": "Machine-generated schema for the CanvasXpress config object. Generated from CanvasXpress.doc (the engine's internal parameter registry) — do not hand-edit; re-run tools/schema/generate-config-schema.js.",
6
- "x-cx-version": "71.2",
6
+ "x-cx-version": "71.4",
7
7
  "type": "object",
8
8
  "additionalProperties": true,
9
9
  "properties": {
@@ -494,6 +494,27 @@
494
494
  "WordCloud"
495
495
  ]
496
496
  },
497
+ "aspect3D": {
498
+ "type": [
499
+ "string",
500
+ "boolean"
501
+ ],
502
+ "description": "3D aspect mode. cube (default) draws all three axes at equal length so each fills its own range; data scales the X/Y/Z box proportions to the real per-axis data spans so the surface keeps true data proportions (like Plotly aspectmode:data)",
503
+ "default": "cube",
504
+ "enum": [
505
+ "cube",
506
+ "data",
507
+ false
508
+ ],
509
+ "x-cx-false-disables": true,
510
+ "x-cx-category": "3D Attributes",
511
+ "x-cx-nl": "Set the aspect3 d to {_option_}",
512
+ "x-cx-graphtypes": [
513
+ "Bar",
514
+ "Network",
515
+ "Scatter3D"
516
+ ]
517
+ },
497
518
  "attractiveForceFunction": {
498
519
  "type": [
499
520
  "string",
@@ -10989,6 +11010,22 @@
10989
11010
  "Volcano"
10990
11011
  ]
10991
11012
  },
11013
+ "fxSamples": {
11014
+ "type": [
11015
+ "integer",
11016
+ "boolean"
11017
+ ],
11018
+ "description": "Number of grid subdivisions per axis when plotting a function (fx) as a 3D surface. Higher values give smoother surfaces and finer color detail; the grid has fxSamples+1 points per axis",
11019
+ "default": 25,
11020
+ "x-cx-false-disables": true,
11021
+ "x-cx-category": "3D Attributes",
11022
+ "x-cx-nl": "Set the fx samples to {_integer_}",
11023
+ "x-cx-graphtypes": [
11024
+ "Bar",
11025
+ "Network",
11026
+ "Scatter3D"
11027
+ ]
11028
+ },
10992
11029
  "ganttCompletion": {
10993
11030
  "type": [
10994
11031
  "string",
@@ -14192,55 +14229,6 @@
14192
14229
  "x-cx-category": "Events",
14193
14230
  "x-cx-nl": "{Load|Do Not Load} canvas only if shown in viewport"
14194
14231
  },
14195
- "leafletAlpha": {
14196
- "type": [
14197
- "number",
14198
- "boolean"
14199
- ],
14200
- "description": "Transparency for leaflet layers",
14201
- "default": 0.7,
14202
- "x-cx-false-disables": true,
14203
- "x-cx-category": "Maps Leaflet",
14204
- "x-cx-nl": "Set the leaflet alpha to {_float_}",
14205
- "x-cx-graphtypes": [
14206
- "Map"
14207
- ]
14208
- },
14209
- "leafletTileType": {
14210
- "type": [
14211
- "string",
14212
- "boolean"
14213
- ],
14214
- "description": "Leaflet tile type",
14215
- "default": "street",
14216
- "enum": [
14217
- "street",
14218
- "terrain",
14219
- "labels",
14220
- "satellite",
14221
- false
14222
- ],
14223
- "x-cx-false-disables": true,
14224
- "x-cx-category": "Maps Leaflet",
14225
- "x-cx-nl": "Set the leaflet tile type to {_option_}",
14226
- "x-cx-graphtypes": [
14227
- "Map"
14228
- ]
14229
- },
14230
- "leafletZoomAlphaColor": {
14231
- "type": [
14232
- "number",
14233
- "boolean"
14234
- ],
14235
- "description": "Zoom level before turning transparent the leaflet layers",
14236
- "default": 6,
14237
- "x-cx-false-disables": true,
14238
- "x-cx-category": "Maps Leaflet",
14239
- "x-cx-nl": "Set the leaflet zoom alpha color to {_float_}",
14240
- "x-cx-graphtypes": [
14241
- "Map"
14242
- ]
14243
- },
14244
14232
  "leftMarginalText": {
14245
14233
  "type": [
14246
14234
  "string",
@@ -23482,7 +23470,7 @@
23482
23470
  "string",
23483
23471
  "boolean"
23484
23472
  ],
23485
- "description": "Type of scatter plot",
23473
+ "description": "Type of scatter plot. On a Scatter3D, density builds a kernel-density (kde2d) surface from 2D scattered points and renders it as a rotatable surface.",
23486
23474
  "default": false,
23487
23475
  "x-cx-options": [
23488
23476
  false,
@@ -23500,7 +23488,8 @@
23500
23488
  "bin2d",
23501
23489
  "clustree",
23502
23490
  "polygon",
23503
- "stream"
23491
+ "stream",
23492
+ "density"
23504
23493
  ],
23505
23494
  "x-cx-false-disables": true,
23506
23495
  "x-cx-category": "Scatter Plots",
@@ -25522,6 +25511,18 @@
25522
25511
  "Scatter3D"
25523
25512
  ]
25524
25513
  },
25514
+ "show3DMinorGrid": {
25515
+ "type": "boolean",
25516
+ "description": "Flag to show/hide the minor (unlabeled) grid lines in 3D plots. Off by default for a cleaner surface; the per-axis xAxisGridMinorShow/yAxisGridMinorShow/zAxisGridMinorShow still hide individual axes when this is on",
25517
+ "default": false,
25518
+ "x-cx-category": "3D Attributes",
25519
+ "x-cx-nl": "{Show|Hide} the3 d minor grid",
25520
+ "x-cx-graphtypes": [
25521
+ "Bar",
25522
+ "Network",
25523
+ "Scatter3D"
25524
+ ]
25525
+ },
25525
25526
  "showAnimation": {
25526
25527
  "type": "boolean",
25527
25528
  "description": "Flag to show/hide the animation for the graphs",
@@ -27094,6 +27095,16 @@
27094
27095
  "x-cx-category": "Shadows",
27095
27096
  "x-cx-nl": "{Show|Hide} the text shadow"
27096
27097
  },
27098
+ "showTiles": {
27099
+ "type": "boolean",
27100
+ "description": "Flag to draw an XYZ raster tile basemap behind the map",
27101
+ "default": false,
27102
+ "x-cx-category": "Maps Tiles",
27103
+ "x-cx-nl": "{Draw|Do Not Draw} an XYZ raster tile basemap behind the map",
27104
+ "x-cx-graphtypes": [
27105
+ "Map"
27106
+ ]
27107
+ },
27097
27108
  "showTransition": {
27098
27109
  "type": "boolean",
27099
27110
  "description": "Flag to show/hide the transitions for the graphs",
@@ -27902,6 +27913,18 @@
27902
27913
  "x-cx-category": "Sizes",
27903
27914
  "x-cx-nl": "Set the sizes to {_array_}"
27904
27915
  },
27916
+ "smoothSurface": {
27917
+ "type": "boolean",
27918
+ "description": "Soften a 3D surface by stroking each facet with its own fill colour so adjacent facets blend seamlessly (no facet wireframe or seams). On by default for a soft look; combine with a higher fxSamples for the smoothest result. Set false to show the facet edges (outline3DColor)",
27919
+ "default": true,
27920
+ "x-cx-category": "3D Attributes",
27921
+ "x-cx-nl": "Set the smooth surface to {_boolean_}",
27922
+ "x-cx-graphtypes": [
27923
+ "Bar",
27924
+ "Network",
27925
+ "Scatter3D"
27926
+ ]
27927
+ },
27905
27928
  "smpDendrogramHang": {
27906
27929
  "type": "boolean",
27907
27930
  "description": "Flag to use extend the lines to the end of the terminal nodes when the newick is provided for the sample (row) dendrogram",
@@ -31643,6 +31666,55 @@
31643
31666
  "x-cx-category": "General",
31644
31667
  "x-cx-nl": "Use the style {_option_}"
31645
31668
  },
31669
+ "tileAlpha": {
31670
+ "type": [
31671
+ "number",
31672
+ "boolean"
31673
+ ],
31674
+ "description": "Transparency for the map fill drawn over the tile basemap",
31675
+ "default": 0.7,
31676
+ "x-cx-false-disables": true,
31677
+ "x-cx-category": "Maps Tiles",
31678
+ "x-cx-nl": "Set the tile alpha to {_float_}",
31679
+ "x-cx-graphtypes": [
31680
+ "Map"
31681
+ ]
31682
+ },
31683
+ "tileType": {
31684
+ "type": [
31685
+ "string",
31686
+ "boolean"
31687
+ ],
31688
+ "description": "Tile basemap style",
31689
+ "default": "street",
31690
+ "enum": [
31691
+ "street",
31692
+ "terrain",
31693
+ "labels",
31694
+ "satellite",
31695
+ false
31696
+ ],
31697
+ "x-cx-false-disables": true,
31698
+ "x-cx-category": "Maps Tiles",
31699
+ "x-cx-nl": "Set the tile type to {_option_}",
31700
+ "x-cx-graphtypes": [
31701
+ "Map"
31702
+ ]
31703
+ },
31704
+ "tileZoomAlphaColor": {
31705
+ "type": [
31706
+ "number",
31707
+ "boolean"
31708
+ ],
31709
+ "description": "Zoom level before turning the map fill transparent over the tiles",
31710
+ "default": 6,
31711
+ "x-cx-false-disables": true,
31712
+ "x-cx-category": "Maps Tiles",
31713
+ "x-cx-nl": "Set the tile zoom alpha color to {_float_}",
31714
+ "x-cx-graphtypes": [
31715
+ "Map"
31716
+ ]
31717
+ },
31646
31718
  "timeFormat": {
31647
31719
  "type": [
31648
31720
  "string",
@@ -33085,16 +33157,6 @@
33085
33157
  "Network"
33086
33158
  ]
33087
33159
  },
33088
- "useLeaflet": {
33089
- "type": "boolean",
33090
- "description": "Flag to use leaflet",
33091
- "default": false,
33092
- "x-cx-category": "Maps Leaflet",
33093
- "x-cx-nl": "{Use|Do Not Use} leaflet",
33094
- "x-cx-graphtypes": [
33095
- "Map"
33096
- ]
33097
- },
33098
33160
  "useRoundRectangles": {
33099
33161
  "type": "boolean",
33100
33162
  "description": "Flag to use round rectangles in bar graphs, stacked graphs and boxplots",
@@ -36819,6 +36881,22 @@
36819
36881
  "WordCloud"
36820
36882
  ]
36821
36883
  },
36884
+ "xAxis3DTicks": {
36885
+ "type": [
36886
+ "integer",
36887
+ "boolean"
36888
+ ],
36889
+ "description": "Number of major ticks on the 3D X axis. When false (default) the count is chosen automatically from the data range (nice numbers, bounded 4-10); set a positive integer to force an exact count",
36890
+ "default": 0,
36891
+ "x-cx-false-disables": true,
36892
+ "x-cx-category": "3D Attributes",
36893
+ "x-cx-nl": "Set the x axis3 d ticks to {_integer_}",
36894
+ "x-cx-graphtypes": [
36895
+ "Bar",
36896
+ "Network",
36897
+ "Scatter3D"
36898
+ ]
36899
+ },
36822
36900
  "xAxisCeilValue": {
36823
36901
  "type": [
36824
36902
  "number",
@@ -42684,6 +42762,22 @@
42684
42762
  "Volcano"
42685
42763
  ]
42686
42764
  },
42765
+ "yAxis3DTicks": {
42766
+ "type": [
42767
+ "integer",
42768
+ "boolean"
42769
+ ],
42770
+ "description": "Number of major ticks on the 3D Y (value) axis. When false (default) the count is chosen automatically from the data range (nice numbers, bounded 4-10); set a positive integer to force an exact count",
42771
+ "default": 0,
42772
+ "x-cx-false-disables": true,
42773
+ "x-cx-category": "3D Attributes",
42774
+ "x-cx-nl": "Set the y axis3 d ticks to {_integer_}",
42775
+ "x-cx-graphtypes": [
42776
+ "Bar",
42777
+ "Network",
42778
+ "Scatter3D"
42779
+ ]
42780
+ },
42687
42781
  "yAxisCeilValue": {
42688
42782
  "type": [
42689
42783
  "number",
@@ -45290,6 +45384,22 @@
45290
45384
  "Scatter3D"
45291
45385
  ]
45292
45386
  },
45387
+ "zAxis3DTicks": {
45388
+ "type": [
45389
+ "integer",
45390
+ "boolean"
45391
+ ],
45392
+ "description": "Number of major ticks on the 3D Z axis. When false (default) the count is chosen automatically from the data range (nice numbers, bounded 4-10); set a positive integer to force an exact count",
45393
+ "default": 0,
45394
+ "x-cx-false-disables": true,
45395
+ "x-cx-category": "3D Attributes",
45396
+ "x-cx-nl": "Set the z axis3 d ticks to {_integer_}",
45397
+ "x-cx-graphtypes": [
45398
+ "Bar",
45399
+ "Network",
45400
+ "Scatter3D"
45401
+ ]
45402
+ },
45293
45403
  "zAxisCeilValue": {
45294
45404
  "type": [
45295
45405
  "number",