@bryntum/chart-vue-3-thin 7.2.4 → 7.3.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.
@@ -10,8 +10,8 @@
10
10
 
11
11
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
12
 
13
- import type { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ModelConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
14
- import type { ChartListeners, ChartTooltipConfig, ChartContainerItemConfig, ChartContainerLayoutConfig, DataSeries, DataSeriesRole, Font } from '@bryntum/chart-thin';
13
+ import type { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
14
+ import type { ChartListeners, ChartTooltipConfig, ChartContainerItemConfig, ChartContainerLayoutConfig, DataSeries, Font } from '@bryntum/chart-thin';
15
15
  import { Chart } from '@bryntum/chart-thin';
16
16
 
17
17
  import { WrapperHelper } from '../helper/WrapperHelper';
@@ -21,14 +21,12 @@ defineProps<{
21
21
  /**
22
22
  * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
23
23
  * content will be placed inside this element.
24
- * ...
25
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-adopt)
24
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-adopt)
26
25
  */
27
26
  adopt ? : HTMLElement|string
28
27
  /**
29
28
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
30
- * ...
31
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-align)
29
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-align)
32
30
  */
33
31
  align ? : AlignSpec|string
34
32
  /**
@@ -58,15 +56,13 @@ defineProps<{
58
56
  /**
59
57
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
60
58
  * into an element which will be linked using the `aria-describedby` attribute.
61
- * ...
62
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ariaDescription)
59
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ariaDescription)
63
60
  */
64
61
  ariaDescription ? : string
65
62
  /**
66
63
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
67
64
  * the `aria-label` attribute.
68
- * ...
69
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ariaLabel)
65
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ariaLabel)
70
66
  */
71
67
  ariaLabel ? : string
72
68
  /**
@@ -101,8 +97,7 @@ defineProps<{
101
97
  /**
102
98
  * An object where property names with a truthy value indicate which events should bubble up the ownership
103
99
  * hierarchy when triggered.
104
- * ...
105
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-bubbleEvents)
100
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-bubbleEvents)
106
101
  */
107
102
  bubbleEvents ? : object
108
103
  /**
@@ -111,15 +106,13 @@ defineProps<{
111
106
  bubbleScaleFactor ? : number
112
107
  /**
113
108
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
114
- * ...
115
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-callOnFunctions)
109
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-callOnFunctions)
116
110
  */
117
111
  callOnFunctions ? : Boolean
118
112
  /**
119
113
  * By default, if an event handler throws an exception, the error propagates up the stack and the
120
114
  * application state is undefined. Code which follows the event handler will *not* be executed.
121
- * ...
122
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-catchEventHandlerExceptions)
115
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-catchEventHandlerExceptions)
123
116
  */
124
117
  catchEventHandlerExceptions ? : Boolean
125
118
  /**
@@ -145,15 +138,13 @@ defineProps<{
145
138
  * Custom CSS classes to add to element.
146
139
  * May be specified as a space separated string, or as an object in which property names
147
140
  * with truthy values are used as the class names:
148
- * ...
149
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-cls)
141
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-cls)
150
142
  */
151
143
  cls ? : string|object
152
144
  /**
153
145
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
154
146
  * `style` block.
155
- * ...
156
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-color)
147
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-color)
157
148
  */
158
149
  color ? : Color
159
150
  /**
@@ -177,8 +168,7 @@ defineProps<{
177
168
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-contentElement).
178
169
  * May be specified as a space separated string, or as an object in which property names
179
170
  * with truthy values are used as the class names:
180
- * ...
181
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-contentElementCls)
171
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-contentElementCls)
182
172
  */
183
173
  contentElementCls ? : string|object
184
174
  /**
@@ -206,8 +196,7 @@ defineProps<{
206
196
  /**
207
197
  * A [query](https://bryntum.com/products/chart/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
208
198
  * focus should be directed by default.
209
- * ...
210
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-defaultFocus)
199
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-defaultFocus)
211
200
  * @param {Core.widget.Widget} widget Widget passed to method
212
201
  * @returns {boolean} truthy value if widget is the default one
213
202
  */
@@ -217,16 +206,15 @@ defineProps<{
217
206
  */
218
207
  defaults ? : ChartContainerItemConfig
219
208
  /**
220
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
221
- * ...
222
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-detectCSSCompatibilityIssues)
209
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
210
+ * checks:
211
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-detectCSSCompatibilityIssues)
223
212
  */
224
213
  detectCSSCompatibilityIssues ? : Boolean
225
214
  /**
226
215
  * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
227
216
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
228
- * ...
229
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-disabled)
217
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-disabled)
230
218
  */
231
219
  disabled ? : Boolean|'inert'
232
220
  /**
@@ -234,25 +222,21 @@ defineProps<{
234
222
  * [strips collection](https://bryntum.com/products/chart/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
235
223
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
236
224
  * body. Such widgets are called "edge strips".
237
- * ...
238
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-dock)
225
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-dock)
239
226
  */
240
227
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
241
228
  /**
242
229
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
243
230
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
244
231
  * property which controls when a drag should start.
245
- * ...
246
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-draggable)
232
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-draggable)
233
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
247
234
  */
248
- draggable ? : Boolean|{
249
- handleSelector?: string
250
- }
235
+ draggable ? : Boolean|object
251
236
  /**
252
237
  * An object specifying attributes to assign to the root element of this widget.
253
238
  * Set `null` value to attribute to remove it.
254
- * ...
255
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-elementAttributes)
239
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-elementAttributes)
256
240
  */
257
241
  elementAttributes ? : Record<string, string|null>
258
242
  extraData ? : any
@@ -294,25 +278,21 @@ defineProps<{
294
278
  hidden ? : Boolean
295
279
  /**
296
280
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
297
- * ...
298
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-hideAnimation)
281
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-hideAnimation)
299
282
  */
300
283
  hideAnimation ? : Boolean|object
301
284
  /**
302
285
  * Specify `true` to make this container hide when it has no visible children (Either empty
303
286
  * or all children hidden).
304
- * ...
305
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-hideWhenEmpty)
287
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-hideWhenEmpty)
306
288
  */
307
289
  hideWhenEmpty ? : Boolean
308
290
  /**
309
291
  * The HTML to display initially or a function returning the markup (called at widget construction time).
310
- * ...
311
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-html)
292
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-html)
312
293
  * @param {Core.widget.Widget} widget The calling Widget
313
- * @returns {string}
314
294
  */
315
- html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
295
+ html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
316
296
  /**
317
297
  * The CSS class(es) to add when HTML content is being applied to this widget.
318
298
  */
@@ -323,16 +303,14 @@ defineProps<{
323
303
  id ? : string
324
304
  /**
325
305
  * Determines if the widgets read-only state should be controlled by its parent.
326
- * ...
327
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ignoreParentReadOnly)
306
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ignoreParentReadOnly)
328
307
  */
329
308
  ignoreParentReadOnly ? : Boolean
330
309
  /**
331
310
  * Convenience setting to align input fields of child widgets. By default, the Field input element is
332
311
  * placed immediately following the `label`. If you prefer to have all input fields aligned to the
333
312
  * right, set this config to `'end'`.
334
- * ...
335
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-inputFieldAlign)
313
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-inputFieldAlign)
336
314
  */
337
315
  inputFieldAlign ? : 'start'|'end'
338
316
  /**
@@ -354,16 +332,14 @@ defineProps<{
354
332
  /**
355
333
  * An object containing typed child widget config objects or Widgets. May also be specified
356
334
  * as an array.
357
- * ...
358
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-items)
335
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-items)
359
336
  */
360
337
  items ? : Record<string, ChartContainerItemConfig|MenuItemEntry>|(ChartContainerItemConfig|MenuItemEntry|Widget)[]
361
338
  /**
362
339
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
363
340
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
364
341
  * are the name of the instance method to call when the keystroke is received.
365
- * ...
366
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-keyMap)
342
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-keyMap)
367
343
  */
368
344
  keyMap ? : Record<string, KeyMapConfig>
369
345
  /**
@@ -372,8 +348,7 @@ defineProps<{
372
348
  label ? : string
373
349
  /**
374
350
  * Convenience setting to use same label placement on all child widgets.
375
- * ...
376
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelPosition)
351
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelPosition)
377
352
  */
378
353
  labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
379
354
  /**
@@ -381,23 +356,25 @@ defineProps<{
381
356
  * For pie and donut chart, it defines the data values to use as slice labels.
382
357
  */
383
358
  labels ? : DataSeries
359
+ /**
360
+ * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
361
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelWidth)
362
+ */
363
+ labelWidth ? : number|null
384
364
  /**
385
365
  * The short name of a helper class which manages rendering and styling of child items.
386
- * ...
387
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-layout)
366
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-layout)
388
367
  */
389
368
  layout ? : string|ChartContainerLayoutConfig
390
369
  /**
391
370
  * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-contentElement).
392
- * ...
393
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-layoutStyle)
371
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-layoutStyle)
394
372
  */
395
373
  layoutStyle ? : object
396
374
  /**
397
375
  * An array of [child item](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
398
376
  * instances only when this Container is rendered, rather than eagerly at construct time.
399
- * ...
400
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-lazyItems)
377
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-lazyItems)
401
378
  */
402
379
  lazyItems ? : Record<string, ChartContainerItemConfig>|ChartContainerItemConfig[]|Widget[]
403
380
  /**
@@ -412,16 +389,14 @@ defineProps<{
412
389
  legendScale ? : number
413
390
  /**
414
391
  * The listener set for this object.
415
- * ...
416
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-listeners)
392
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-listeners)
417
393
  */
418
394
  listeners ? : ChartListeners
419
395
  /**
420
396
  * A class translations of which are used for translating this entity.
421
397
  * This is often used when translations of an item are defined on its container class.
422
398
  * For example:
423
- * ...
424
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-localeClass)
399
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-localeClass)
425
400
  */
426
401
  localeClass ? : typeof Base
427
402
  /**
@@ -433,8 +408,7 @@ defineProps<{
433
408
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
434
409
  * you could use 'localeKey' meta configuration.
435
410
  * Example:
436
- * ...
437
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-localizableProperties)
411
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-localizableProperties)
438
412
  */
439
413
  localizableProperties ? : string[]
440
414
  /**
@@ -464,8 +438,7 @@ defineProps<{
464
438
  maxHeight ? : string|number
465
439
  /**
466
440
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
467
- * ...
468
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-maximizeOnMobile)
441
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-maximizeOnMobile)
469
442
  */
470
443
  maximizeOnMobile ? : number|string
471
444
  /**
@@ -499,18 +472,15 @@ defineProps<{
499
472
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
500
473
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
501
474
  * layout.
502
- * ...
503
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-monitorResize)
475
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-monitorResize)
476
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
504
477
  */
505
- monitorResize ? : Boolean|{
506
- immediate?: Boolean
507
- }
478
+ monitorResize ? : Boolean|object
508
479
  /**
509
480
  * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-items)
510
481
  * config. For example, a specialized [Menu](https://bryntum.com/products/chart/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
511
482
  * value defined like this:
512
- * ...
513
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-namedItems)
483
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-namedItems)
514
484
  */
515
485
  namedItems ? : Record<string, ChartContainerItemConfig>
516
486
  /**
@@ -521,8 +491,7 @@ defineProps<{
521
491
  * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-contentElement), but must
522
492
  * not participate in the standard layout of that widget, and must be positioned relatively to that
523
493
  * widget's [contentElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-contentElement).
524
- * ...
525
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-positioned)
494
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-positioned)
526
495
  */
527
496
  positioned ? : Boolean
528
497
  /**
@@ -533,50 +502,45 @@ defineProps<{
533
502
  /**
534
503
  * Whether this widget is read-only. This is only valid if the widget is an input
535
504
  * field, <strong>or contains input fields at any depth</strong>.
536
- * ...
537
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-readOnly)
505
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-readOnly)
538
506
  */
539
507
  readOnly ? : Boolean
540
508
  /**
541
509
  * [Record](https://bryntum.com/products/chart/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
542
- * ...
543
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-record)
510
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-record)
544
511
  */
545
512
  record ? : Model
546
513
  relayStoreEvents ? : Boolean
547
514
  /**
548
515
  * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
549
516
  * `type`.
550
- * ...
551
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-rendition)
517
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-rendition)
552
518
  */
553
519
  rendition ? : string|Record<string, string>|null
554
520
  /**
555
521
  * Configure as `true` to have the component display a translucent ripple when its
556
522
  * [focusElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
557
523
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
558
- * ...
559
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ripple)
524
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ripple)
525
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
526
+ * @property {string} [color] A CSS color name or specification.
527
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
528
+ * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
560
529
  */
561
- ripple ? : Boolean|{
562
- delegate?: string
563
- color?: string
564
- radius?: number
565
- clip?: string
566
- }
530
+ ripple ? : Boolean|object
567
531
  /**
568
- * (Optional) Required when using certain chart types, for example `scatter`, where series can be arbitrarily
569
- * assigned to different axes. The `role` determines how this series is used in the chart.
532
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
533
+ * accidentally applying a role which may interfere with screen readers.
534
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-role)
570
535
  */
571
- role ? : DataSeriesRole
536
+ role ? : string
572
537
  /**
573
538
  * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
574
539
  */
575
540
  rootElement ? : ShadowRoot|HTMLElement
576
541
  /**
577
542
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
578
- * ...
579
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-rtl)
543
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-rtl)
580
544
  */
581
545
  rtl ? : Boolean
582
546
  /**
@@ -584,8 +548,7 @@ defineProps<{
584
548
  * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
585
549
  * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
586
550
  * CSS overflow properties thus:
587
- * ...
588
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-scrollable)
551
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-scrollable)
589
552
  */
590
553
  scrollable ? : Boolean|ScrollerConfig|Scroller
591
554
  /**
@@ -611,8 +574,7 @@ defineProps<{
611
574
  seriesLineThickness ? : number
612
575
  /**
613
576
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
614
- * ...
615
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-showAnimation)
577
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-showAnimation)
616
578
  */
617
579
  showAnimation ? : Boolean|object
618
580
  /**
@@ -662,8 +624,7 @@ defineProps<{
662
624
  subtitle ? : string
663
625
  /**
664
626
  * The font to use for the chart subtitle.
665
- * ...
666
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-subtitleFont)
627
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-subtitleFont)
667
628
  */
668
629
  subtitleFont ? : Font
669
630
  /**
@@ -674,15 +635,13 @@ defineProps<{
674
635
  * A configuration for the [tab](https://bryntum.com/products/chart/docs/api/Core/widget/Tab) created for this widget when it is placed in a
675
636
  * [TabPanel](https://bryntum.com/products/chart/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
676
637
  * this widget:
677
- * ...
678
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tab)
638
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tab)
679
639
  */
680
640
  tab ? : Boolean|TabConfig
681
641
  /**
682
642
  * When this container is used as a tab in a TabPanel, these items are added to the
683
643
  * [TabBar](https://bryntum.com/products/chart/docs/api/Core/widget/TabBar) when this container is the active tab.
684
- * ...
685
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tabBarItems)
644
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tabBarItems)
686
645
  */
687
646
  tabBarItems ? : ToolbarItems[]|Widget[]
688
647
  /**
@@ -691,21 +650,18 @@ defineProps<{
691
650
  tag ? : string
692
651
  /**
693
652
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
694
- * ...
695
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-textAlign)
653
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-textAlign)
696
654
  */
697
655
  textAlign ? : 'left'|'center'|'right'|'start'|'end'
698
656
  /**
699
657
  * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
700
658
  * which specifies a default max-width that makes long text more readable.
701
- * ...
702
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-textContent)
659
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-textContent)
703
660
  */
704
661
  textContent ? : Boolean
705
662
  /**
706
663
  * The font to use for tick labels on the chart axes.
707
- * ...
708
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tickFont)
664
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tickFont)
709
665
  */
710
666
  tickFont ? : Font
711
667
  /**
@@ -718,8 +674,7 @@ defineProps<{
718
674
  title ? : string
719
675
  /**
720
676
  * The font to use for the chart title.
721
- * ...
722
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-titleFont)
677
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-titleFont)
723
678
  */
724
679
  titleFont ? : Font
725
680
  /**
@@ -728,8 +683,7 @@ defineProps<{
728
683
  titlePadding ? : object
729
684
  /**
730
685
  * Tooltip for the widget, either as a string or as a Tooltip config object.
731
- * ...
732
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tooltip)
686
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tooltip)
733
687
  */
734
688
  tooltip ? : string|TooltipConfig|null
735
689
  type ? : 'chart'
@@ -737,8 +691,7 @@ defineProps<{
737
691
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
738
692
  * as a space separated string, an array of strings, or as an object in which property names with truthy
739
693
  * values are used as the class names.
740
- * ...
741
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ui)
694
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-ui)
742
695
  */
743
696
  ui ? : string|object
744
697
  /**
@@ -754,14 +707,12 @@ defineProps<{
754
707
  width ? : string|number
755
708
  /**
756
709
  * The x position for the widget.
757
- * ...
758
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-x)
710
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-x)
759
711
  */
760
712
  x ? : number
761
713
  /**
762
714
  * The y position for the widget.
763
- * ...
764
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-y)
715
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-y)
765
716
  */
766
717
  y ? : number
767
718
 
@@ -804,8 +755,7 @@ const emit = defineEmits<{
804
755
  (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
805
756
  /**
806
757
  * Fires when any other event is fired from the object.
807
- * ...
808
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-catchAll)
758
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-catchAll)
809
759
  * @param {string} e Event name
810
760
  * @param {object} params Event parameters
811
761
  * @param {object} params.event Event object
@@ -877,8 +827,7 @@ const emit = defineEmits<{
877
827
  /**
878
828
  * Triggered when a widget which had been in a non-visible state for any reason
879
829
  * achieves visibility.
880
- * ...
881
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-paint)
830
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-paint)
882
831
  * @param {string} e Event name
883
832
  * @param {object} params Event parameters
884
833
  * @param {object} params.event Event object
@@ -1020,6 +969,7 @@ const widgetData = {
1020
969
  'label',
1021
970
  'labelPosition',
1022
971
  'labels',
972
+ 'labelWidth',
1023
973
  'layout',
1024
974
  'layoutStyle',
1025
975
  'legendPosition',
@@ -1084,11 +1034,6 @@ const widgetData = {
1084
1034
  'y'
1085
1035
  ],
1086
1036
  propertyNames : [
1087
- 'anchorSize',
1088
- 'focusVisible',
1089
- 'hasChanges',
1090
- 'isSettingValues',
1091
- 'isValid',
1092
1037
  'parent',
1093
1038
  'values'
1094
1039
  ],