@bryntum/chart-angular-thin 7.2.0 → 7.2.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/bundles/bryntum-chart-angular-thin.umd.js +9 -5
- package/bundles/bryntum-chart-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-chart.component.js +10 -6
- package/fesm2015/bryntum-chart-angular-thin.js +9 -5
- package/fesm2015/bryntum-chart-angular-thin.js.map +1 -1
- package/lib/bryntum-chart.component.d.ts +13 -6
- package/package.json +1 -1
- package/src/lib/bryntum-chart.component.ts +16 -7
|
@@ -73,14 +73,15 @@ export declare type BryntumChartProps = {
|
|
|
73
73
|
* The chart background color, or `null` for transparent.
|
|
74
74
|
*/
|
|
75
75
|
background?: string;
|
|
76
|
-
/**
|
|
77
|
-
* (Optional) The name of a field in the chart data to use as the background color for each data point.
|
|
78
|
-
*/
|
|
79
|
-
backgroundColorField?: string;
|
|
80
76
|
/**
|
|
81
77
|
* Layout direction for the bar chart type.
|
|
82
78
|
*/
|
|
83
79
|
barDirection?: 'vertical' | 'horizontal';
|
|
80
|
+
/**
|
|
81
|
+
* (Optional) For `'bar'` charts, the amount of the available bar area each bar in this series should occupy,
|
|
82
|
+
* from 0 to 1. Default: 0.9.
|
|
83
|
+
*/
|
|
84
|
+
barWidth?: number;
|
|
84
85
|
/**
|
|
85
86
|
* Set `true` to add a border to this container's element.
|
|
86
87
|
*/
|
|
@@ -247,6 +248,11 @@ export declare type BryntumChartProps = {
|
|
|
247
248
|
* The name of the record field containing the data for this series.
|
|
248
249
|
*/
|
|
249
250
|
field?: string;
|
|
251
|
+
/**
|
|
252
|
+
* (Optional) The name of a field in the chart data to use as the background color for each data element
|
|
253
|
+
* (e.g. bar).
|
|
254
|
+
*/
|
|
255
|
+
fillColorField?: string;
|
|
250
256
|
/**
|
|
251
257
|
* When this widget is a child of a [Container](https://bryntum.com/products/chart/docs/api/Core/widget/Container), it will by default be participating in a
|
|
252
258
|
* flexbox layout. This config allows you to set this widget's
|
|
@@ -836,8 +842,8 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
836
842
|
axisColor: string;
|
|
837
843
|
axisLabelColor: string;
|
|
838
844
|
background: string;
|
|
839
|
-
backgroundColorField: string;
|
|
840
845
|
barDirection: 'vertical' | 'horizontal';
|
|
846
|
+
barWidth: number;
|
|
841
847
|
bubbleScaleFactor: number;
|
|
842
848
|
callOnFunctions: boolean;
|
|
843
849
|
catchEventHandlerExceptions: boolean;
|
|
@@ -853,6 +859,7 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
853
859
|
disabled: boolean | 'inert';
|
|
854
860
|
extraData: any;
|
|
855
861
|
field: string;
|
|
862
|
+
fillColorField: string;
|
|
856
863
|
flex: number | string;
|
|
857
864
|
gridColor: string;
|
|
858
865
|
height: number | string;
|
|
@@ -1056,5 +1063,5 @@ export declare class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1056
1063
|
*/
|
|
1057
1064
|
ngOnDestroy(): void;
|
|
1058
1065
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumChartComponent, never>;
|
|
1059
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChartComponent, "bryntum-chart", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoUpdateRecord": "autoUpdateRecord"; "border": "border"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "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"; "owner": "owner"; "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"; "
|
|
1066
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChartComponent, "bryntum-chart", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoUpdateRecord": "autoUpdateRecord"; "border": "border"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "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"; "owner": "owner"; "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"; "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"; "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"; "anchorSize": "anchorSize"; "focusVisible": "focusVisible"; "hasChanges": "hasChanges"; "isSettingValues": "isSettingValues"; "isValid": "isValid"; "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>;
|
|
1060
1067
|
}
|
package/package.json
CHANGED
|
@@ -81,14 +81,15 @@ export type BryntumChartProps = {
|
|
|
81
81
|
* The chart background color, or `null` for transparent.
|
|
82
82
|
*/
|
|
83
83
|
background ? : string
|
|
84
|
-
/**
|
|
85
|
-
* (Optional) The name of a field in the chart data to use as the background color for each data point.
|
|
86
|
-
*/
|
|
87
|
-
backgroundColorField ? : string
|
|
88
84
|
/**
|
|
89
85
|
* Layout direction for the bar chart type.
|
|
90
86
|
*/
|
|
91
87
|
barDirection ? : 'vertical'|'horizontal'
|
|
88
|
+
/**
|
|
89
|
+
* (Optional) For `'bar'` charts, the amount of the available bar area each bar in this series should occupy,
|
|
90
|
+
* from 0 to 1. Default: 0.9.
|
|
91
|
+
*/
|
|
92
|
+
barWidth ? : number
|
|
92
93
|
/**
|
|
93
94
|
* Set `true` to add a border to this container's element.
|
|
94
95
|
*/
|
|
@@ -255,6 +256,11 @@ export type BryntumChartProps = {
|
|
|
255
256
|
* The name of the record field containing the data for this series.
|
|
256
257
|
*/
|
|
257
258
|
field ? : string
|
|
259
|
+
/**
|
|
260
|
+
* (Optional) The name of a field in the chart data to use as the background color for each data element
|
|
261
|
+
* (e.g. bar).
|
|
262
|
+
*/
|
|
263
|
+
fillColorField ? : string
|
|
258
264
|
/**
|
|
259
265
|
* When this widget is a child of a [Container](https://bryntum.com/products/chart/docs/api/Core/widget/Container), it will by default be participating in a
|
|
260
266
|
* flexbox layout. This config allows you to set this widget's
|
|
@@ -812,8 +818,8 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
812
818
|
'axisColor',
|
|
813
819
|
'axisLabelColor',
|
|
814
820
|
'background',
|
|
815
|
-
'backgroundColorField',
|
|
816
821
|
'barDirection',
|
|
822
|
+
'barWidth',
|
|
817
823
|
'border',
|
|
818
824
|
'bubbleEvents',
|
|
819
825
|
'bubbleScaleFactor',
|
|
@@ -844,6 +850,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
844
850
|
'elementAttributes',
|
|
845
851
|
'extraData',
|
|
846
852
|
'field',
|
|
853
|
+
'fillColorField',
|
|
847
854
|
'flex',
|
|
848
855
|
'floating',
|
|
849
856
|
'gridColor',
|
|
@@ -1004,8 +1011,8 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1004
1011
|
'axisColor',
|
|
1005
1012
|
'axisLabelColor',
|
|
1006
1013
|
'background',
|
|
1007
|
-
'backgroundColorField',
|
|
1008
1014
|
'barDirection',
|
|
1015
|
+
'barWidth',
|
|
1009
1016
|
'bubbleScaleFactor',
|
|
1010
1017
|
'callOnFunctions',
|
|
1011
1018
|
'catchEventHandlerExceptions',
|
|
@@ -1021,6 +1028,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1021
1028
|
'disabled',
|
|
1022
1029
|
'extraData',
|
|
1023
1030
|
'field',
|
|
1031
|
+
'fillColorField',
|
|
1024
1032
|
'flex',
|
|
1025
1033
|
'focusVisible',
|
|
1026
1034
|
'gridColor',
|
|
@@ -1178,8 +1186,8 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1178
1186
|
@Input() axisColor ! : string;
|
|
1179
1187
|
@Input() axisLabelColor ! : string;
|
|
1180
1188
|
@Input() background ! : string;
|
|
1181
|
-
@Input() backgroundColorField ! : string;
|
|
1182
1189
|
@Input() barDirection ! : 'vertical'|'horizontal';
|
|
1190
|
+
@Input() barWidth ! : number;
|
|
1183
1191
|
@Input() bubbleScaleFactor ! : number;
|
|
1184
1192
|
@Input() callOnFunctions ! : boolean;
|
|
1185
1193
|
@Input() catchEventHandlerExceptions ! : boolean;
|
|
@@ -1195,6 +1203,7 @@ export class BryntumChartComponent implements OnInit, OnDestroy {
|
|
|
1195
1203
|
@Input() disabled ! : boolean|'inert';
|
|
1196
1204
|
@Input() extraData ! : any;
|
|
1197
1205
|
@Input() field ! : string;
|
|
1206
|
+
@Input() fillColorField ! : string;
|
|
1198
1207
|
@Input() flex ! : number|string;
|
|
1199
1208
|
@Input() gridColor ! : string;
|
|
1200
1209
|
@Input() height ! : number|string;
|