cxplot 0.1.38 → 0.1.40

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.38",
3
+ "version": "0.1.40",
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": "72.2.0",
25
+ "canvasxpress": "72.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": "72.2",
6
+ "x-cx-version": "72.4",
7
7
  "type": "object",
8
8
  "additionalProperties": true,
9
9
  "properties": {
@@ -4952,7 +4952,7 @@
4952
4952
  "string",
4953
4953
  "number"
4954
4954
  ],
4955
- "description": "Custom legends : Array of objects [{ size : [], shape : [], shapeColor : [], line : [], lineColor : [], lineStart : [], lineEnd : [], text : [], x : number, y : number, title : string }]",
4955
+ "description": "Custom legends : Array of objects [{ size : [], shape : [], shapeColor : [], line : [], lineColor : [], lineStart : [], lineEnd : [], text : [], x : number, y : number, title : string, paddingX : number, paddingY : number }]. When legendInside is true, paddingX / paddingY (default 0) inset the legend box from the x,y plotting panel edges so it stays inside for any legendPosition; an explicit x / y pins the legend instead and ignores the padding",
4956
4956
  "default": [],
4957
4957
  "x-cx-false-disables": true,
4958
4958
  "x-cx-scalar-autowrap": true,
@@ -12150,6 +12150,38 @@
12150
12150
  "Heatmap"
12151
12151
  ]
12152
12152
  },
12153
+ "heatmapCellText": {
12154
+ "type": [
12155
+ "array",
12156
+ "boolean",
12157
+ "string",
12158
+ "number"
12159
+ ],
12160
+ "description": "Array of per-cell text labels drawn centered on top of standard heatmap cells, like Plotly's text matrix. Each entry is an object with a *variable* and *sample* name identifying the cell plus a *text* string, with optional *color*. Example: [{variable: \"V1\", sample: \"S3\", text: \"0.87*\"}] to show a correlation value with a significance asterisk. Unlike showDataValues (which draws every raw cell value), this lets you supply arbitrary strings so you can append markers such as \"*\" for p < 0.05 (issue #322)",
12161
+ "default": [],
12162
+ "x-cx-false-disables": true,
12163
+ "x-cx-scalar-autowrap": true,
12164
+ "x-cx-category": "Heatmap Graphs",
12165
+ "x-cx-nl": "Set the heatmap cell text to {_array_}",
12166
+ "x-cx-graphtypes": [
12167
+ "Heatmap"
12168
+ ]
12169
+ },
12170
+ "heatmapCellTextColorColor": {
12171
+ "type": [
12172
+ "string",
12173
+ "boolean"
12174
+ ],
12175
+ "format": "cx-color",
12176
+ "description": "Color for the default color for heatmap cell text when an entry in heatmapCellText omits its own color",
12177
+ "default": "rgb(0,0,0)",
12178
+ "x-cx-false-disables": true,
12179
+ "x-cx-category": "Heatmap Graphs",
12180
+ "x-cx-nl": "Color the heatmap cell text color {_color_}",
12181
+ "x-cx-graphtypes": [
12182
+ "Heatmap"
12183
+ ]
12184
+ },
12153
12185
  "heatmapCollapse": {
12154
12186
  "type": "boolean",
12155
12187
  "description": "Flag to collapse cells in heatmaps of type circle or hexagon. If true cells are ploted without outline otherwise the outline is the foreground color",