@progress/kendo-angular-chart-wizard 16.6.2 → 16.6.3-develop.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/chart-wizard-state.d.ts +9 -2
- package/common/models.d.ts +6 -0
- package/esm2020/chart-wizard-state.mjs +27 -11
- package/esm2020/chart-wizard.component.mjs +10 -12
- package/esm2020/common/models.mjs +4 -1
- package/esm2020/grid-integration/grid-chart-wizard.directive.mjs +3 -6
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/property-pane/data-tab.component.mjs +7 -5
- package/esm2020/property-pane/form-field.component.mjs +6 -1
- package/esm2020/property-pane/format-tab.component.mjs +52 -19
- package/esm2020/series-type-button.component.mjs +2 -2
- package/esm2020/state.service.mjs +2 -1
- package/fesm2015/progress-kendo-angular-chart-wizard.mjs +115 -62
- package/fesm2020/progress-kendo-angular-chart-wizard.mjs +113 -59
- package/package.json +16 -16
- package/property-pane/form-field.component.d.ts +2 -1
- package/property-pane/format-tab.component.d.ts +10 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import * as i0 from '@angular/core';
|
6
|
-
import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, HostBinding, ViewChild, Directive,
|
6
|
+
import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, HostBinding, ViewChild, Directive, HostListener, NgModule } from '@angular/core';
|
7
7
|
import { shouldShowValidationUI, WatermarkOverlayComponent, isPresent, ResizeBatchService } from '@progress/kendo-angular-common';
|
8
8
|
import * as i2 from '@progress/kendo-angular-l10n';
|
9
9
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
@@ -34,8 +34,8 @@ const packageMetadata = {
|
|
34
34
|
name: '@progress/kendo-angular-chart-wizard',
|
35
35
|
productName: 'Kendo UI for Angular',
|
36
36
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
37
|
-
publishDate:
|
38
|
-
version: '16.6.2',
|
37
|
+
publishDate: 1723102230,
|
38
|
+
version: '16.6.3-develop.2',
|
39
39
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
40
40
|
};
|
41
41
|
|
@@ -77,6 +77,7 @@ const fontNames = [
|
|
77
77
|
* @hidden
|
78
78
|
*/
|
79
79
|
const rotations = [
|
80
|
+
{ text: 'Auto', value: 'auto' },
|
80
81
|
{ text: '0°', value: 0 },
|
81
82
|
{ text: '45°', value: 45 },
|
82
83
|
{ text: '90°', value: 90 },
|
@@ -123,10 +124,11 @@ const axesDefinitions = {
|
|
123
124
|
],
|
124
125
|
pie: [
|
125
126
|
{ axisType: 'category', types: categoryTypes },
|
126
|
-
{ axisType: 'value', types: valueTypes },
|
127
|
+
{ axisType: 'value', types: valueTypes, count: 1 },
|
127
128
|
],
|
128
129
|
scatter: [
|
129
|
-
{ axisType: '
|
130
|
+
{ axisType: 'category', types: categoryTypes },
|
131
|
+
{ axisType: 'value', types: valueTypes }
|
130
132
|
]
|
131
133
|
};
|
132
134
|
const getFont = (font, size) => `${size || ''} ${font || ''}`.trim();
|
@@ -183,10 +185,11 @@ const emptyState = () => structuredClone({
|
|
183
185
|
series: [],
|
184
186
|
initialSeries: [],
|
185
187
|
categoryAxis: [],
|
186
|
-
valueAxis: [{ labels: { visible: true } }],
|
188
|
+
valueAxis: [{ labels: { visible: true, rotation: 'auto' } }],
|
187
189
|
area: {
|
188
190
|
margin: { left: undefined, right: undefined, top: undefined, bottom: undefined }
|
189
191
|
},
|
192
|
+
stack: false
|
190
193
|
});
|
191
194
|
const categoryValueChartState = (data, seriesType, options) => {
|
192
195
|
const state = emptyState();
|
@@ -215,7 +218,7 @@ const categoryValueChartState = (data, seriesType, options) => {
|
|
215
218
|
data.forEach(record => {
|
216
219
|
valuesResult.push(record[index].value);
|
217
220
|
});
|
218
|
-
series.push(Object.assign({ name: valuesColumn.field, type: seriesType, data: valuesResult, stack: false, labels: { visible:
|
221
|
+
series.push(Object.assign({ name: valuesColumn.field, type: seriesType, data: valuesResult, stack: false, labels: { visible: false } }, (seriesType === scatterType ? scatterSeries : {})));
|
219
222
|
});
|
220
223
|
const categories = catIndex > -1 ? data.map(item => String(item[catIndex].value)) : [];
|
221
224
|
if (series.length) {
|
@@ -223,10 +226,10 @@ const categoryValueChartState = (data, seriesType, options) => {
|
|
223
226
|
state.initialSeries = structuredClone(state.series);
|
224
227
|
}
|
225
228
|
if (categories.length) {
|
226
|
-
state.categoryAxis = [{ categories, labels: { visible: true } }];
|
229
|
+
state.categoryAxis = [{ categories, labels: { visible: true, rotation: 'auto' } }];
|
227
230
|
state.categoryField = state.columns[catIndex];
|
228
231
|
}
|
229
|
-
state.legend = { visible: true };
|
232
|
+
state.legend = { visible: true, position: 'bottom' };
|
230
233
|
state.title = { text: null };
|
231
234
|
state.subtitle = { text: null };
|
232
235
|
return state;
|
@@ -286,6 +289,15 @@ const pieChartState = (data, seriesType, options) => {
|
|
286
289
|
state.initialSeries = structuredClone(state.series);
|
287
290
|
return state;
|
288
291
|
};
|
292
|
+
const hasValue = (value) => value !== undefined && value !== null;
|
293
|
+
/**
|
294
|
+
* @hidden
|
295
|
+
*/
|
296
|
+
const createInitialState = (data, seriesType, defaultState) => {
|
297
|
+
const state = createState(data, (defaultState === null || defaultState === void 0 ? void 0 : defaultState.seriesType) || seriesType);
|
298
|
+
return typeof (defaultState === null || defaultState === void 0 ? void 0 : defaultState.stack) !== 'undefined' ?
|
299
|
+
updateState(state, ActionTypes.stacked, defaultState.stack) : state;
|
300
|
+
};
|
289
301
|
/**
|
290
302
|
* @hidden
|
291
303
|
*/
|
@@ -355,7 +367,7 @@ const mergeStates = (state, newState) => {
|
|
355
367
|
newState.series[i].labels = state.series[i].labels;
|
356
368
|
}
|
357
369
|
}
|
358
|
-
if (state.series.every(s => { var _a; return (_a = s.labels) === null || _a === void 0 ? void 0 : _a.visible; })) {
|
370
|
+
if (state.series.every(s => { var _a; return (_a = s.labels) === null || _a === void 0 ? void 0 : _a.visible; }) && isCategorical(newState.seriesType) && isCategorical(state.seriesType)) {
|
359
371
|
newState.series.forEach(s => {
|
360
372
|
s.labels = s.labels || {};
|
361
373
|
s.labels.visible = true;
|
@@ -486,9 +498,11 @@ const updateState = (currentState, action, value) => {
|
|
486
498
|
case ActionTypes.categoryAxisLabelsColor:
|
487
499
|
state.categoryAxis = (_x = state.categoryAxis) === null || _x === void 0 ? void 0 : _x.map(axis => (Object.assign(Object.assign({}, axis), { labels: Object.assign(Object.assign({}, axis.labels), { color: value }) })));
|
488
500
|
return state;
|
489
|
-
case ActionTypes.categoryAxisLabelsRotation:
|
490
|
-
|
501
|
+
case ActionTypes.categoryAxisLabelsRotation: {
|
502
|
+
const rotation = hasValue(value) ? value : 'auto';
|
503
|
+
state.categoryAxis = (_y = state.categoryAxis) === null || _y === void 0 ? void 0 : _y.map(axis => (Object.assign(Object.assign({}, axis), { labels: Object.assign(Object.assign({}, axis.labels), { rotation }) })));
|
491
504
|
return state;
|
505
|
+
}
|
492
506
|
case ActionTypes.categoryAxisReverseOrder:
|
493
507
|
state.categoryAxis = (_z = state.categoryAxis) === null || _z === void 0 ? void 0 : _z.map(axis => (Object.assign(Object.assign({}, axis), { reverse: value })));
|
494
508
|
return state;
|
@@ -524,14 +538,21 @@ const updateState = (currentState, action, value) => {
|
|
524
538
|
case ActionTypes.valueAxisLabelsColor:
|
525
539
|
state.valueAxis = (_7 = state.valueAxis) === null || _7 === void 0 ? void 0 : _7.map(axis => (Object.assign(Object.assign({}, axis), { labels: Object.assign(Object.assign({}, axis.labels), { color: value }) })));
|
526
540
|
return state;
|
527
|
-
case ActionTypes.valueAxisLabelsRotation:
|
528
|
-
|
541
|
+
case ActionTypes.valueAxisLabelsRotation: {
|
542
|
+
const rotation = hasValue(value) ? value : 'auto';
|
543
|
+
state.valueAxis = (_8 = state.valueAxis) === null || _8 === void 0 ? void 0 : _8.map(axis => (Object.assign(Object.assign({}, axis), { labels: Object.assign(Object.assign({}, axis.labels), { rotation }) })));
|
529
544
|
return state;
|
545
|
+
}
|
530
546
|
default:
|
531
547
|
return state;
|
532
548
|
}
|
533
549
|
};
|
534
550
|
|
551
|
+
/**
|
552
|
+
* @hidden
|
553
|
+
*/
|
554
|
+
const defaultAllSeriesItem = { name: 'All Series' };
|
555
|
+
|
535
556
|
/**
|
536
557
|
* @hidden
|
537
558
|
*/
|
@@ -547,7 +568,7 @@ class StateService {
|
|
547
568
|
};
|
548
569
|
this.seriesType = 'bar';
|
549
570
|
this.currentTitle = 'Chart Title';
|
550
|
-
this.currentSeries =
|
571
|
+
this.currentSeries = defaultAllSeriesItem;
|
551
572
|
this.data = [];
|
552
573
|
this.deletedSeries = [];
|
553
574
|
this.direction = 'ltr';
|
@@ -571,6 +592,7 @@ class ChartWizardPropertyPaneFormFieldComponent {
|
|
571
592
|
this.colSpan = 1;
|
572
593
|
this.hasLabel = true;
|
573
594
|
this.isLabelInsideFormFieldWrap = false;
|
595
|
+
this.disabled = false;
|
574
596
|
this.valueChange = new EventEmitter();
|
575
597
|
this.formField = true;
|
576
598
|
}
|
@@ -598,7 +620,7 @@ class ChartWizardPropertyPaneFormFieldComponent {
|
|
598
620
|
}
|
599
621
|
}
|
600
622
|
ChartWizardPropertyPaneFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneFormFieldComponent, deps: [{ token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
601
|
-
ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneFormFieldComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-form-field", inputs: { currentState: "currentState", action: "action", class: "class", inputType: "inputType", text: "text", data: "data", placeholder: "placeholder", colSpan: "colSpan", hasLabel: "hasLabel", isLabelInsideFormFieldWrap: "isLabelInsideFormFieldWrap", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-form-field": "this.formField", "class.k-col-span-2": "this.isColSpan2" } }, viewQueries: [{ propertyName: "label", first: true, predicate: LabelComponent, descendants: true }, { propertyName: "numericTextBox", first: true, predicate: NumericTextBoxComponent, descendants: true }, { propertyName: "colorPicker", first: true, predicate: ColorPickerComponent, descendants: true }, { propertyName: "dropDownList", first: true, predicate: DropDownListComponent, descendants: true }, { propertyName: "textBox", first: true, predicate: TextBoxComponent, descendants: true }, { propertyName: "comboBox", first: true, predicate: ComboBoxComponent, descendants: true }, { propertyName: "checkBox", first: true, predicate: CheckBoxComponent, descendants: true }], ngImport: i0, template: `
|
623
|
+
ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneFormFieldComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-form-field", inputs: { currentState: "currentState", action: "action", class: "class", inputType: "inputType", text: "text", data: "data", placeholder: "placeholder", colSpan: "colSpan", hasLabel: "hasLabel", isLabelInsideFormFieldWrap: "isLabelInsideFormFieldWrap", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-form-field": "this.formField", "class.k-col-span-2": "this.isColSpan2" } }, viewQueries: [{ propertyName: "label", first: true, predicate: LabelComponent, descendants: true }, { propertyName: "numericTextBox", first: true, predicate: NumericTextBoxComponent, descendants: true }, { propertyName: "colorPicker", first: true, predicate: ColorPickerComponent, descendants: true }, { propertyName: "dropDownList", first: true, predicate: DropDownListComponent, descendants: true }, { propertyName: "textBox", first: true, predicate: TextBoxComponent, descendants: true }, { propertyName: "comboBox", first: true, predicate: ComboBoxComponent, descendants: true }, { propertyName: "checkBox", first: true, predicate: CheckBoxComponent, descendants: true }], ngImport: i0, template: `
|
602
624
|
<kendo-label *ngIf="hasLabel && !isLabelInsideFormFieldWrap" class="k-form-label" [text]="text"></kendo-label>
|
603
625
|
<div class="k-form-field-wrap">
|
604
626
|
<kendo-label
|
@@ -619,6 +641,7 @@ ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
619
641
|
fillMode="outline"
|
620
642
|
rounded="medium"
|
621
643
|
[value]="value"
|
644
|
+
[disabled]="disabled"
|
622
645
|
(valueChange)="valueChange.emit($event)"
|
623
646
|
></kendo-colorpicker>
|
624
647
|
<kendo-dropdownlist
|
@@ -688,6 +711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
688
711
|
fillMode="outline"
|
689
712
|
rounded="medium"
|
690
713
|
[value]="value"
|
714
|
+
[disabled]="disabled"
|
691
715
|
(valueChange)="valueChange.emit($event)"
|
692
716
|
></kendo-colorpicker>
|
693
717
|
<kendo-dropdownlist
|
@@ -765,6 +789,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
765
789
|
type: Input
|
766
790
|
}], value: [{
|
767
791
|
type: Input
|
792
|
+
}], disabled: [{
|
793
|
+
type: Input
|
768
794
|
}], valueChange: [{
|
769
795
|
type: Output
|
770
796
|
}], formField: [{
|
@@ -846,6 +872,7 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
846
872
|
this.valueAxisLabelsColor = ActionTypes.valueAxisLabelsColor;
|
847
873
|
this.valueAxisLabelsRotation = ActionTypes.valueAxisLabelsRotation;
|
848
874
|
this.parseFont = parseFont;
|
875
|
+
this.defaultAllSeriesItem = defaultAllSeriesItem;
|
849
876
|
this.fontNames = fontNames;
|
850
877
|
this.fontSizes = fontSizes;
|
851
878
|
this.legendPositions = positions;
|
@@ -887,6 +914,13 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
887
914
|
get chartTitleTypeFontSizeAction() {
|
888
915
|
return this.stateService.currentTitle === 'Chart Title' ? this.titleFontSize : this.subtitleFontSize;
|
889
916
|
}
|
917
|
+
get seriesData() {
|
918
|
+
return [defaultAllSeriesItem, ...this.stateService.state.series];
|
919
|
+
}
|
920
|
+
get showLabels() {
|
921
|
+
var _a, _b;
|
922
|
+
return this.stateService.currentSeries.name !== defaultAllSeriesItem.name ? (_b = (_a = this.stateService.state.series.find(s => s.name === this.stateService.currentSeries.name)) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b.visible : this.stateService.state.series.every(s => { var _a; return (_a = s.labels) === null || _a === void 0 ? void 0 : _a.visible; });
|
923
|
+
}
|
890
924
|
ngAfterViewChecked() {
|
891
925
|
this.localization.changes.subscribe(() => {
|
892
926
|
this.cdr.detectChanges();
|
@@ -896,6 +930,10 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
896
930
|
this.localization.changes.unsubscribe();
|
897
931
|
}
|
898
932
|
updateState(action, value) {
|
933
|
+
if (action === this.seriesLabel && this.stateService.currentSeries.name === defaultAllSeriesItem.name) {
|
934
|
+
this.stateService.state = updateState(this.stateService.state, action, { name: '', all: true, visible: value.labels.visible });
|
935
|
+
return;
|
936
|
+
}
|
899
937
|
this.stateService.state = updateState(this.stateService.state, action, value);
|
900
938
|
}
|
901
939
|
changeCurrentTitle(value) {
|
@@ -907,7 +945,12 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
907
945
|
this.updateState(this.seriesLabel, this.stateService.currentSeries);
|
908
946
|
}
|
909
947
|
updateCurrentSeries(value) {
|
910
|
-
|
948
|
+
if (value.name === defaultAllSeriesItem.name) {
|
949
|
+
this.stateService.currentSeries = defaultAllSeriesItem;
|
950
|
+
}
|
951
|
+
else {
|
952
|
+
this.stateService.currentSeries = this.stateService.state.series.find((series) => series.name === value.name);
|
953
|
+
}
|
911
954
|
}
|
912
955
|
updateSeriesColor(value) {
|
913
956
|
this.updateCurrentSeries(this.stateService.currentSeries);
|
@@ -927,6 +970,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVer
|
|
927
970
|
ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneDataTabComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-format-tab", ngImport: i0, template: `
|
928
971
|
<section>
|
929
972
|
<kendo-expansionpanel
|
973
|
+
[style.max-width.px]="576"
|
930
974
|
title="Chart Area"
|
931
975
|
[expanded]="isExpanded('Chart Area')"
|
932
976
|
(expandedChange)="onExpandedChange('Chart Area', $event)"
|
@@ -981,6 +1025,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
981
1025
|
</section>
|
982
1026
|
<section>
|
983
1027
|
<kendo-expansionpanel
|
1028
|
+
[style.max-width.px]="576"
|
984
1029
|
title="Title"
|
985
1030
|
[expanded]="isExpanded('Title')"
|
986
1031
|
(expandedChange)="onExpandedChange('Title', $event)"
|
@@ -1036,6 +1081,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1036
1081
|
</section>
|
1037
1082
|
<section>
|
1038
1083
|
<kendo-expansionpanel
|
1084
|
+
[style.max-width.px]="576"
|
1039
1085
|
title="Legend"
|
1040
1086
|
[expanded]="isExpanded('Legend')"
|
1041
1087
|
(expandedChange)="onExpandedChange('Legend', $event)"
|
@@ -1093,6 +1139,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1093
1139
|
</section>
|
1094
1140
|
<section>
|
1095
1141
|
<kendo-expansionpanel
|
1142
|
+
[style.max-width.px]="576"
|
1096
1143
|
title="Series"
|
1097
1144
|
[expanded]="isExpanded('Series')"
|
1098
1145
|
(expandedChange)="onExpandedChange('Series', $event)"
|
@@ -1103,7 +1150,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1103
1150
|
<div class="k-form-field-wrap">
|
1104
1151
|
<kendo-dropdownlist
|
1105
1152
|
#seriesDropDown
|
1106
|
-
[data]="
|
1153
|
+
[data]="seriesData"
|
1107
1154
|
textField="name"
|
1108
1155
|
valueField="name"
|
1109
1156
|
fillMode="outline"
|
@@ -1119,12 +1166,13 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1119
1166
|
text="Color"
|
1120
1167
|
[value]="stateService.currentSeries?.color"
|
1121
1168
|
inputType="colorPicker"
|
1169
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
1122
1170
|
(valueChange)="updateSeriesColor($event)"
|
1123
1171
|
>
|
1124
1172
|
</kendo-chartwizard-property-pane-form-field>
|
1125
1173
|
<kendo-chartwizard-property-pane-form-field
|
1126
1174
|
text="Show Labels"
|
1127
|
-
[value]="
|
1175
|
+
[value]="showLabels"
|
1128
1176
|
[isLabelInsideFormFieldWrap]="true"
|
1129
1177
|
inputType="checkbox"
|
1130
1178
|
(valueChange)="toggleSeriesLabels($event)"
|
@@ -1133,9 +1181,10 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1133
1181
|
</form>
|
1134
1182
|
</kendo-expansionpanel>
|
1135
1183
|
</section>
|
1136
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1184
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1137
1185
|
<kendo-expansionpanel
|
1138
|
-
|
1186
|
+
[style.max-width.px]="576"
|
1187
|
+
[title]="stateService.seriesType === 'scatter' ? 'X Axis' : 'Category axis'"
|
1139
1188
|
[expanded]="isExpanded('Category Axis')"
|
1140
1189
|
(expandedChange)="onExpandedChange('Category Axis', $event)"
|
1141
1190
|
>
|
@@ -1148,7 +1197,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1148
1197
|
[hasLabel]="false"
|
1149
1198
|
[colSpan]="2"
|
1150
1199
|
placeholder="Axis Title"
|
1151
|
-
[value]="stateService.state.categoryAxis[0]?.title?.text"
|
1200
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
1152
1201
|
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
1153
1202
|
>
|
1154
1203
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1231,9 +1280,10 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1231
1280
|
</form>
|
1232
1281
|
</kendo-expansionpanel>
|
1233
1282
|
</section>
|
1234
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1283
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1235
1284
|
<kendo-expansionpanel
|
1236
|
-
|
1285
|
+
[style.max-width.px]="576"
|
1286
|
+
[title]="stateService.seriesType === 'scatter' ? 'Y Axis' : 'Value axis'"
|
1237
1287
|
[expanded]="isExpanded('Value Axis')"
|
1238
1288
|
(expandedChange)="onExpandedChange('Value Axis', $event)"
|
1239
1289
|
>
|
@@ -1246,7 +1296,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1246
1296
|
[hasLabel]="false"
|
1247
1297
|
[colSpan]="2"
|
1248
1298
|
placeholder="Axis Title"
|
1249
|
-
[value]="stateService.state.valueAxis[0]?.title?.text"
|
1299
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
1250
1300
|
(valueChange)="updateState(valueAxisTitleText, $event)"
|
1251
1301
|
>
|
1252
1302
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1319,7 +1369,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1319
1369
|
</form>
|
1320
1370
|
</kendo-expansionpanel>
|
1321
1371
|
</section>
|
1322
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: ["title", "subtitle", "disabled", "expanded", "svgExpandIcon", "svgCollapseIcon", "expandIcon", "collapseIcon", "animation"], outputs: ["expandedChange", "action", "expand", "collapse"], exportAs: ["kendoExpansionPanel"] }, { kind: "component", type: ChartWizardPropertyPaneFormFieldComponent, selector: "kendo-chartwizard-property-pane-form-field", inputs: ["currentState", "action", "class", "inputType", "text", "data", "placeholder", "colSpan", "hasLabel", "isLabelInsideFormFieldWrap", "value"], outputs: ["valueChange"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: SwitchComponent, selector: "kendo-switch", inputs: ["focusableId", "onLabel", "offLabel", "checked", "disabled", "readonly", "tabindex", "size", "thumbRounded", "trackRounded", "tabIndex"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoSwitch"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1372
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: ["title", "subtitle", "disabled", "expanded", "svgExpandIcon", "svgCollapseIcon", "expandIcon", "collapseIcon", "animation"], outputs: ["expandedChange", "action", "expand", "collapse"], exportAs: ["kendoExpansionPanel"] }, { kind: "component", type: ChartWizardPropertyPaneFormFieldComponent, selector: "kendo-chartwizard-property-pane-form-field", inputs: ["currentState", "action", "class", "inputType", "text", "data", "placeholder", "colSpan", "hasLabel", "isLabelInsideFormFieldWrap", "value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: SwitchComponent, selector: "kendo-switch", inputs: ["focusableId", "onLabel", "offLabel", "checked", "disabled", "readonly", "tabindex", "size", "thumbRounded", "trackRounded", "tabIndex"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoSwitch"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1323
1373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneDataTabComponent, decorators: [{
|
1324
1374
|
type: Component,
|
1325
1375
|
args: [{
|
@@ -1328,6 +1378,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1328
1378
|
template: `
|
1329
1379
|
<section>
|
1330
1380
|
<kendo-expansionpanel
|
1381
|
+
[style.max-width.px]="576"
|
1331
1382
|
title="Chart Area"
|
1332
1383
|
[expanded]="isExpanded('Chart Area')"
|
1333
1384
|
(expandedChange)="onExpandedChange('Chart Area', $event)"
|
@@ -1382,6 +1433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1382
1433
|
</section>
|
1383
1434
|
<section>
|
1384
1435
|
<kendo-expansionpanel
|
1436
|
+
[style.max-width.px]="576"
|
1385
1437
|
title="Title"
|
1386
1438
|
[expanded]="isExpanded('Title')"
|
1387
1439
|
(expandedChange)="onExpandedChange('Title', $event)"
|
@@ -1437,6 +1489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1437
1489
|
</section>
|
1438
1490
|
<section>
|
1439
1491
|
<kendo-expansionpanel
|
1492
|
+
[style.max-width.px]="576"
|
1440
1493
|
title="Legend"
|
1441
1494
|
[expanded]="isExpanded('Legend')"
|
1442
1495
|
(expandedChange)="onExpandedChange('Legend', $event)"
|
@@ -1494,6 +1547,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1494
1547
|
</section>
|
1495
1548
|
<section>
|
1496
1549
|
<kendo-expansionpanel
|
1550
|
+
[style.max-width.px]="576"
|
1497
1551
|
title="Series"
|
1498
1552
|
[expanded]="isExpanded('Series')"
|
1499
1553
|
(expandedChange)="onExpandedChange('Series', $event)"
|
@@ -1504,7 +1558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1504
1558
|
<div class="k-form-field-wrap">
|
1505
1559
|
<kendo-dropdownlist
|
1506
1560
|
#seriesDropDown
|
1507
|
-
[data]="
|
1561
|
+
[data]="seriesData"
|
1508
1562
|
textField="name"
|
1509
1563
|
valueField="name"
|
1510
1564
|
fillMode="outline"
|
@@ -1520,12 +1574,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1520
1574
|
text="Color"
|
1521
1575
|
[value]="stateService.currentSeries?.color"
|
1522
1576
|
inputType="colorPicker"
|
1577
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
1523
1578
|
(valueChange)="updateSeriesColor($event)"
|
1524
1579
|
>
|
1525
1580
|
</kendo-chartwizard-property-pane-form-field>
|
1526
1581
|
<kendo-chartwizard-property-pane-form-field
|
1527
1582
|
text="Show Labels"
|
1528
|
-
[value]="
|
1583
|
+
[value]="showLabels"
|
1529
1584
|
[isLabelInsideFormFieldWrap]="true"
|
1530
1585
|
inputType="checkbox"
|
1531
1586
|
(valueChange)="toggleSeriesLabels($event)"
|
@@ -1534,9 +1589,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1534
1589
|
</form>
|
1535
1590
|
</kendo-expansionpanel>
|
1536
1591
|
</section>
|
1537
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1592
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1538
1593
|
<kendo-expansionpanel
|
1539
|
-
|
1594
|
+
[style.max-width.px]="576"
|
1595
|
+
[title]="stateService.seriesType === 'scatter' ? 'X Axis' : 'Category axis'"
|
1540
1596
|
[expanded]="isExpanded('Category Axis')"
|
1541
1597
|
(expandedChange)="onExpandedChange('Category Axis', $event)"
|
1542
1598
|
>
|
@@ -1549,7 +1605,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1549
1605
|
[hasLabel]="false"
|
1550
1606
|
[colSpan]="2"
|
1551
1607
|
placeholder="Axis Title"
|
1552
|
-
[value]="stateService.state.categoryAxis[0]?.title?.text"
|
1608
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
1553
1609
|
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
1554
1610
|
>
|
1555
1611
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1632,9 +1688,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1632
1688
|
</form>
|
1633
1689
|
</kendo-expansionpanel>
|
1634
1690
|
</section>
|
1635
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1691
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1636
1692
|
<kendo-expansionpanel
|
1637
|
-
|
1693
|
+
[style.max-width.px]="576"
|
1694
|
+
[title]="stateService.seriesType === 'scatter' ? 'Y Axis' : 'Value axis'"
|
1638
1695
|
[expanded]="isExpanded('Value Axis')"
|
1639
1696
|
(expandedChange)="onExpandedChange('Value Axis', $event)"
|
1640
1697
|
>
|
@@ -1647,7 +1704,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1647
1704
|
[hasLabel]="false"
|
1648
1705
|
[colSpan]="2"
|
1649
1706
|
placeholder="Axis Title"
|
1650
|
-
[value]="stateService.state.valueAxis[0]?.title?.text"
|
1707
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
1651
1708
|
(valueChange)="updateState(valueAxisTitleText, $event)"
|
1652
1709
|
>
|
1653
1710
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1727,7 +1784,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1727
1784
|
ChartWizardPropertyPaneFormFieldComponent,
|
1728
1785
|
LabelComponent,
|
1729
1786
|
SwitchComponent,
|
1730
|
-
DropDownListComponent
|
1787
|
+
DropDownListComponent,
|
1788
|
+
NgIf
|
1731
1789
|
]
|
1732
1790
|
}]
|
1733
1791
|
}], ctorParameters: function () { return [{ type: StateService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; } });
|
@@ -1791,7 +1849,6 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
1791
1849
|
rounded="medium"
|
1792
1850
|
size="medium"
|
1793
1851
|
>
|
1794
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1795
1852
|
</kendo-dropdownlist>
|
1796
1853
|
</fieldset>
|
1797
1854
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -1843,13 +1900,15 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
1843
1900
|
[data]="stateService.state.columns"
|
1844
1901
|
[value]="stateService.state.yField"
|
1845
1902
|
(valueChange)="updateState(valueAxisY, $event)"
|
1903
|
+
fillMode="outline"
|
1904
|
+
rounded="medium"
|
1905
|
+
size="medium"
|
1846
1906
|
>
|
1847
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1848
1907
|
</kendo-dropdownlist>
|
1849
1908
|
</fieldset>
|
1850
1909
|
</form>
|
1851
1910
|
</kendo-expansionpanel>
|
1852
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: ["title", "subtitle", "disabled", "expanded", "svgExpandIcon", "svgCollapseIcon", "expandIcon", "collapseIcon", "animation"], outputs: ["expandedChange", "action", "expand", "collapse"], exportAs: ["kendoExpansionPanel"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type:
|
1911
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: ["title", "subtitle", "disabled", "expanded", "svgExpandIcon", "svgCollapseIcon", "expandIcon", "collapseIcon", "animation"], outputs: ["expandedChange", "action", "expand", "collapse"], exportAs: ["kendoExpansionPanel"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: ReactiveEditingDirective, selector: "[kendoGridReactiveEditing]", inputs: ["kendoGridReactiveEditing"] }, { kind: "directive", type: DataBindingDirective, selector: "[kendoGridBinding]", inputs: ["skip", "sort", "filter", "pageSize", "group", "kendoGridBinding"], exportAs: ["kendoGridBinding"] }, { kind: "directive", type: ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: RowReorderColumnComponent, selector: "kendo-grid-rowreorder-column", inputs: ["dragHandleIcon", "dragHandleSVGIcon"] }, { kind: "component", type: ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "component", type: CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1853
1912
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneFormatTabComponent, decorators: [{
|
1854
1913
|
type: Component,
|
1855
1914
|
args: [{
|
@@ -1870,7 +1929,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1870
1929
|
rounded="medium"
|
1871
1930
|
size="medium"
|
1872
1931
|
>
|
1873
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1874
1932
|
</kendo-dropdownlist>
|
1875
1933
|
</fieldset>
|
1876
1934
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -1922,8 +1980,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1922
1980
|
[data]="stateService.state.columns"
|
1923
1981
|
[value]="stateService.state.yField"
|
1924
1982
|
(valueChange)="updateState(valueAxisY, $event)"
|
1983
|
+
fillMode="outline"
|
1984
|
+
rounded="medium"
|
1985
|
+
size="medium"
|
1925
1986
|
>
|
1926
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1927
1987
|
</kendo-dropdownlist>
|
1928
1988
|
</fieldset>
|
1929
1989
|
</form>
|
@@ -1968,12 +2028,12 @@ class ChartWizardSeriesTypeButtonComponent {
|
|
1968
2028
|
}
|
1969
2029
|
}
|
1970
2030
|
isSelected() {
|
1971
|
-
var _a, _b, _c;
|
2031
|
+
var _a, _b, _c, _d, _e;
|
1972
2032
|
if (((_a = this.stack) === null || _a === void 0 ? void 0 : _a.type) === '100%') {
|
1973
|
-
return ((_b = this.stack) === null || _b === void 0 ? void 0 : _b.type) === ((_c = this.stateService.state.series[0]
|
2033
|
+
return ((_b = this.stack) === null || _b === void 0 ? void 0 : _b.type) === ((_d = (_c = this.stateService.state.series[0]) === null || _c === void 0 ? void 0 : _c.stack) === null || _d === void 0 ? void 0 : _d.type);
|
1974
2034
|
}
|
1975
2035
|
return (this.stateService.state.seriesType === this.seriesType &&
|
1976
|
-
this.stateService.state.series[0].stack === this.stack);
|
2036
|
+
((_e = this.stateService.state.series[0]) === null || _e === void 0 ? void 0 : _e.stack) === this.stack);
|
1977
2037
|
}
|
1978
2038
|
}
|
1979
2039
|
ChartWizardSeriesTypeButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardSeriesTypeButtonComponent, deps: [{ token: StateService }], target: i0.ɵɵFactoryTarget.Component });
|
@@ -2480,7 +2540,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2480
2540
|
color: axis.title?.color
|
2481
2541
|
}"
|
2482
2542
|
[labels]="{
|
2483
|
-
rotation:
|
2543
|
+
rotation: axis.labels?.rotation,
|
2484
2544
|
font: axis.labels?.font,
|
2485
2545
|
color: axis.labels?.color
|
2486
2546
|
}"
|
@@ -2496,7 +2556,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2496
2556
|
color: axis.title?.color
|
2497
2557
|
}"
|
2498
2558
|
[labels]="{
|
2499
|
-
rotation:
|
2559
|
+
rotation: axis.labels?.rotation,
|
2500
2560
|
font: axis.labels?.font,
|
2501
2561
|
color: axis.labels?.color
|
2502
2562
|
}"
|
@@ -2515,8 +2575,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2515
2575
|
[name]="series.name"
|
2516
2576
|
[color]="series.color"
|
2517
2577
|
[labels]="{ visible: series.labels?.visible }"
|
2518
|
-
[
|
2519
|
-
[yField]="series.yField"
|
2578
|
+
[width]="series.width"
|
2520
2579
|
>
|
2521
2580
|
</kendo-chart-series-item>
|
2522
2581
|
</kendo-chart-series>
|
@@ -2530,7 +2589,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2530
2589
|
color: axis.title?.color
|
2531
2590
|
}"
|
2532
2591
|
[labels]="{
|
2533
|
-
rotation:
|
2592
|
+
rotation: axis.labels?.rotation,
|
2534
2593
|
font: axis.labels?.font,
|
2535
2594
|
color: axis.labels?.color
|
2536
2595
|
}"
|
@@ -2547,7 +2606,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2547
2606
|
color: axis.title?.color
|
2548
2607
|
}"
|
2549
2608
|
[labels]="{
|
2550
|
-
rotation:
|
2609
|
+
rotation: axis.labels?.rotation,
|
2551
2610
|
font: axis.labels?.font,
|
2552
2611
|
color: axis.labels?.color
|
2553
2612
|
}"
|
@@ -2656,7 +2715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2656
2715
|
color: axis.title?.color
|
2657
2716
|
}"
|
2658
2717
|
[labels]="{
|
2659
|
-
rotation:
|
2718
|
+
rotation: axis.labels?.rotation,
|
2660
2719
|
font: axis.labels?.font,
|
2661
2720
|
color: axis.labels?.color
|
2662
2721
|
}"
|
@@ -2672,7 +2731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2672
2731
|
color: axis.title?.color
|
2673
2732
|
}"
|
2674
2733
|
[labels]="{
|
2675
|
-
rotation:
|
2734
|
+
rotation: axis.labels?.rotation,
|
2676
2735
|
font: axis.labels?.font,
|
2677
2736
|
color: axis.labels?.color
|
2678
2737
|
}"
|
@@ -2691,8 +2750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2691
2750
|
[name]="series.name"
|
2692
2751
|
[color]="series.color"
|
2693
2752
|
[labels]="{ visible: series.labels?.visible }"
|
2694
|
-
[
|
2695
|
-
[yField]="series.yField"
|
2753
|
+
[width]="series.width"
|
2696
2754
|
>
|
2697
2755
|
</kendo-chart-series-item>
|
2698
2756
|
</kendo-chart-series>
|
@@ -2706,7 +2764,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2706
2764
|
color: axis.title?.color
|
2707
2765
|
}"
|
2708
2766
|
[labels]="{
|
2709
|
-
rotation:
|
2767
|
+
rotation: axis.labels?.rotation,
|
2710
2768
|
font: axis.labels?.font,
|
2711
2769
|
color: axis.labels?.color
|
2712
2770
|
}"
|
@@ -2723,7 +2781,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2723
2781
|
color: axis.title?.color
|
2724
2782
|
}"
|
2725
2783
|
[labels]="{
|
2726
|
-
rotation:
|
2784
|
+
rotation: axis.labels?.rotation,
|
2727
2785
|
font: axis.labels?.font,
|
2728
2786
|
color: axis.labels?.color
|
2729
2787
|
}"
|
@@ -2928,7 +2986,7 @@ class ChartWizardGridBindingDirective {
|
|
2928
2986
|
this.chartWizardDataChange.emit(this.chartWizardData);
|
2929
2987
|
}
|
2930
2988
|
}
|
2931
|
-
ChartWizardGridBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardGridBindingDirective, deps: [{ token: GridComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
2989
|
+
ChartWizardGridBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardGridBindingDirective, deps: [{ token: i1.GridComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
2932
2990
|
ChartWizardGridBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardGridBindingDirective, isStandalone: true, selector: "[kendoChartWizardGridBinding]", inputs: { chartWizardData: "chartWizardData", data: ["kendoGridBinding", "data"], selectionKey: ["kendoGridSelectBy", "selectionKey"], columnKey: "columnKey" }, outputs: { chartWizardDataChange: "chartWizardDataChange" }, host: { listeners: { "selectedKeysChange": "onSelectionChange($event)" } }, exportAs: ["kendoChartWizardGridBinding"], ngImport: i0 });
|
2933
2991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardGridBindingDirective, decorators: [{
|
2934
2992
|
type: Directive,
|
@@ -2937,12 +2995,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2937
2995
|
exportAs: 'kendoChartWizardGridBinding',
|
2938
2996
|
standalone: true
|
2939
2997
|
}]
|
2940
|
-
}], ctorParameters: function () {
|
2941
|
-
return [{ type: i1.GridComponent, decorators: [{
|
2942
|
-
type: Inject,
|
2943
|
-
args: [GridComponent]
|
2944
|
-
}] }];
|
2945
|
-
}, propDecorators: { chartWizardData: [{
|
2998
|
+
}], ctorParameters: function () { return [{ type: i1.GridComponent }]; }, propDecorators: { chartWizardData: [{
|
2946
2999
|
type: Input
|
2947
3000
|
}], chartWizardDataChange: [{
|
2948
3001
|
type: Output
|