@progress/kendo-charts 2.3.0-dev.202402161236 → 2.3.0-dev.202403071434

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.
@@ -1,3 +1,5 @@
1
+ import { Group } from '@progress/kendo-drawing';
2
+
1
3
  /**
2
4
  * Represents the highlight options of the Sankey links.
3
5
  */
@@ -195,6 +197,13 @@ export interface SankeyNode {
195
197
  * @default 24
196
198
  */
197
199
  width?: number;
200
+
201
+ /**
202
+ * The alignment of the node.
203
+ *
204
+ * @default 'stretch'
205
+ */
206
+ align?: 'stretch' | 'left' | 'right';
198
207
  }
199
208
 
200
209
  /**
@@ -227,6 +236,7 @@ export interface SankeyOptions {
227
236
  labels?: SankeyLabelDefaults;
228
237
  links?: SankeyLinkDefaults;
229
238
  nodes?: SankeyNodeDefaults;
239
+ disableAutoLayout?: boolean;
230
240
  }
231
241
 
232
242
  export interface SankeyTheme {
@@ -236,6 +246,25 @@ export interface SankeyTheme {
236
246
  nodesColors: string[];
237
247
  }
238
248
 
249
+ /**
250
+ * Represents the options for exporting the Sankey visual.
251
+ */
252
+ export interface SankeyExportVisualOptions {
253
+ /**
254
+ * The width of the exported visual.
255
+ */
256
+ width?: number;
257
+ /**
258
+ * The height of the exported visual.
259
+ */
260
+ height?: number;
261
+ /**
262
+ * The Sankey options to be used for the exported visual.
263
+ * The options will extend and override the Sankey configuration.
264
+ */
265
+ options?: SankeyOptions;
266
+ }
267
+
239
268
  /**
240
269
  * Represents the Kendo Sankey widget.
241
270
  */
@@ -245,6 +274,7 @@ export class Sankey {
245
274
  public setOptions(options: SankeyOptions): void;
246
275
  public bind(event: any, handlers: any): void;
247
276
  public unbind(event?: any, handlers?: any): void;
277
+ public exportVisual(options: SankeyExportVisualOptions): Group;
248
278
  public destroy(): void;
249
279
  }
250
280