cxplot 0.1.34 → 0.1.36

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.34",
3
+ "version": "0.1.36",
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.8.0",
25
+ "canvasxpress": "72.0.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.8",
6
+ "x-cx-version": "72",
7
7
  "type": "object",
8
8
  "additionalProperties": true,
9
9
  "properties": {
@@ -11259,10 +11259,10 @@
11259
11259
  "boolean"
11260
11260
  ],
11261
11261
  "description": "Specifies the orientation of one-dimensional graphs",
11262
- "default": "horizontal",
11262
+ "default": "vertical",
11263
11263
  "enum": [
11264
- "horizontal",
11265
11264
  "vertical",
11265
+ "horizontal",
11266
11266
  false
11267
11267
  ],
11268
11268
  "x-cx-false-disables": true,
@@ -27119,6 +27119,56 @@
27119
27119
  "Waterfall"
27120
27120
  ]
27121
27121
  },
27122
+ "showStatInference": {
27123
+ "type": "boolean",
27124
+ "description": "Opt-in flag to render the statInference block (pairwise significance brackets + p-value/stars) on one-dimensional group charts (Boxplot, Violin, Bar). Off by default so non-stat charts are unaffected.",
27125
+ "default": false,
27126
+ "x-cx-category": "Decorations",
27127
+ "x-cx-nl": "Set the show stat inference to {_boolean_}",
27128
+ "x-cx-graphtypes": [
27129
+ "Area",
27130
+ "AreaLine",
27131
+ "Bar",
27132
+ "BarLine",
27133
+ "Boxplot",
27134
+ "Bin",
27135
+ "Binplot",
27136
+ "Bullet",
27137
+ "CDF",
27138
+ "Cleveland",
27139
+ "Contour",
27140
+ "Density",
27141
+ "Distribution",
27142
+ "DotLine",
27143
+ "Dotplot",
27144
+ "Dumbbell",
27145
+ "Hex",
27146
+ "Hexplot",
27147
+ "Histogram",
27148
+ "KaplanMeier",
27149
+ "Line",
27150
+ "Lollipop",
27151
+ "Network",
27152
+ "Pareto",
27153
+ "QQ",
27154
+ "Quantile",
27155
+ "Ridgeline",
27156
+ "Scatter2D",
27157
+ "Scatter3D",
27158
+ "ScatterBubble2D",
27159
+ "Spaghetti",
27160
+ "SPLOM",
27161
+ "Stacked",
27162
+ "StackedLine",
27163
+ "StackedPercent",
27164
+ "StackedPercentLine",
27165
+ "TimeSeries",
27166
+ "Tornado",
27167
+ "Violin",
27168
+ "Volcano",
27169
+ "Waterfall"
27170
+ ]
27171
+ },
27122
27172
  "showTextShadow": {
27123
27173
  "type": "boolean",
27124
27174
  "description": "Flag to show/hide the shadows in text in the canvas. It will be forced to false if the browser is IE",
@@ -30654,6 +30704,64 @@
30654
30704
  "Pie"
30655
30705
  ]
30656
30706
  },
