canvasxpress 73.2.0 → 73.4.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.2.0",
23
+ "version": "73.4.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 (1793 keys). String enums become open literal
148
+ * config schema (1794 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
@@ -9185,6 +9185,14 @@ export interface CXConfig {
9185
9185
  * @default 0
9186
9186
  */
9187
9187
  varTextRotate?: number | boolean;
9188
+ /**
9189
+ * Flag to automatically keep the variable labels along the bottom of a horizontal heatmap
9190
+ * horizontal when the longest label fits its column band, falling back to varTextRotate
9191
+ * otherwise. Re-evaluated on resize
9192
+ * @graphTypes Alluvial, Area, AreaLine, Bar, BarLine, Boxplot … (65 types; see CXGraphTypeKeys)
9193
+ * @default true
9194
+ */
9195
+ varTextRotateAuto?: boolean;
9188
9196
  /**
9189
9197
  * Scaling factor used to increase or decrease the variable text font size in the canvas
9190
9198
  * @graphTypes Alluvial, Area, AreaLine, Bar, BarLine, Boxplot … (65 types; see CXGraphTypeKeys)
@@ -12744,7 +12752,8 @@ export type CXKeysSamples =
12744
12752
  | "smpTitleFontStyle"
12745
12753
  | "smpTitleMargin"
12746
12754
  | "smpTitleRotate"
12747
- | "smpTitleScaleFontFactor";
12755
+ | "smpTitleScaleFontFactor"
12756
+ | "varTextRotateAuto";
12748
12757
  /** Config keys in the "Sankey Diagrams" category. */
12749
12758
  export type CXKeysSankeyDiagrams =
12750
12759
  | "sankeyAxes"
@@ -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 (1793 keys). String enums become open literal
157
+ * config schema (1794 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
@@ -9194,6 +9194,14 @@ declare namespace CanvasXpress {
9194
9194
  * @default 0
9195
9195
  */
9196
9196
  varTextRotate?: number | boolean;
9197
+ /**
9198
+ * Flag to automatically keep the variable labels along the bottom of a horizontal heatmap
9199
+ * horizontal when the longest label fits its column band, falling back to varTextRotate
9200
+ * otherwise. Re-evaluated on resize
9201
+ * @graphTypes Alluvial, Area, AreaLine, Bar, BarLine, Boxplot … (65 types; see CXGraphTypeKeys)
9202
+ * @default true
9203
+ */
9204
+ varTextRotateAuto?: boolean;
9197
9205
  /**
9198
9206
  * Scaling factor used to increase or decrease the variable text font size in the canvas
9199
9207
  * @graphTypes Alluvial, Area, AreaLine, Bar, BarLine, Boxplot … (65 types; see CXGraphTypeKeys)
@@ -12753,7 +12761,8 @@ declare namespace CanvasXpress {
12753
12761
  | "smpTitleFontStyle"
12754
12762
  | "smpTitleMargin"
12755
12763
  | "smpTitleRotate"
12756
- | "smpTitleScaleFontFactor";
12764
+ | "smpTitleScaleFontFactor"
12765
+ | "varTextRotateAuto";
12757
12766
  /** Config keys in the "Sankey Diagrams" category. */
12758
12767
  export type CXKeysSankeyDiagrams =
12759
12768
  | "sankeyAxes"