canvasxpress 74.0.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 +1 -1
- package/src/canvasXpress.d.mts +18 -1
- package/src/canvasXpress.d.ts +18 -1
- package/src/canvasXpress.js +3 -3
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 (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
|
|
@@ -11540,6 +11555,7 @@ export type CXKeysContours =
|
|
|
11540
11555
|
| "contourLevelNumber"
|
|
11541
11556
|
| "contourLevelWidth"
|
|
11542
11557
|
| "contourLevels"
|
|
11558
|
+
| "contourPoints"
|
|
11543
11559
|
| "contourStat"
|
|
11544
11560
|
| "contourType"
|
|
11545
11561
|
| "isContour"
|
|
@@ -11893,6 +11909,7 @@ export type CXKeysDensityPlots =
|
|
|
11893
11909
|
| "bandwidthCut"
|
|
11894
11910
|
| "bandwidthRule"
|
|
11895
11911
|
| "densityKernel"
|
|
11912
|
+
| "densityPoints"
|
|
11896
11913
|
| "densityPosition"
|
|
11897
11914
|
| "showScatterDensity";
|
|
11898
11915
|
/** Config keys in the "Dotplot Graphs" category. */
|
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 (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
|
|
@@ -11549,6 +11564,7 @@ declare namespace CanvasXpress {
|
|
|
11549
11564
|
| "contourLevelNumber"
|
|
11550
11565
|
| "contourLevelWidth"
|
|
11551
11566
|
| "contourLevels"
|
|
11567
|
+
| "contourPoints"
|
|
11552
11568
|
| "contourStat"
|
|
11553
11569
|
| "contourType"
|
|
11554
11570
|
| "isContour"
|
|
@@ -11902,6 +11918,7 @@ declare namespace CanvasXpress {
|
|
|
11902
11918
|
| "bandwidthCut"
|
|
11903
11919
|
| "bandwidthRule"
|
|
11904
11920
|
| "densityKernel"
|
|
11921
|
+
| "densityPoints"
|
|
11905
11922
|
| "densityPosition"
|
|
11906
11923
|
| "showScatterDensity";
|
|
11907
11924
|
/** Config keys in the "Dotplot Graphs" category. */
|