canvasxpress 71.5.0 → 71.7.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 +12 -1
- package/src/canvasXpress.d.ts +12 -1
- package/src/canvasXpress.js +2 -2
package/package.json
CHANGED
package/src/canvasXpress.d.mts
CHANGED
|
@@ -123,7 +123,7 @@ export type CXGraphType =
|
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Full chart configuration — one property per parameter in the CanvasXpress
|
|
126
|
-
* config schema (
|
|
126
|
+
* config schema (1780 keys). String enums become open literal
|
|
127
127
|
* unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
|
|
128
128
|
* lists the graph types it applies to (absent = all). The index signature keeps
|
|
129
129
|
* obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
|
|
@@ -6423,6 +6423,16 @@ export interface CXConfig {
|
|
|
6423
6423
|
* @default false
|
|
6424
6424
|
*/
|
|
6425
6425
|
sankeyColorNodesByValue?: boolean;
|
|
6426
|
+
/**
|
|
6427
|
+
* Name of a sample annotation that flags a link (row) to be hidden from the Sankey/alluvial
|
|
6428
|
+
* diagram. A truthy value (true/1/"yes") suppresses that flow ribbon WITHOUT removing it
|
|
6429
|
+
* from the data, so the node values, box heights and the showDataValues number still count
|
|
6430
|
+
* it. Use it to drop a noise branch visually while keeping each node total correct (issue
|
|
6431
|
+
* #320)
|
|
6432
|
+
* @graphTypes Sankey
|
|
6433
|
+
* @default false
|
|
6434
|
+
*/
|
|
6435
|
+
sankeyHide?: string | boolean;
|
|
6426
6436
|
/**
|
|
6427
6437
|
* Outline width (px) for the Sankey/alluvial flow ribbons. Left null the ribbons use the
|
|
6428
6438
|
* default outlineWidth, which inflates a thin (low-value) flow into a solid ~1px line in its
|
|
@@ -12590,6 +12600,7 @@ export type CXKeysSankeyDiagrams =
|
|
|
12590
12600
|
| "sankeyAxes"
|
|
12591
12601
|
| "sankeyAxesOrder"
|
|
12592
12602
|
| "sankeyColorNodesByValue"
|
|
12603
|
+
| "sankeyHide"
|
|
12593
12604
|
| "sankeyLinkLineWidth"
|
|
12594
12605
|
| "sankeyLinkOrder"
|
|
12595
12606
|
| "sankeyLinksColor"
|
package/src/canvasXpress.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ declare namespace CanvasXpress {
|
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* Full chart configuration — one property per parameter in the CanvasXpress
|
|
135
|
-
* config schema (
|
|
135
|
+
* config schema (1780 keys). String enums become open literal
|
|
136
136
|
* unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
|
|
137
137
|
* lists the graph types it applies to (absent = all). The index signature keeps
|
|
138
138
|
* obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
|
|
@@ -6432,6 +6432,16 @@ declare namespace CanvasXpress {
|
|
|
6432
6432
|
* @default false
|
|
6433
6433
|
*/
|
|
6434
6434
|
sankeyColorNodesByValue?: boolean;
|
|
6435
|
+
/**
|
|
6436
|
+
* Name of a sample annotation that flags a link (row) to be hidden from the Sankey/alluvial
|
|
6437
|
+
* diagram. A truthy value (true/1/"yes") suppresses that flow ribbon WITHOUT removing it
|
|
6438
|
+
* from the data, so the node values, box heights and the showDataValues number still count
|
|
6439
|
+
* it. Use it to drop a noise branch visually while keeping each node total correct (issue
|
|
6440
|
+
* #320)
|
|
6441
|
+
* @graphTypes Sankey
|
|
6442
|
+
* @default false
|
|
6443
|
+
*/
|
|
6444
|
+
sankeyHide?: string | boolean;
|
|
6435
6445
|
/**
|
|
6436
6446
|
* Outline width (px) for the Sankey/alluvial flow ribbons. Left null the ribbons use the
|
|
6437
6447
|
* default outlineWidth, which inflates a thin (low-value) flow into a solid ~1px line in its
|
|
@@ -12599,6 +12609,7 @@ declare namespace CanvasXpress {
|
|
|
12599
12609
|
| "sankeyAxes"
|
|
12600
12610
|
| "sankeyAxesOrder"
|
|
12601
12611
|
| "sankeyColorNodesByValue"
|
|
12612
|
+
| "sankeyHide"
|
|
12602
12613
|
| "sankeyLinkLineWidth"
|
|
12603
12614
|
| "sankeyLinkOrder"
|
|
12604
12615
|
| "sankeyLinksColor"
|