30707
+ "statInference": {
30708
+ "type": [
30709
+ "object",
30710
+ "array",
30711
+ "boolean",
30712
+ "string",
30713
+ "number"
30714
+ ],
30715
+ "description": "Renderer-first inference layer. An object with a comparisons array, each item {groups: [a, b] (category names or 1-based positions), p: rawPValue, optional padj, value (bracket height on the value axis), label, color}. Optional correction {method: \"BH\"|\"bonferroni\"|\"BY\"|\"holm\"|\"hochberg\"|\"none\"} applies native multiple-testing correction when padj is not supplied, and annotate (\"p\"|\"padj\"|\"stars\") selects what each bracket prints. Optional fdrThreshold (number) draws no bracket for a comparison whose corrected p (raw p when no correction applies) is above it. Test statistics are computed upstream (R/Python); only correction and star derivation run in the engine. Requires showStatInference:true.",
30716
+ "default": false,
30717
+ "x-cx-false-disables": true,
30718
+ "x-cx-scalar-autowrap": true,
30719
+ "x-cx-category": "Decorations",
30720
+ "x-cx-nl": "Set the stat inference to {_object-or-array_}",
30721
+ "x-cx-graphtypes": [
30722
+ "Area",
30723
+ "AreaLine",
30724
+ "Bar",
30725
+ "BarLine",
30726
+ "Boxplot",
30727
+ "Bin",
30728
+ "Binplot",
30729
+ "Bullet",
30730
+ "CDF",
30731
+ "Cleveland",
30732
+ "Contour",
30733
+ "Density",
30734
+ "Distribution",
30735
+ "DotLine",
30736
+ "Dotplot",
30737
+ "Dumbbell",
30738
+ "Hex",
30739
+ "Hexplot",
30740
+ "Histogram",
30741
+ "KaplanMeier",
30742
+ "Line",
30743
+ "Lollipop",
30744
+ "Network",
30745
+ "Pareto",
30746
+ "QQ",
30747
+ "Quantile",
30748
+ "Ridgeline",
30749
+ "Scatter2D",
30750
+ "Scatter3D",
30751
+ "ScatterBubble2D",
30752
+ "Spaghetti",
30753
+ "SPLOM",
30754
+ "Stacked",
30755
+ "StackedLine",
30756
+ "StackedPercent",
30757
+ "StackedPercentLine",
30758
+ "TimeSeries",
30759
+ "Tornado",
30760
+ "Violin",
30761
+ "Volcano",
30762
+ "Waterfall"
30763
+ ]
30764
+ },
30657
30765
  "streamEvict": {
30658
30766
  "type": [
30659
30767
  "string",
@@ -35603,6 +35711,60 @@
35603
35711
  "Scatter2D"
35604
35712
  ]
35605
35713
  },
35714
+ "volcano": {
35715
+ "type": [
35716
+ "object",
35717
+ "boolean"
35718
+ ],
35719
+ "description": "Promotes a Volcano chart (Scatter2D of log2 fold-change vs -log10 p-value) by auto-seeding significance cut-off lines: {foldChange: <log2 FC cutoff>, fdr: <p/FDR cutoff on the raw scale>, foldChangeColor, fdrColor, width}. Draws vertical rules at +/- foldChange and a horizontal rule at -log10(fdr) using the scatter decoration path. Omit to keep the plain Volcano alias.",
35720
+ "default": false,
35721
+ "x-cx-false-disables": true,
35722
+ "x-cx-category": "Decorations",
35723
+ "x-cx-nl": "Set the volcano to {_object_}",
35724
+ "x-cx-graphtypes": [
35725
+ "Area",
35726
+ "AreaLine",
35727
+ "Bar",
35728
+ "BarLine",
35729
+ "Boxplot",
35730
+ "Bin",
35731
+ "Binplot",
35732
+ "Bullet",
35733
+ "CDF",
35734
+ "Cleveland",
35735
+ "Contour",
35736
+ "Density",
35737
+ "Distribution",
35738
+ "DotLine",
35739
+ "Dotplot",
35740
+ "Dumbbell",
35741
+ "Hex",
35742
+ "Hexplot",
35743
+ "Histogram",
35744
+ "KaplanMeier",
35745
+ "Line",
35746
+ "Lollipop",
35747
+ "Network",
35748
+ "Pareto",
35749
+ "QQ",
35750
+ "Quantile",
35751
+ "Ridgeline",
35752
+ "Scatter2D",
35753
+ "Scatter3D",
35754
+ "ScatterBubble2D",
35755
+ "Spaghetti",
35756
+ "SPLOM",
35757
+ "Stacked",
35758
+ "StackedLine",
35759
+ "StackedPercent",
35760
+ "StackedPercentLine",
35761
+ "TimeSeries",
35762
+ "Tornado",
35763
+ "Violin",
35764
+ "Volcano",
35765
+ "Waterfall"
35766
+ ]
35767
+ },
35606
35768
  "waterfallDecreaseColor": {
35607
35769
  "type": [
35608
35770
  "string",