@bryntum/chart-angular-thin 7.3.4 → 7.3.6
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/README.md +2 -1
- package/bundles/bryntum-chart-angular-thin.umd.js +8 -4
- package/bundles/bryntum-chart-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-chart.component.js +9 -5
- package/fesm2015/bryntum-chart-angular-thin.js +8 -4
- package/fesm2015/bryntum-chart-angular-thin.js.map +1 -1
- package/lib/bryntum-chart.component.d.ts +11 -4
- package/package.json +1 -1
- package/src/lib/bryntum-chart.component.ts +13 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Angular wrapper for Bryntum Chart
|
|
3
3
|
*/
|
|
4
4
|
import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
|
|
5
|
-
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
5
|
+
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, ModelConfig, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
6
|
import { Chart, ChartListeners, ChartTooltipConfig, ChartContainerItemConfig, ChartContainerLayoutConfig, DataSeries, DataSeriesRole, Font } from '@bryntum/chart-thin';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare type BryntumChartProps = {
|
|
@@ -56,7 +56,7 @@ export declare type BryntumChartProps = {
|
|
|
56
56
|
*/
|
|
57
57
|
ariaLabel?: string;
|
|
58
58
|
/**
|
|
59
|
-
* Update assigned [record](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
59
|
+
* Update assigned [record](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-record) automatically on field changes.
|
|
60
60
|
*/
|
|
61
61
|
autoUpdateRecord?: boolean;
|
|
62
62
|
/**
|
|
@@ -483,6 +483,12 @@ export declare type BryntumChartProps = {
|
|
|
483
483
|
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-namedItems)
|
|
484
484
|
*/
|
|
485
485
|
namedItems?: Record<string, ChartContainerItemConfig>;
|
|
486
|
+
/**
|
|
487
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/chart/docs/api/Core/widget/Toolbar)'s
|
|
488
|
+
* overflow menu (see [overflow](https://bryntum.com/products/chart/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
489
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-overflowTwinConfig)
|
|
490
|
+
*/
|
|
491
|
+
overflowTwinConfig?: OverflowTwinConfig | null;
|
|
486
492
|
/**
|
|
487
493
|
* Radius of data points, in pixels.
|
|
488
494
|
*/
|
|
@@ -735,7 +741,6 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
735
741
|
anchor: boolean;
|
|
736
742
|
ariaDescription: string;
|
|
737
743
|
ariaLabel: string;
|
|
738
|
-
autoUpdateRecord: boolean;
|
|
739
744
|
border: boolean;
|
|
740
745
|
bubbleEvents: object;
|
|
741
746
|
color: Color;
|
|
@@ -765,6 +770,7 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
765
770
|
masked: boolean | string | MaskConfig;
|
|
766
771
|
monitorResize: boolean | object;
|
|
767
772
|
namedItems: Record<string, ChartContainerItemConfig>;
|
|
773
|
+
overflowTwinConfig: OverflowTwinConfig | null;
|
|
768
774
|
positioned: boolean;
|
|
769
775
|
preventTooltipOnTouch: boolean;
|
|
770
776
|
relayStoreEvents: boolean;
|
|
@@ -785,6 +791,7 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
785
791
|
animate: boolean;
|
|
786
792
|
animationDuration: number;
|
|
787
793
|
appendTo: HTMLElement | string;
|
|
794
|
+
autoUpdateRecord: boolean;
|
|
788
795
|
axisColor: string;
|
|
789
796
|
axisLabelColor: string;
|
|
790
797
|
background: string;
|
|
@@ -1014,5 +1021,5 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1014
1021
|
*/
|
|
1015
1022
|
ngOnDestroy(): void;
|
|
1016
1023
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumChartComponent, never>;
|
|
1017
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChartComponent, "bryntum-chart", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "
|
|
1024
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChartComponent, "bryntum-chart", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "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"; "overflowTwinConfig": "overflowTwinConfig"; "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"; "autoUpdateRecord": "autoUpdateRecord"; "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>;
|
|
1018
1025
|
}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
|
|
|
7
7
|
|
|
8
8
|
import WrapperHelper from './wrapper.helper';
|
|
9
9
|
|
|
10
|
-
import { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
10
|
+
import { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, ModelConfig, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
11
11
|
import { Chart, ChartListeners, ChartTooltipConfig, ChartContainerItemConfig, ChartContainerLayoutConfig, DataSeries, DataSeriesRole, Font } from '@bryntum/chart-thin';
|
|
12
12
|
|
|
13
13
|
import { DomHelper, StringHelper } from '@bryntum/core-thin';
|
|
@@ -65,7 +65,7 @@ export type BryntumChartProps = {
|
|
|
65
65
|
*/
|
|
66
66
|
ariaLabel ? : string
|
|
67
67
|
/**
|
|
68
|
-
* Update assigned [record](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
68
|
+
* Update assigned [record](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-record) automatically on field changes.
|
|
69
69
|
*/
|
|
70
70
|
autoUpdateRecord ? : boolean
|
|
71
71
|
/**
|
|
@@ -492,6 +492,12 @@ export type BryntumChartProps = {
|
|
|
492
492
|
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-namedItems)
|
|
493
493
|
*/
|
|
494
494
|
namedItems ? : Record<string, ChartContainerItemConfig>
|
|
495
|
+
/**
|
|
496
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/chart/docs/api/Core/widget/Toolbar)'s
|
|
497
|
+
* overflow menu (see [overflow](https://bryntum.com/products/chart/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
498
|
+
* [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-overflowTwinConfig)
|
|
499
|
+
*/
|
|
500
|
+
overflowTwinConfig ? : OverflowTwinConfig|null
|
|
495
501
|
/**
|
|
496
502
|
* Radius of data points, in pixels.
|
|
497
503
|
*/
|
|
@@ -854,6 +860,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
854
860
|
'minWidth',
|
|
855
861
|
'monitorResize',
|
|
856
862
|
'namedItems',
|
|
863
|
+
'overflowTwinConfig',
|
|
857
864
|
'pointSize',
|
|
858
865
|
'positioned',
|
|
859
866
|
'preventTooltipOnTouch',
|
|
@@ -910,7 +917,6 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
910
917
|
'anchor',
|
|
911
918
|
'ariaDescription',
|
|
912
919
|
'ariaLabel',
|
|
913
|
-
'autoUpdateRecord',
|
|
914
920
|
'border',
|
|
915
921
|
'bubbleEvents',
|
|
916
922
|
'color',
|
|
@@ -940,6 +946,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
940
946
|
'masked',
|
|
941
947
|
'monitorResize',
|
|
942
948
|
'namedItems',
|
|
949
|
+
'overflowTwinConfig',
|
|
943
950
|
'positioned',
|
|
944
951
|
'preventTooltipOnTouch',
|
|
945
952
|
'relayStoreEvents',
|
|
@@ -963,6 +970,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
963
970
|
'animate',
|
|
964
971
|
'animationDuration',
|
|
965
972
|
'appendTo',
|
|
973
|
+
'autoUpdateRecord',
|
|
966
974
|
'axisColor',
|
|
967
975
|
'axisLabelColor',
|
|
968
976
|
'background',
|
|
@@ -1073,7 +1081,6 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1073
1081
|
@Input() anchor ! : boolean;
|
|
1074
1082
|
@Input() ariaDescription ! : string;
|
|
1075
1083
|
@Input() ariaLabel ! : string;
|
|
1076
|
-
@Input() autoUpdateRecord ! : boolean;
|
|
1077
1084
|
@Input() border ! : boolean;
|
|
1078
1085
|
@Input() bubbleEvents ! : object;
|
|
1079
1086
|
@Input() color ! : Color;
|
|
@@ -1103,6 +1110,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1103
1110
|
@Input() masked ! : boolean|string|MaskConfig;
|
|
1104
1111
|
@Input() monitorResize ! : boolean|object;
|
|
1105
1112
|
@Input() namedItems ! : Record<string, ChartContainerItemConfig>;
|
|
1113
|
+
@Input() overflowTwinConfig ! : OverflowTwinConfig|null;
|
|
1106
1114
|
@Input() positioned ! : boolean;
|
|
1107
1115
|
@Input() preventTooltipOnTouch ! : boolean;
|
|
1108
1116
|
@Input() relayStoreEvents ! : boolean;
|
|
@@ -1125,6 +1133,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1125
1133
|
@Input() animate ! : boolean;
|
|
1126
1134
|
@Input() animationDuration ! : number;
|
|
1127
1135
|
@Input() appendTo ! : HTMLElement|string;
|
|
1136
|
+
@Input() autoUpdateRecord ! : boolean;
|
|
1128
1137
|
@Input() axisColor ! : string;
|
|
1129
1138
|
@Input() axisLabelColor ! : string;
|
|
1130
1139
|
@Input() background ! : string;
|