cxplot 0.1.32 → 0.1.34

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.32",
3
+ "version": "0.1.34",
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.6.0",
25
+ "canvasxpress": "71.8.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.6",
6
+ "x-cx-version": "71.8",
7
7
  "type": "object",
8
8
  "additionalProperties": true,
9
9
  "properties": {
@@ -5461,10 +5461,14 @@
5461
5461
  "dataPointSize": {
5462
5462
  "type": [
5463
5463
  "integer",
5464
- "boolean"
5464
+ "boolean",
5465
+ "string"
5465
5466
  ],
5466
- "description": "Approximate pixel size for the data points in scatter plots, dotplots and boxplots. The size will be adjusted according to the dimensions of the graph",
5467
+ "description": "Approximate pixel size for the data points in scatter plots, dotplots and boxplots. The size will be adjusted according to the dimensions of the graph. Boxplots and dotplots default to 15 (to match ggplot2 geom_point) unless set explicitly. Set to the string \"auto\" to size scatter points from the plot area, damped by the number of points (larger dots on sparse/large panels, smaller on dense ones)",
5467
5468
  "default": 10,
5469
+ "x-cx-presets": [
5470
+ "auto"
5471
+ ],
5468
5472
  "x-cx-false-disables": true,
5469
5473
  "x-cx-category": "Aspect Ratio, Space and Width",
5470
5474
  "x-cx-nl": "Set the data point size to {_integer_}"
@@ -22567,6 +22571,23 @@
22567
22571
  "Sankey"
22568
22572
  ]
22569
22573
  },
22574
+ "sankeyHide": {
22575
+ "type": [
22576
+ "string",
22577
+ "boolean"
22578
+ ],
22579
+ "description": "Name of a sample annotation that flags a link (row) to be hidden from the Sankey/alluvial diagram. A truthy value (true/1/\"yes\") suppresses that flow ribbon WITHOUT removing it from the data, so the node values, box heights and the showDataValues number still count it. Use it to drop a noise branch visually while keeping each node total correct (issue #320)",
22580
+ "default": false,
22581
+ "x-cx-options": [
22582
+ false
22583
+ ],
22584
+ "x-cx-false-disables": true,
22585
+ "x-cx-category": "Sankey Diagrams",
22586
+ "x-cx-nl": "Set the sankey hide to {_option_}",
22587
+ "x-cx-graphtypes": [
22588
+ "Sankey"
22589
+ ]
22590
+ },
22570
22591
  "sankeyLinkLineWidth": {
22571
22592
  "type": [
22572
22593
  "number",
@@ -23595,6 +23616,16 @@
23595
23616
  "x-cx-category": "Data Faceting",
23596
23617
  "x-cx-nl": "Segregate variables by {_multi-factor_}"
23597
23618
  },
23619
+ "selectableFits": {
23620
+ "type": "boolean",
23621
+ "description": "Flag to make fit lines and confidence areas (regression, loess, forecast, Kaplan-Meier curves/bands, area/ribbon) clickable: a click selects and broadcasts the data the fit/curve was computed over (e.g. a KM arm selects its whole cohort)",
23622
+ "default": true,
23623
+ "x-cx-category": "Confidence Intervals",
23624
+ "x-cx-nl": "{Make|Do Not Make} fit lines and confidence areas (regression, loess, forecast, Kaplan-Meier curves/bands, area/ribbon) clickable: a click selects and broadcasts the data the fit/curve was computed over (e",
23625
+ "x-cx-graphtypes": [
23626
+ "Scatter2D"
23627
+ ]
23628
+ },
23598
23629
  "selectedDataPoints": {
23599
23630
  "type": [
23600
23631
  "array",
@@ -29102,6 +29133,80 @@
29102
29133
  "WordCloud"
29103
29134
  ]
29104
29135
  },
29136
+ "smpTextRotateAuto": {
29137
+ "type": "boolean",
29138
+ "description": "Flag to automatically keep the sample (or grouping-factor) labels of vertical one-dimensional plots horizontal when the longest label fits its band, falling back to smpTextRotate otherwise. Re-evaluated on resize",
29139
+ "default": true,
29140
+ "x-cx-category": "Samples",
29141
+ "x-cx-nl": "{Automatically|Do Not Automatically} keep the sample (or grouping-factor) labels of vertical one-dimensional plots horizontal when the longest label fits its band, falling back to smpTextRotate otherwise",
29142
+ "x-cx-graphtypes": [
29143
+ "Alluvial",
29144
+ "Area",
29145
+ "AreaLine",
29146
+ "Bar",
29147
+ "BarLine",
29148
+ "Boxplot",
29149
+ "Bin",
29150
+ "Binplot",
29151
+ "Bubble",
29152
+ "Bullet",
29153
+ "CDF",
29154
+ "Chord",
29155
+ "Circular",
29156
+ "Cleveland",
29157
+ "Contour",
29158
+ "Correlation",
29159
+ "Density",
29160
+ "Distribution",
29161
+ "Donut",
29162
+ "DotLine",
29163
+ "Dotplot",
29164
+ "Dumbbell",
29165
+ "Fish",
29166
+ "Gantt",
29167
+ "Heatmap",
29168
+ "Hex",
29169
+ "Hexplot",
29170
+ "Histogram",
29171
+ "KaplanMeier",
29172
+ "Line",
29173
+ "Lollipop",
29174
+ "Map",
29175
+ "Meter",
29176
+ "ParallelCoordinates",
29177
+ "OptionsWall",
29178
+ "Pareto",
29179
+ "Pie",
29180
+ "QQ",
29181
+ "Quantile",
29182
+ "Radar",
29183
+ "Ribbon",
29184
+ "Ridgeline",
29185
+ "Sankey",
29186
+ "Scatter2D",
29187
+ "Scatter3D",
29188
+ "ScatterBubble2D",
29189
+ "Spaghetti",
29190
+ "SPLOM",
29191
+ "Stacked",
29192
+ "StackedLine",
29193
+ "StackedPercent",
29194
+ "StackedPercentLine",
29195
+ "Streamgraph",
29196
+ "Sunburst",
29197
+ "TagCloud",
29198
+ "Tornado",
29199
+ "TimeSeries",
29200
+ "Tree",
29201
+ "TreeBracket",
29202
+ "Treemap",
29203
+ "Upset",
29204
+ "Violin",
29205
+ "Volcano",
29206
+ "Waterfall",
29207
+ "WordCloud"
29208
+ ]
29209
+ },
29105
29210
  "smpTextScaleFontFactor": {
29106
29211
  "type": [
29107
29212
  "number",