@bryntum/chart-angular-thin 7.3.2 → 7.3.4
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/bundles/bryntum-chart-angular-thin.umd.js +4 -4
- package/bundles/bryntum-chart-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-chart.component.js +5 -5
- package/fesm2015/bryntum-chart-angular-thin.js +4 -4
- package/fesm2015/bryntum-chart-angular-thin.js.map +1 -1
- package/lib/bryntum-chart.component.d.ts +10 -7
- package/package.json +1 -1
- package/src/lib/bryntum-chart.component.ts +10 -7
|
@@ -108,9 +108,10 @@ export declare type BryntumChartProps = {
|
|
|
108
108
|
catchEventHandlerExceptions?: boolean;
|
|
109
109
|
/**
|
|
110
110
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
|
|
111
|
-
*
|
|
111
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-centered)
|
|
112
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
112
113
|
*/
|
|
113
|
-
centered?: boolean;
|
|
114
|
+
centered?: boolean | object;
|
|
114
115
|
/**
|
|
115
116
|
* Padding around the entire chart area, in pixels.
|
|
116
117
|
*/
|
|
@@ -219,7 +220,7 @@ export declare type BryntumChartProps = {
|
|
|
219
220
|
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
220
221
|
/**
|
|
221
222
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
|
|
222
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
223
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
223
224
|
* property which controls when a drag should start.
|
|
224
225
|
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-draggable)
|
|
225
226
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -353,7 +354,7 @@ export declare type BryntumChartProps = {
|
|
|
353
354
|
*/
|
|
354
355
|
labels?: DataSeries;
|
|
355
356
|
/**
|
|
356
|
-
* Sets `labelWidth
|
|
357
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
357
358
|
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelWidth)
|
|
358
359
|
*/
|
|
359
360
|
labelWidth?: number | null;
|
|
@@ -552,7 +553,7 @@ export declare type BryntumChartProps = {
|
|
|
552
553
|
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
553
554
|
/**
|
|
554
555
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
555
|
-
* Valid values:
|
|
556
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
556
557
|
*/
|
|
557
558
|
scrollAction?: 'hide' | 'realign' | null;
|
|
558
559
|
/**
|
|
@@ -737,7 +738,6 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
737
738
|
autoUpdateRecord: boolean;
|
|
738
739
|
border: boolean;
|
|
739
740
|
bubbleEvents: object;
|
|
740
|
-
centered: boolean;
|
|
741
741
|
color: Color;
|
|
742
742
|
config: object;
|
|
743
743
|
constrainTo: HTMLElement | Widget | Rectangle;
|
|
@@ -793,6 +793,9 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
793
793
|
bubbleScaleFactor: number;
|
|
794
794
|
callOnFunctions: boolean;
|
|
795
795
|
catchEventHandlerExceptions: boolean;
|
|
796
|
+
centered: boolean | {
|
|
797
|
+
once?: boolean;
|
|
798
|
+
} | boolean | object;
|
|
796
799
|
chartPadding: object;
|
|
797
800
|
chartTooltip: ChartTooltipConfig;
|
|
798
801
|
chartType: 'line' | 'bar' | 'pie' | 'donut' | 'scatter' | 'bubble' | 'radar';
|
|
@@ -1011,5 +1014,5 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1011
1014
|
*/
|
|
1012
1015
|
ngOnDestroy(): void;
|
|
1013
1016
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumChartComponent, never>;
|
|
1014
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChartComponent, "bryntum-chart", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoUpdateRecord": "autoUpdateRecord"; "border": "border"; "bubbleEvents": "bubbleEvents"; "
|
|
1017
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChartComponent, "bryntum-chart", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoUpdateRecord": "autoUpdateRecord"; "border": "border"; "bubbleEvents": "bubbleEvents"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "defaultFocus": "defaultFocus"; "defaults": "defaults"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "hideAnimation": "hideAnimation"; "hideWhenEmpty": "hideWhenEmpty"; "htmlCls": "htmlCls"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "itemCls": "itemCls"; "lazyItems": "lazyItems"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "monitorResize": "monitorResize"; "namedItems": "namedItems"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "relayStoreEvents": "relayStoreEvents"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "tab": "tab"; "tabBarItems": "tabBarItems"; "tag": "tag"; "textAlign": "textAlign"; "textContent": "textContent"; "type": "type"; "ui": "ui"; "weight": "weight"; "alignSelf": "alignSelf"; "animate": "animate"; "animationDuration": "animationDuration"; "appendTo": "appendTo"; "axisColor": "axisColor"; "axisLabelColor": "axisLabelColor"; "background": "background"; "barDirection": "barDirection"; "barWidth": "barWidth"; "bubbleScaleFactor": "bubbleScaleFactor"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "centered": "centered"; "chartPadding": "chartPadding"; "chartTooltip": "chartTooltip"; "chartType": "chartType"; "cls": "cls"; "column": "column"; "content": "content"; "data": "data"; "dataPointShape": "dataPointShape"; "dataset": "dataset"; "disabled": "disabled"; "extraData": "extraData"; "field": "field"; "fillColorField": "fillColorField"; "flex": "flex"; "gridColor": "gridColor"; "height": "height"; "hidden": "hidden"; "html": "html"; "id": "id"; "inputFieldAlign": "inputFieldAlign"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "interactive": "interactive"; "items": "items"; "keyMap": "keyMap"; "label": "label"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "layout": "layout"; "layoutStyle": "layoutStyle"; "legendPosition": "legendPosition"; "legendScale": "legendScale"; "margin": "margin"; "max": "max"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxTickLabelRotation": "maxTickLabelRotation"; "maxWidth": "maxWidth"; "min": "min"; "minHeight": "minHeight"; "minTickLabelRotation": "minTickLabelRotation"; "minWidth": "minWidth"; "pointSize": "pointSize"; "readOnly": "readOnly"; "record": "record"; "rendition": "rendition"; "role": "role"; "rtl": "rtl"; "scrollable": "scrollable"; "series": "series"; "seriesLineDash": "seriesLineDash"; "seriesLineOpacity": "seriesLineOpacity"; "seriesLineThickness": "seriesLineThickness"; "showControls": "showControls"; "showLegend": "showLegend"; "showPoints": "showPoints"; "showSubtitle": "showSubtitle"; "showTicks": "showTicks"; "showTitle": "showTitle"; "showTooltips": "showTooltips"; "span": "span"; "strictRecordMapping": "strictRecordMapping"; "subtitle": "subtitle"; "subtitleFont": "subtitleFont"; "subtitlePadding": "subtitlePadding"; "tickFont": "tickFont"; "tickMarkColor": "tickMarkColor"; "title": "title"; "titleFont": "titleFont"; "titlePadding": "titlePadding"; "tooltip": "tooltip"; "width": "width"; "x": "x"; "y": "y"; "parent": "parent"; "values": "values"; }, { "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeSetRecord": "onBeforeSetRecord"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onDestroy": "onDestroy"; "onDirtyStateChange": "onDirtyStateChange"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onShow": "onShow"; }, never, never>;
|
|
1015
1018
|
}
|
package/package.json
CHANGED
|
@@ -117,9 +117,10 @@ export type BryntumChartProps = {
|
|
|
117
117
|
catchEventHandlerExceptions ? : boolean
|
|
118
118
|
/**
|
|
119
119
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
|
|
120
|
-
*
|
|
120
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-centered)
|
|
121
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
121
122
|
*/
|
|
122
|
-
centered ? : boolean
|
|
123
|
+
centered ? : boolean|object
|
|
123
124
|
/**
|
|
124
125
|
* Padding around the entire chart area, in pixels.
|
|
125
126
|
*/
|
|
@@ -228,7 +229,7 @@ export type BryntumChartProps = {
|
|
|
228
229
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
229
230
|
/**
|
|
230
231
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
|
|
231
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
232
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
232
233
|
* property which controls when a drag should start.
|
|
233
234
|
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-draggable)
|
|
234
235
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -362,7 +363,7 @@ export type BryntumChartProps = {
|
|
|
362
363
|
*/
|
|
363
364
|
labels ? : DataSeries
|
|
364
365
|
/**
|
|
365
|
-
* Sets `labelWidth
|
|
366
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
366
367
|
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelWidth)
|
|
367
368
|
*/
|
|
368
369
|
labelWidth ? : number|null
|
|
@@ -561,7 +562,7 @@ export type BryntumChartProps = {
|
|
|
561
562
|
scrollable ? : boolean|ScrollerConfig|Scroller
|
|
562
563
|
/**
|
|
563
564
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
564
|
-
* Valid values:
|
|
565
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
565
566
|
*/
|
|
566
567
|
scrollAction ? : 'hide'|'realign'|null
|
|
567
568
|
/**
|
|
@@ -912,7 +913,6 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
912
913
|
'autoUpdateRecord',
|
|
913
914
|
'border',
|
|
914
915
|
'bubbleEvents',
|
|
915
|
-
'centered',
|
|
916
916
|
'color',
|
|
917
917
|
'config',
|
|
918
918
|
'constrainTo',
|
|
@@ -971,6 +971,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
971
971
|
'bubbleScaleFactor',
|
|
972
972
|
'callOnFunctions',
|
|
973
973
|
'catchEventHandlerExceptions',
|
|
974
|
+
'centered',
|
|
974
975
|
'chartPadding',
|
|
975
976
|
'chartTooltip',
|
|
976
977
|
'chartType',
|
|
@@ -1075,7 +1076,6 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1075
1076
|
@Input() autoUpdateRecord ! : boolean;
|
|
1076
1077
|
@Input() border ! : boolean;
|
|
1077
1078
|
@Input() bubbleEvents ! : object;
|
|
1078
|
-
@Input() centered ! : boolean;
|
|
1079
1079
|
@Input() color ! : Color;
|
|
1080
1080
|
@Input() config ! : object;
|
|
1081
1081
|
@Input() constrainTo ! : HTMLElement|Widget|Rectangle;
|
|
@@ -1133,6 +1133,9 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1133
1133
|
@Input() bubbleScaleFactor ! : number;
|
|
1134
1134
|
@Input() callOnFunctions ! : boolean;
|
|
1135
1135
|
@Input() catchEventHandlerExceptions ! : boolean;
|
|
1136
|
+
@Input() centered ! : boolean|{
|
|
1137
|
+
once?: boolean
|
|
1138
|
+
}|boolean|object;
|
|
1136
1139
|
@Input() chartPadding ! : object;
|
|
1137
1140
|
@Input() chartTooltip ! : ChartTooltipConfig;
|
|
1138
1141
|
@Input() chartType ! : 'line'|'bar'|'pie'|'donut'|'scatter'|'bubble'|'radar';
|