@bryntum/chart-react-thin 7.3.0 → 7.3.2
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/lib/BryntumChart.d.ts +1 -1
- package/lib/BryntumChart.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumChart.tsx +14 -1
package/lib/BryntumChart.d.ts
CHANGED
|
@@ -147,7 +147,7 @@ export declare type BryntumChartProps = {
|
|
|
147
147
|
}) => void) | string;
|
|
148
148
|
onBeforeHide?: ((event: {
|
|
149
149
|
source: Widget;
|
|
150
|
-
}) =>
|
|
150
|
+
}) => boolean | void) | string;
|
|
151
151
|
onBeforeSetRecord?: ((event: {
|
|
152
152
|
source: Container;
|
|
153
153
|
record: Model;
|
package/lib/BryntumChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumChart.js","sourceRoot":"","sources":["../src/BryntumChart.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,KAAK,EAA8H,MAAM,qBAAqB,CAAC;AAExK,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumChart.js","sourceRoot":"","sources":["../src/BryntumChart.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,KAAK,EAA8H,MAAM,qBAAqB,CAAC;AAExK,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAs0B/F,MAAM,OAAO,YAAa,SAAQ,KAAK,CAAC,SAA4B;IAApE;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IA0MhD,CAAC;IA5BG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,oBAA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YAAY;IACZ,cAAc;IACd,UAAU;IACV,mBAAmB;IACnB,iBAAiB;IACjB,6BAA6B;IAC7B,cAAc;IACd,cAAc;IACd,WAAW;IACX,KAAK;IACL,QAAQ;IACR,SAAS;IACT,MAAM;IACN,gBAAgB;IAChB,SAAS;IACT,UAAU;IACV,WAAW;IACX,OAAO;IACP,gBAAgB;IAChB,MAAM;IACN,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,IAAI;IACJ,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,aAAa;IACb,OAAO;IACP,QAAQ;IACR,OAAO;IACP,eAAe;IACf,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,QAAQ;IACR,KAAK;IACL,WAAW;IACX,kBAAkB;IAClB,sBAAsB;IACtB,UAAU;IACV,KAAK;IACL,WAAW;IACX,sBAAsB;IACtB,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,mBAAmB;IACnB,cAAc;IACd,YAAY;IACZ,WAAW;IACX,oBAAoB;IACpB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,aAAa;IACb,UAAU;IACV,QAAQ;IACR,WAAW;IACX,UAAU;IACV,QAAQ;IACR,WAAW;IACX,MAAM;IACN,KAAK;IACL,YAAY;IACZ,QAAQ;IACR,gBAAgB;IAChB,mBAAmB;IACnB,qBAAqB;IACrB,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,cAAc;IACd,WAAW;IACX,WAAW;IACX,cAAc;IACd,MAAM;IACN,qBAAqB;IACrB,UAAU;IACV,cAAc;IACd,iBAAiB;IACjB,UAAU;IACV,eAAe;IACf,OAAO;IACP,WAAW;IACX,cAAc;IACd,SAAS;IACT,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,0BAAa,GAAG;IACnB,QAAQ;IACR,QAAQ;CACX,CAAC"}
|
package/package.json
CHANGED
package/src/BryntumChart.tsx
CHANGED
|
@@ -43,6 +43,8 @@ export type BryntumChartProps = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
45
45
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-element).
|
|
46
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
47
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-appendTo)
|
|
46
48
|
*/
|
|
47
49
|
appendTo? : HTMLElement|string
|
|
48
50
|
/**
|
|
@@ -94,6 +96,7 @@ export type BryntumChartProps = {
|
|
|
94
96
|
bubbleEvents? : object
|
|
95
97
|
/**
|
|
96
98
|
* Scale factor to apply to the computed size of bubbles in the bubble chart type.
|
|
99
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
97
100
|
*/
|
|
98
101
|
bubbleScaleFactor? : number
|
|
99
102
|
/**
|
|
@@ -120,6 +123,7 @@ export type BryntumChartProps = {
|
|
|
120
123
|
* Chart tooltip configuration object. Configures the tooltip that appears when hovering over chart data points.
|
|
121
124
|
* This follows the Chartjs tooltip configuration specification. This will only be applied if [showTooltips](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#property-showTooltips)
|
|
122
125
|
* is `true`.
|
|
126
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
123
127
|
*/
|
|
124
128
|
chartTooltip? : ChartTooltipConfig
|
|
125
129
|
/**
|
|
@@ -307,10 +311,14 @@ export type BryntumChartProps = {
|
|
|
307
311
|
inputFieldAlign? : 'start'|'end'
|
|
308
312
|
/**
|
|
309
313
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
314
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
315
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertBefore)
|
|
310
316
|
*/
|
|
311
317
|
insertBefore? : HTMLElement|string
|
|
312
318
|
/**
|
|
313
319
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
320
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
321
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertFirst)
|
|
314
322
|
*/
|
|
315
323
|
insertFirst? : HTMLElement|string
|
|
316
324
|
/**
|
|
@@ -377,6 +385,7 @@ export type BryntumChartProps = {
|
|
|
377
385
|
legendPosition? : 'top'|'right'|'bottom'|'left'|'inline-start'|'inline-end'
|
|
378
386
|
/**
|
|
379
387
|
* Optional scale factor to increase or decrease the size of the chart legend.
|
|
388
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
380
389
|
*/
|
|
381
390
|
legendScale? : number
|
|
382
391
|
/**
|
|
@@ -435,6 +444,7 @@ export type BryntumChartProps = {
|
|
|
435
444
|
maximizeOnMobile? : number|string
|
|
436
445
|
/**
|
|
437
446
|
* The maximum tick rotation in degrees.
|
|
447
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
438
448
|
*/
|
|
439
449
|
maxTickLabelRotation? : number
|
|
440
450
|
/**
|
|
@@ -453,6 +463,7 @@ export type BryntumChartProps = {
|
|
|
453
463
|
minHeight? : string|number
|
|
454
464
|
/**
|
|
455
465
|
* The minimum tick rotation in degrees.
|
|
466
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
456
467
|
*/
|
|
457
468
|
minTickLabelRotation? : number
|
|
458
469
|
/**
|
|
@@ -621,6 +632,7 @@ export type BryntumChartProps = {
|
|
|
621
632
|
subtitleFont? : Font
|
|
622
633
|
/**
|
|
623
634
|
* Padding around the chart subtitle, in pixels.
|
|
635
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
624
636
|
*/
|
|
625
637
|
subtitlePadding? : object
|
|
626
638
|
/**
|
|
@@ -671,6 +683,7 @@ export type BryntumChartProps = {
|
|
|
671
683
|
titleFont? : Font
|
|
672
684
|
/**
|
|
673
685
|
* Padding around the chart title, in pixels.
|
|
686
|
+
* @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
|
|
674
687
|
*/
|
|
675
688
|
titlePadding? : object
|
|
676
689
|
/**
|
|
@@ -720,7 +733,7 @@ export type BryntumChartProps = {
|
|
|
720
733
|
* @param {object} event Event object
|
|
721
734
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
722
735
|
*/
|
|
723
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
736
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
724
737
|
/**
|
|
725
738
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
726
739
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|