canvasxpress 72.4.0 → 72.5.0
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 +1 -1
- package/src/canvasXpress.d.mts +22 -3
- package/src/canvasXpress.d.ts +22 -3
- package/src/canvasXpress.js +2 -2
package/package.json
CHANGED
package/src/canvasXpress.d.mts
CHANGED
|
@@ -145,7 +145,7 @@ export type CXGraphType =
|
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Full chart configuration — one property per parameter in the CanvasXpress
|
|
148
|
-
* config schema (
|
|
148
|
+
* config schema (1789 keys). String enums become open literal
|
|
149
149
|
* unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
|
|
150
150
|
* lists the graph types it applies to (absent = all). The index signature keeps
|
|
151
151
|
* obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
|
|
@@ -1157,6 +1157,14 @@ export interface CXConfig {
|
|
|
1157
1157
|
* @default false
|
|
1158
1158
|
*/
|
|
1159
1159
|
colorLabelBy?: string | boolean;
|
|
1160
|
+
/**
|
|
1161
|
+
* Class names for a stepped colour legend (see colorLegendSteps): one label per colour
|
|
1162
|
+
* class, lowest class first, drawn beside its swatch in place of the numeric class edges,
|
|
1163
|
+
* for example ["a", "b", "c", "d", "e"]. Ignored unless the legend is stepped and the array
|
|
1164
|
+
* has exactly one entry per class
|
|
1165
|
+
* @default []
|
|
1166
|
+
*/
|
|
1167
|
+
colorLegendLabels?: unknown[] | boolean | string | number;
|
|
1160
1168
|
/**
|
|
1161
1169
|
* Numeric colour legend for binned colouring: equal draws one equal-width swatch per class
|
|
1162
1170
|
* with every class edge labelled (stepped legend); proportional sizes swatches by their
|
|
@@ -3343,6 +3351,14 @@ export interface CXConfig {
|
|
|
3343
3351
|
* @default []
|
|
3344
3352
|
*/
|
|
3345
3353
|
heatmapCellMarkers?: unknown[] | boolean | string | number;
|
|
3354
|
+
/**
|
|
3355
|
+
* Pixels of empty space (gap) left around each heatmap cell so it renders as a separate
|
|
3356
|
+
* padded tile instead of a contiguous block; 0 (default) keeps cells edge-to-edge. Combine
|
|
3357
|
+
* with colorSpectrumBinned for a discrete-colour tiled heatmap, or use heatmapType "tiled"
|
|
3358
|
+
* @graphTypes Heatmap
|
|
3359
|
+
* @default 0
|
|
3360
|
+
*/
|
|
3361
|
+
heatmapCellSpace?: number | boolean;
|
|
3346
3362
|
/**
|
|
3347
3363
|
* Array of per-cell text labels drawn centered on top of standard heatmap cells, like
|
|
3348
3364
|
* Plotly's text matrix. Each entry is an object with a *variable* and *sample* name
|
|
@@ -3426,11 +3442,12 @@ export interface CXConfig {
|
|
|
3426
3442
|
heatmapIndicatorWidth?: number | boolean;
|
|
3427
3443
|
/**
|
|
3428
3444
|
* Type of Heatmap used to overlay a layer on top of an image. Special for spatial
|
|
3429
|
-
* transcriptomics and UpSet plots
|
|
3445
|
+
* transcriptomics and UpSet plots. "tiled" is a preset for a discrete-colour, padded-cell
|
|
3446
|
+
* heatmap (binned colours + heatmapCellSpace, no cell box)
|
|
3430
3447
|
* @graphTypes Heatmap
|
|
3431
3448
|
* @default "normal"
|
|
3432
3449
|
*/
|
|
3433
|
-
heatmapType?: "normal" | "circle" | "hexagon" | "upset" | "correlation" | "split" | false | (string & {});
|
|
3450
|
+
heatmapType?: "normal" | "circle" | "hexagon" | "upset" | "correlation" | "split" | "tiled" | false | (string & {});
|
|
3434
3451
|
/**
|
|
3435
3452
|
* Hidden Map features
|
|
3436
3453
|
* @graphTypes Map
|
|
@@ -11373,6 +11390,7 @@ export type CXKeysClustreePlots =
|
|
|
11373
11390
|
/** Config keys in the "Colors" category. */
|
|
11374
11391
|
export type CXKeysColors =
|
|
11375
11392
|
| "blindnessType"
|
|
11393
|
+
| "colorLegendLabels"
|
|
11376
11394
|
| "colorLegendSteps"
|
|
11377
11395
|
| "colorScheme"
|
|
11378
11396
|
| "colorSpectrum"
|
|
@@ -12042,6 +12060,7 @@ export type CXKeysHeatmapGraphs =
|
|
|
12042
12060
|
| "heatmapCellMarkerSize"
|
|
12043
12061
|
| "heatmapCellMarkerWidth"
|
|
12044
12062
|
| "heatmapCellMarkers"
|
|
12063
|
+
| "heatmapCellSpace"
|
|
12045
12064
|
| "heatmapCellText"
|
|
12046
12065
|
| "heatmapCellTextColorColor"
|
|
12047
12066
|
| "heatmapCollapse"
|
package/src/canvasXpress.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ declare namespace CanvasXpress {
|
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* Full chart configuration — one property per parameter in the CanvasXpress
|
|
157
|
-
* config schema (
|
|
157
|
+
* config schema (1789 keys). String enums become open literal
|
|
158
158
|
* unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
|
|
159
159
|
* lists the graph types it applies to (absent = all). The index signature keeps
|
|
160
160
|
* obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
|
|
@@ -1166,6 +1166,14 @@ declare namespace CanvasXpress {
|
|
|
1166
1166
|
* @default false
|
|
1167
1167
|
*/
|
|
1168
1168
|
colorLabelBy?: string | boolean;
|
|
1169
|
+
/**
|
|
1170
|
+
* Class names for a stepped colour legend (see colorLegendSteps): one label per colour
|
|
1171
|
+
* class, lowest class first, drawn beside its swatch in place of the numeric class edges,
|
|
1172
|
+
* for example ["a", "b", "c", "d", "e"]. Ignored unless the legend is stepped and the array
|
|
1173
|
+
* has exactly one entry per class
|
|
1174
|
+
* @default []
|
|
1175
|
+
*/
|
|
1176
|
+
colorLegendLabels?: unknown[] | boolean | string | number;
|
|
1169
1177
|
/**
|
|
1170
1178
|
* Numeric colour legend for binned colouring: equal draws one equal-width swatch per class
|
|
1171
1179
|
* with every class edge labelled (stepped legend); proportional sizes swatches by their
|
|
@@ -3352,6 +3360,14 @@ declare namespace CanvasXpress {
|
|
|
3352
3360
|
* @default []
|
|
3353
3361
|
*/
|
|
3354
3362
|
heatmapCellMarkers?: unknown[] | boolean | string | number;
|
|
3363
|
+
/**
|
|
3364
|
+
* Pixels of empty space (gap) left around each heatmap cell so it renders as a separate
|
|
3365
|
+
* padded tile instead of a contiguous block; 0 (default) keeps cells edge-to-edge. Combine
|
|
3366
|
+
* with colorSpectrumBinned for a discrete-colour tiled heatmap, or use heatmapType "tiled"
|
|
3367
|
+
* @graphTypes Heatmap
|
|
3368
|
+
* @default 0
|
|
3369
|
+
*/
|
|
3370
|
+
heatmapCellSpace?: number | boolean;
|
|
3355
3371
|
/**
|
|
3356
3372
|
* Array of per-cell text labels drawn centered on top of standard heatmap cells, like
|
|
3357
3373
|
* Plotly's text matrix. Each entry is an object with a *variable* and *sample* name
|
|
@@ -3435,11 +3451,12 @@ declare namespace CanvasXpress {
|
|
|
3435
3451
|
heatmapIndicatorWidth?: number | boolean;
|
|
3436
3452
|
/**
|
|
3437
3453
|
* Type of Heatmap used to overlay a layer on top of an image. Special for spatial
|
|
3438
|
-
* transcriptomics and UpSet plots
|
|
3454
|
+
* transcriptomics and UpSet plots. "tiled" is a preset for a discrete-colour, padded-cell
|
|
3455
|
+
* heatmap (binned colours + heatmapCellSpace, no cell box)
|
|
3439
3456
|
* @graphTypes Heatmap
|
|
3440
3457
|
* @default "normal"
|
|
3441
3458
|
*/
|
|
3442
|
-
heatmapType?: "normal" | "circle" | "hexagon" | "upset" | "correlation" | "split" | false | (string & {});
|
|
3459
|
+
heatmapType?: "normal" | "circle" | "hexagon" | "upset" | "correlation" | "split" | "tiled" | false | (string & {});
|
|
3443
3460
|
/**
|
|
3444
3461
|
* Hidden Map features
|
|
3445
3462
|
* @graphTypes Map
|
|
@@ -11382,6 +11399,7 @@ declare namespace CanvasXpress {
|
|
|
11382
11399
|
/** Config keys in the "Colors" category. */
|
|
11383
11400
|
export type CXKeysColors =
|
|
11384
11401
|
| "blindnessType"
|
|
11402
|
+
| "colorLegendLabels"
|
|
11385
11403
|
| "colorLegendSteps"
|
|
11386
11404
|
| "colorScheme"
|
|
11387
11405
|
| "colorSpectrum"
|
|
@@ -12051,6 +12069,7 @@ declare namespace CanvasXpress {
|
|
|
12051
12069
|
| "heatmapCellMarkerSize"
|
|
12052
12070
|
| "heatmapCellMarkerWidth"
|
|
12053
12071
|
| "heatmapCellMarkers"
|
|
12072
|
+
| "heatmapCellSpace"
|
|
12054
12073
|
| "heatmapCellText"
|
|
12055
12074
|
| "heatmapCellTextColorColor"
|
|
12056
12075
|
| "heatmapCollapse"
|