canvasxpress 73.9.0 → 74.1.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 CHANGED
@@ -20,7 +20,7 @@
20
20
  "./package.json": "./package.json"
21
21
  },
22
22
  "title": "CanvasXpress",
23
- "version": "73.9.0",
23
+ "version": "74.1.0",
24
24
  "license": "SEE LICENSE IN LICENSE",
25
25
  "files": [
26
26
  "src",
@@ -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 (1799 keys). String enums become open literal
148
+ * config schema (1802 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
@@ -1404,6 +1404,14 @@ export interface CXConfig {
1404
1404
  * @default []
1405
1405
  */
1406
1406
  contourLevels?: unknown[] | boolean | string | number;
1407
+ /**
1408
+ * Number of grid points in each direction for the two dimensional kernel density estimate
1409
+ * underlying the scatter plot contours, as the n argument of the kde2d function in the R
1410
+ * package MASS and of stat_density_2d in ggplot2
1411
+ * @graphTypes Pareto, Heatmap, Scatter2D
1412
+ * @default 100
1413
+ */
1414
+ contourPoints?: number | boolean;
1407
1415
  /**
1408
1416
  * Contour density type
1409
1417
  * @graphTypes Pareto, Heatmap, Scatter2D
@@ -2483,6 +2491,13 @@ export interface CXConfig {
2483
2491
  * @default "gaussian"
2484
2492
  */
2485
2493
  densityKernel?: "gaussian" | "rectangular" | "triangular" | "epanechnikov" | "quartic" | "biweight" | "cosine" | "optcosine" | false | (string & {});
2494
+ /**
2495
+ * Number of equally spaced points at which the density is estimated, as the n argument of
2496
+ * the density function in R. Values above 512 are rounded up to a power of two as in R
2497
+ * @graphTypes Density, Distribution, Histogram, Ridgeline, Violin
2498
+ * @default 512
2499
+ */
2500
+ densityPoints?: number | boolean;
2486
2501
  /**
2487
2502
  * Histogram density position
2488
2503
  * @graphTypes Density, Distribution, Histogram, Ridgeline, Violin
@@ -9099,6 +9114,12 @@ export interface CXConfig {
9099
9114
  * @default "rgb(59,59,59)"
9100
9115
  */
9101
9116
  upsetSetsBarColor?: string | boolean;
9117
+ /**
9118
+ * Ratio of the canvas width used by the set size bar plot on the left
9119
+ * @graphTypes Heatmap
9120
+ * @default 0.2
9121
+ */
9122
+ upsetSetsBarRatio?: number | boolean;
9102
9123
  /**
9103
9124
  * Transparency of shading in matrix
9104
9125
  * @graphTypes Heatmap
@@ -11534,6 +11555,7 @@ export type CXKeysContours =
11534
11555
  | "contourLevelNumber"
11535
11556
  | "contourLevelWidth"
11536
11557
  | "contourLevels"
11558
+ | "contourPoints"
11537
11559
  | "contourStat"
11538
11560
  | "contourType"
11539
11561
  | "isContour"
@@ -11887,6 +11909,7 @@ export type CXKeysDensityPlots =
11887
11909
  | "bandwidthCut"
11888
11910
  | "bandwidthRule"
11889
11911
  | "densityKernel"
11912
+ | "densityPoints"
11890
11913
  | "densityPosition"
11891
11914
  | "showScatterDensity";
11892
11915
  /** Config keys in the "Dotplot Graphs" category. */
@@ -12998,6 +13021,7 @@ export type CXKeysUpSetPlots =
12998
13021
  | "upsetMatrixPlotBarRatio"
12999
13022
  | "upsetPointSizeFactor"
13000
13023
  | "upsetSetsBarColor"
13024
+ | "upsetSetsBarRatio"
13001
13025
  | "upsetShadeAlpha"
13002
13026
  | "upsetShadeColor";
13003
13027
  /** Config keys in the "Variables" category. */
@@ -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 (1799 keys). String enums become open literal
157
+ * config schema (1802 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
@@ -1413,6 +1413,14 @@ declare namespace CanvasXpress {
1413
1413
  * @default []
1414
1414
  */
1415
1415
  contourLevels?: unknown[] | boolean | string | number;
1416
+ /**
1417
+ * Number of grid points in each direction for the two dimensional kernel density estimate
1418
+ * underlying the scatter plot contours, as the n argument of the kde2d function in the R
1419
+ * package MASS and of stat_density_2d in ggplot2
1420
+ * @graphTypes Pareto, Heatmap, Scatter2D
1421
+ * @default 100
1422
+ */
1423
+ contourPoints?: number | boolean;
1416
1424
  /**
1417
1425
  * Contour density type
1418
1426
  * @graphTypes Pareto, Heatmap, Scatter2D
@@ -2492,6 +2500,13 @@ declare namespace CanvasXpress {
2492
2500
  * @default "gaussian"
2493
2501
  */
2494
2502
  densityKernel?: "gaussian" | "rectangular" | "triangular" | "epanechnikov" | "quartic" | "biweight" | "cosine" | "optcosine" | false | (string & {});
2503
+ /**
2504
+ * Number of equally spaced points at which the density is estimated, as the n argument of
2505
+ * the density function in R. Values above 512 are rounded up to a power of two as in R
2506
+ * @graphTypes Density, Distribution, Histogram, Ridgeline, Violin
2507
+ * @default 512
2508
+ */
2509
+ densityPoints?: number | boolean;
2495
2510
  /**
2496
2511
  * Histogram density position
2497
2512
  * @graphTypes Density, Distribution, Histogram, Ridgeline, Violin
@@ -9108,6 +9123,12 @@ declare namespace CanvasXpress {
9108
9123
  * @default "rgb(59,59,59)"
9109
9124
  */
9110
9125
  upsetSetsBarColor?: string | boolean;
9126
+ /**
9127
+ * Ratio of the canvas width used by the set size bar plot on the left
9128
+ * @graphTypes Heatmap
9129
+ * @default 0.2
9130
+ */
9131
+ upsetSetsBarRatio?: number | boolean;
9111
9132
  /**
9112
9133
  * Transparency of shading in matrix
9113
9134
  * @graphTypes Heatmap
@@ -11543,6 +11564,7 @@ declare namespace CanvasXpress {
11543
11564
  | "contourLevelNumber"
11544
11565
  | "contourLevelWidth"
11545
11566
  | "contourLevels"
11567
+ | "contourPoints"
11546
11568
  | "contourStat"
11547
11569
  | "contourType"
11548
11570
  | "isContour"
@@ -11896,6 +11918,7 @@ declare namespace CanvasXpress {
11896
11918
  | "bandwidthCut"
11897
11919
  | "bandwidthRule"
11898
11920
  | "densityKernel"
11921
+ | "densityPoints"
11899
11922
  | "densityPosition"
11900
11923
  | "showScatterDensity";
11901
11924
  /** Config keys in the "Dotplot Graphs" category. */
@@ -13007,6 +13030,7 @@ declare namespace CanvasXpress {
13007
13030
  | "upsetMatrixPlotBarRatio"
13008
13031
  | "upsetPointSizeFactor"
13009
13032
  | "upsetSetsBarColor"
13033
+ | "upsetSetsBarRatio"
13010
13034
  | "upsetShadeAlpha"
13011
13035
  | "upsetShadeColor";
13012
13036
  /** Config keys in the "Variables" category. */