@progress/kendo-angular-chart-wizard 16.6.3-develop.1 → 16.7.0-develop.1
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 +20 -0
- package/esm2020/chart-wizard-state.mjs +27 -11
- package/esm2020/chart-wizard.component.mjs +14 -14
- package/esm2020/common/models.mjs +20 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/property-pane/chart-tab.component.mjs +10 -13
- 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 +87 -51
- package/esm2020/state.service.mjs +2 -1
- package/fesm2015/progress-kendo-angular-chart-wizard.mjs +175 -98
- package/fesm2020/progress-kendo-angular-chart-wizard.mjs +173 -98
- package/package.json +16 -16
- package/property-pane/chart-tab.component.d.ts +0 -1
- package/property-pane/form-field.component.d.ts +2 -1
- package/property-pane/format-tab.component.d.ts +16 -5
- package/state.service.d.ts +0 -2
@@ -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.
|
37
|
+
publishDate: 1723113566,
|
38
|
+
version: '16.7.0-develop.1',
|
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,37 @@ 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
|
+
/**
|
556
|
+
* @hidden
|
557
|
+
*/
|
558
|
+
const defaultFormat = {
|
559
|
+
value: '',
|
560
|
+
text: 'Text'
|
561
|
+
};
|
562
|
+
/**
|
563
|
+
* @hidden
|
564
|
+
*/
|
565
|
+
const labelFormats = [
|
566
|
+
defaultFormat,
|
567
|
+
{ value: 'n0', text: 'Number' },
|
568
|
+
{ value: 'c0', text: 'Currency' },
|
569
|
+
{ value: 'p0', text: 'Percent' }
|
570
|
+
];
|
571
|
+
|
535
572
|
/**
|
536
573
|
* @hidden
|
537
574
|
*/
|
@@ -547,7 +584,7 @@ class StateService {
|
|
547
584
|
};
|
548
585
|
this.seriesType = 'bar';
|
549
586
|
this.currentTitle = 'Chart Title';
|
550
|
-
this.currentSeries =
|
587
|
+
this.currentSeries = defaultAllSeriesItem;
|
551
588
|
this.data = [];
|
552
589
|
this.deletedSeries = [];
|
553
590
|
this.direction = 'ltr';
|
@@ -571,6 +608,7 @@ class ChartWizardPropertyPaneFormFieldComponent {
|
|
571
608
|
this.colSpan = 1;
|
572
609
|
this.hasLabel = true;
|
573
610
|
this.isLabelInsideFormFieldWrap = false;
|
611
|
+
this.disabled = false;
|
574
612
|
this.valueChange = new EventEmitter();
|
575
613
|
this.formField = true;
|
576
614
|
}
|
@@ -598,7 +636,7 @@ class ChartWizardPropertyPaneFormFieldComponent {
|
|
598
636
|
}
|
599
637
|
}
|
600
638
|
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: `
|
639
|
+
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
640
|
<kendo-label *ngIf="hasLabel && !isLabelInsideFormFieldWrap" class="k-form-label" [text]="text"></kendo-label>
|
603
641
|
<div class="k-form-field-wrap">
|
604
642
|
<kendo-label
|
@@ -619,6 +657,7 @@ ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
619
657
|
fillMode="outline"
|
620
658
|
rounded="medium"
|
621
659
|
[value]="value"
|
660
|
+
[disabled]="disabled"
|
622
661
|
(valueChange)="valueChange.emit($event)"
|
623
662
|
></kendo-colorpicker>
|
624
663
|
<kendo-dropdownlist
|
@@ -688,6 +727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
688
727
|
fillMode="outline"
|
689
728
|
rounded="medium"
|
690
729
|
[value]="value"
|
730
|
+
[disabled]="disabled"
|
691
731
|
(valueChange)="valueChange.emit($event)"
|
692
732
|
></kendo-colorpicker>
|
693
733
|
<kendo-dropdownlist
|
@@ -765,6 +805,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
765
805
|
type: Input
|
766
806
|
}], value: [{
|
767
807
|
type: Input
|
808
|
+
}], disabled: [{
|
809
|
+
type: Input
|
768
810
|
}], valueChange: [{
|
769
811
|
type: Output
|
770
812
|
}], formField: [{
|
@@ -842,10 +884,13 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
842
884
|
this.valueAxisTitleFontSize = ActionTypes.valueAxisTitleFontSize;
|
843
885
|
this.valueAxisTitleColor = ActionTypes.valueAxisTitleColor;
|
844
886
|
this.valueAxisLabelsFontName = ActionTypes.valueAxisLabelsFontName;
|
887
|
+
this.valueAxisLabelsFormat = ActionTypes.valueAxisLabelsFormat;
|
845
888
|
this.valueAxisLabelsFontSize = ActionTypes.valueAxisLabelsFontSize;
|
846
889
|
this.valueAxisLabelsColor = ActionTypes.valueAxisLabelsColor;
|
847
890
|
this.valueAxisLabelsRotation = ActionTypes.valueAxisLabelsRotation;
|
848
891
|
this.parseFont = parseFont;
|
892
|
+
this.labelFormats = labelFormats;
|
893
|
+
this.defaultAllSeriesItem = defaultAllSeriesItem;
|
849
894
|
this.fontNames = fontNames;
|
850
895
|
this.fontSizes = fontSizes;
|
851
896
|
this.legendPositions = positions;
|
@@ -887,6 +932,17 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
887
932
|
get chartTitleTypeFontSizeAction() {
|
888
933
|
return this.stateService.currentTitle === 'Chart Title' ? this.titleFontSize : this.subtitleFontSize;
|
889
934
|
}
|
935
|
+
get seriesData() {
|
936
|
+
return [defaultAllSeriesItem, ...this.stateService.state.series];
|
937
|
+
}
|
938
|
+
get showLabels() {
|
939
|
+
var _a, _b;
|
940
|
+
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; });
|
941
|
+
}
|
942
|
+
get labelFormatValue() {
|
943
|
+
var _a;
|
944
|
+
return ((_a = labelFormats.find(f => { var _a, _b; return f.value === ((_b = (_a = this.stateService.state.valueAxis[0]) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b.format); })) === null || _a === void 0 ? void 0 : _a.value) || defaultFormat.value;
|
945
|
+
}
|
890
946
|
ngAfterViewChecked() {
|
891
947
|
this.localization.changes.subscribe(() => {
|
892
948
|
this.cdr.detectChanges();
|
@@ -896,6 +952,10 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
896
952
|
this.localization.changes.unsubscribe();
|
897
953
|
}
|
898
954
|
updateState(action, value) {
|
955
|
+
if (action === this.seriesLabel && this.stateService.currentSeries.name === defaultAllSeriesItem.name) {
|
956
|
+
this.stateService.state = updateState(this.stateService.state, action, { name: '', all: true, visible: value.labels.visible });
|
957
|
+
return;
|
958
|
+
}
|
899
959
|
this.stateService.state = updateState(this.stateService.state, action, value);
|
900
960
|
}
|
901
961
|
changeCurrentTitle(value) {
|
@@ -907,29 +967,26 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
907
967
|
this.updateState(this.seriesLabel, this.stateService.currentSeries);
|
908
968
|
}
|
909
969
|
updateCurrentSeries(value) {
|
910
|
-
|
970
|
+
if (value.name === defaultAllSeriesItem.name) {
|
971
|
+
this.stateService.currentSeries = defaultAllSeriesItem;
|
972
|
+
}
|
973
|
+
else {
|
974
|
+
this.stateService.currentSeries = this.stateService.state.series.find((series) => series.name === value.name);
|
975
|
+
}
|
911
976
|
}
|
912
977
|
updateSeriesColor(value) {
|
913
978
|
this.updateCurrentSeries(this.stateService.currentSeries);
|
914
979
|
this.stateService.currentSeries.color = value;
|
915
980
|
this.updateState(this.seriesColor, this.stateService.currentSeries);
|
916
981
|
}
|
917
|
-
onExpandedChange(panel, expanded) {
|
918
|
-
expanded
|
919
|
-
? (this.stateService.currentFormatExpansionPanel = panel)
|
920
|
-
: (this.stateService.currentFormatExpansionPanel = null);
|
921
|
-
}
|
922
|
-
isExpanded(panel) {
|
923
|
-
return this.stateService.currentFormatExpansionPanel === panel;
|
924
|
-
}
|
925
982
|
}
|
926
983
|
ChartWizardPropertyPaneDataTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneDataTabComponent, deps: [{ token: StateService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
927
984
|
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
985
|
<section>
|
929
986
|
<kendo-expansionpanel
|
987
|
+
[style.max-width.px]="576"
|
930
988
|
title="Chart Area"
|
931
|
-
[expanded]="
|
932
|
-
(expandedChange)="onExpandedChange('Chart Area', $event)"
|
989
|
+
[expanded]="true"
|
933
990
|
[attr.dir]="stateService.direction"
|
934
991
|
>
|
935
992
|
<form class="k-form k-form-md">
|
@@ -981,9 +1038,9 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
981
1038
|
</section>
|
982
1039
|
<section>
|
983
1040
|
<kendo-expansionpanel
|
1041
|
+
[style.max-width.px]="576"
|
984
1042
|
title="Title"
|
985
|
-
[expanded]="
|
986
|
-
(expandedChange)="onExpandedChange('Title', $event)"
|
1043
|
+
[expanded]="true"
|
987
1044
|
>
|
988
1045
|
<form class="k-form k-form-md">
|
989
1046
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1036,9 +1093,9 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1036
1093
|
</section>
|
1037
1094
|
<section>
|
1038
1095
|
<kendo-expansionpanel
|
1096
|
+
[style.max-width.px]="576"
|
1039
1097
|
title="Legend"
|
1040
|
-
[expanded]="
|
1041
|
-
(expandedChange)="onExpandedChange('Legend', $event)"
|
1098
|
+
[expanded]="true"
|
1042
1099
|
>
|
1043
1100
|
<form class="k-form k-form-md">
|
1044
1101
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1093,9 +1150,9 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1093
1150
|
</section>
|
1094
1151
|
<section>
|
1095
1152
|
<kendo-expansionpanel
|
1153
|
+
[style.max-width.px]="576"
|
1096
1154
|
title="Series"
|
1097
|
-
[expanded]="
|
1098
|
-
(expandedChange)="onExpandedChange('Series', $event)"
|
1155
|
+
[expanded]="true"
|
1099
1156
|
>
|
1100
1157
|
<form class="k-form k-form-md">
|
1101
1158
|
<div class="k-form-field">
|
@@ -1103,7 +1160,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1103
1160
|
<div class="k-form-field-wrap">
|
1104
1161
|
<kendo-dropdownlist
|
1105
1162
|
#seriesDropDown
|
1106
|
-
[data]="
|
1163
|
+
[data]="seriesData"
|
1107
1164
|
textField="name"
|
1108
1165
|
valueField="name"
|
1109
1166
|
fillMode="outline"
|
@@ -1119,12 +1176,13 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1119
1176
|
text="Color"
|
1120
1177
|
[value]="stateService.currentSeries?.color"
|
1121
1178
|
inputType="colorPicker"
|
1179
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
1122
1180
|
(valueChange)="updateSeriesColor($event)"
|
1123
1181
|
>
|
1124
1182
|
</kendo-chartwizard-property-pane-form-field>
|
1125
1183
|
<kendo-chartwizard-property-pane-form-field
|
1126
1184
|
text="Show Labels"
|
1127
|
-
[value]="
|
1185
|
+
[value]="showLabels"
|
1128
1186
|
[isLabelInsideFormFieldWrap]="true"
|
1129
1187
|
inputType="checkbox"
|
1130
1188
|
(valueChange)="toggleSeriesLabels($event)"
|
@@ -1133,11 +1191,11 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1133
1191
|
</form>
|
1134
1192
|
</kendo-expansionpanel>
|
1135
1193
|
</section>
|
1136
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1194
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1137
1195
|
<kendo-expansionpanel
|
1138
|
-
|
1139
|
-
[
|
1140
|
-
|
1196
|
+
[style.max-width.px]="576"
|
1197
|
+
[title]="stateService.seriesType === 'scatter' ? 'X Axis' : 'Category axis'"
|
1198
|
+
[expanded]="true"
|
1141
1199
|
>
|
1142
1200
|
<form class="k-form k-form-md">
|
1143
1201
|
<fieldset class="k-form-fieldset">
|
@@ -1148,7 +1206,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1148
1206
|
[hasLabel]="false"
|
1149
1207
|
[colSpan]="2"
|
1150
1208
|
placeholder="Axis Title"
|
1151
|
-
[value]="stateService.state.categoryAxis[0]?.title?.text"
|
1209
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
1152
1210
|
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
1153
1211
|
>
|
1154
1212
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1231,11 +1289,11 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1231
1289
|
</form>
|
1232
1290
|
</kendo-expansionpanel>
|
1233
1291
|
</section>
|
1234
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1292
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1235
1293
|
<kendo-expansionpanel
|
1236
|
-
|
1237
|
-
[
|
1238
|
-
|
1294
|
+
[style.max-width.px]="576"
|
1295
|
+
[title]="stateService.seriesType === 'scatter' ? 'Y Axis' : 'Value axis'"
|
1296
|
+
[expanded]="true"
|
1239
1297
|
>
|
1240
1298
|
<form class="k-form k-form-md">
|
1241
1299
|
<fieldset class="k-form-fieldset">
|
@@ -1246,7 +1304,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1246
1304
|
[hasLabel]="false"
|
1247
1305
|
[colSpan]="2"
|
1248
1306
|
placeholder="Axis Title"
|
1249
|
-
[value]="stateService.state.valueAxis[0]?.title?.text"
|
1307
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
1250
1308
|
(valueChange)="updateState(valueAxisTitleText, $event)"
|
1251
1309
|
>
|
1252
1310
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1281,6 +1339,15 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1281
1339
|
<fieldset class="k-form-fieldset">
|
1282
1340
|
<legend class="k-form-legend">Labels</legend>
|
1283
1341
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
1342
|
+
<kendo-chartwizard-property-pane-form-field
|
1343
|
+
text="Label Format"
|
1344
|
+
[colSpan]="2"
|
1345
|
+
inputType="dropDownList"
|
1346
|
+
[data]="labelFormats"
|
1347
|
+
[value]="labelFormatValue"
|
1348
|
+
(valueChange)="updateState(valueAxisLabelsFormat, $event)"
|
1349
|
+
>
|
1350
|
+
</kendo-chartwizard-property-pane-form-field>
|
1284
1351
|
<kendo-chartwizard-property-pane-form-field
|
1285
1352
|
text="Font"
|
1286
1353
|
inputType="comboBox"
|
@@ -1319,7 +1386,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1319
1386
|
</form>
|
1320
1387
|
</kendo-expansionpanel>
|
1321
1388
|
</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 });
|
1389
|
+
`, 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
1390
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneDataTabComponent, decorators: [{
|
1324
1391
|
type: Component,
|
1325
1392
|
args: [{
|
@@ -1328,9 +1395,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1328
1395
|
template: `
|
1329
1396
|
<section>
|
1330
1397
|
<kendo-expansionpanel
|
1398
|
+
[style.max-width.px]="576"
|
1331
1399
|
title="Chart Area"
|
1332
|
-
[expanded]="
|
1333
|
-
(expandedChange)="onExpandedChange('Chart Area', $event)"
|
1400
|
+
[expanded]="true"
|
1334
1401
|
[attr.dir]="stateService.direction"
|
1335
1402
|
>
|
1336
1403
|
<form class="k-form k-form-md">
|
@@ -1382,9 +1449,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1382
1449
|
</section>
|
1383
1450
|
<section>
|
1384
1451
|
<kendo-expansionpanel
|
1452
|
+
[style.max-width.px]="576"
|
1385
1453
|
title="Title"
|
1386
|
-
[expanded]="
|
1387
|
-
(expandedChange)="onExpandedChange('Title', $event)"
|
1454
|
+
[expanded]="true"
|
1388
1455
|
>
|
1389
1456
|
<form class="k-form k-form-md">
|
1390
1457
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1437,9 +1504,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1437
1504
|
</section>
|
1438
1505
|
<section>
|
1439
1506
|
<kendo-expansionpanel
|
1507
|
+
[style.max-width.px]="576"
|
1440
1508
|
title="Legend"
|
1441
|
-
[expanded]="
|
1442
|
-
(expandedChange)="onExpandedChange('Legend', $event)"
|
1509
|
+
[expanded]="true"
|
1443
1510
|
>
|
1444
1511
|
<form class="k-form k-form-md">
|
1445
1512
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1494,9 +1561,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1494
1561
|
</section>
|
1495
1562
|
<section>
|
1496
1563
|
<kendo-expansionpanel
|
1564
|
+
[style.max-width.px]="576"
|
1497
1565
|
title="Series"
|
1498
|
-
[expanded]="
|
1499
|
-
(expandedChange)="onExpandedChange('Series', $event)"
|
1566
|
+
[expanded]="true"
|
1500
1567
|
>
|
1501
1568
|
<form class="k-form k-form-md">
|
1502
1569
|
<div class="k-form-field">
|
@@ -1504,7 +1571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1504
1571
|
<div class="k-form-field-wrap">
|
1505
1572
|
<kendo-dropdownlist
|
1506
1573
|
#seriesDropDown
|
1507
|
-
[data]="
|
1574
|
+
[data]="seriesData"
|
1508
1575
|
textField="name"
|
1509
1576
|
valueField="name"
|
1510
1577
|
fillMode="outline"
|
@@ -1520,12 +1587,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1520
1587
|
text="Color"
|
1521
1588
|
[value]="stateService.currentSeries?.color"
|
1522
1589
|
inputType="colorPicker"
|
1590
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
1523
1591
|
(valueChange)="updateSeriesColor($event)"
|
1524
1592
|
>
|
1525
1593
|
</kendo-chartwizard-property-pane-form-field>
|
1526
1594
|
<kendo-chartwizard-property-pane-form-field
|
1527
1595
|
text="Show Labels"
|
1528
|
-
[value]="
|
1596
|
+
[value]="showLabels"
|
1529
1597
|
[isLabelInsideFormFieldWrap]="true"
|
1530
1598
|
inputType="checkbox"
|
1531
1599
|
(valueChange)="toggleSeriesLabels($event)"
|
@@ -1534,11 +1602,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1534
1602
|
</form>
|
1535
1603
|
</kendo-expansionpanel>
|
1536
1604
|
</section>
|
1537
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1605
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-3">
|
1538
1606
|
<kendo-expansionpanel
|
1539
|
-
|
1540
|
-
[
|
1541
|
-
|
1607
|
+
[style.max-width.px]="576"
|
1608
|
+
[title]="stateService.seriesType === 'scatter' ? 'X Axis' : 'Category axis'"
|
1609
|
+
[expanded]="true"
|
1542
1610
|
>
|
1543
1611
|
<form class="k-form k-form-md">
|
1544
1612
|
<fieldset class="k-form-fieldset">
|
@@ -1549,7 +1617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1549
1617
|
[hasLabel]="false"
|
1550
1618
|
[colSpan]="2"
|
1551
1619
|
placeholder="Axis Title"
|
1552
|
-
[value]="stateService.state.categoryAxis[0]?.title?.text"
|
1620
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
1553
1621
|
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
1554
1622
|
>
|
1555
1623
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1632,11 +1700,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1632
1700
|
</form>
|
1633
1701
|
</kendo-expansionpanel>
|
1634
1702
|
</section>
|
1635
|
-
<section class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1703
|
+
<section *ngIf="stateService.seriesType !== 'pie'" class="k-row-start-1 k-row-end-3 k-col-start-4">
|
1636
1704
|
<kendo-expansionpanel
|
1637
|
-
|
1638
|
-
[
|
1639
|
-
|
1705
|
+
[style.max-width.px]="576"
|
1706
|
+
[title]="stateService.seriesType === 'scatter' ? 'Y Axis' : 'Value axis'"
|
1707
|
+
[expanded]="true"
|
1640
1708
|
>
|
1641
1709
|
<form class="k-form k-form-md">
|
1642
1710
|
<fieldset class="k-form-fieldset">
|
@@ -1647,7 +1715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1647
1715
|
[hasLabel]="false"
|
1648
1716
|
[colSpan]="2"
|
1649
1717
|
placeholder="Axis Title"
|
1650
|
-
[value]="stateService.state.valueAxis[0]?.title?.text"
|
1718
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
1651
1719
|
(valueChange)="updateState(valueAxisTitleText, $event)"
|
1652
1720
|
>
|
1653
1721
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1682,6 +1750,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1682
1750
|
<fieldset class="k-form-fieldset">
|
1683
1751
|
<legend class="k-form-legend">Labels</legend>
|
1684
1752
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
1753
|
+
<kendo-chartwizard-property-pane-form-field
|
1754
|
+
text="Label Format"
|
1755
|
+
[colSpan]="2"
|
1756
|
+
inputType="dropDownList"
|
1757
|
+
[data]="labelFormats"
|
1758
|
+
[value]="labelFormatValue"
|
1759
|
+
(valueChange)="updateState(valueAxisLabelsFormat, $event)"
|
1760
|
+
>
|
1761
|
+
</kendo-chartwizard-property-pane-form-field>
|
1685
1762
|
<kendo-chartwizard-property-pane-form-field
|
1686
1763
|
text="Font"
|
1687
1764
|
inputType="comboBox"
|
@@ -1727,7 +1804,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1727
1804
|
ChartWizardPropertyPaneFormFieldComponent,
|
1728
1805
|
LabelComponent,
|
1729
1806
|
SwitchComponent,
|
1730
|
-
DropDownListComponent
|
1807
|
+
DropDownListComponent,
|
1808
|
+
NgIf
|
1731
1809
|
]
|
1732
1810
|
}]
|
1733
1811
|
}], ctorParameters: function () { return [{ type: StateService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; } });
|
@@ -1791,7 +1869,6 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
1791
1869
|
rounded="medium"
|
1792
1870
|
size="medium"
|
1793
1871
|
>
|
1794
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1795
1872
|
</kendo-dropdownlist>
|
1796
1873
|
</fieldset>
|
1797
1874
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -1843,13 +1920,15 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
1843
1920
|
[data]="stateService.state.columns"
|
1844
1921
|
[value]="stateService.state.yField"
|
1845
1922
|
(valueChange)="updateState(valueAxisY, $event)"
|
1923
|
+
fillMode="outline"
|
1924
|
+
rounded="medium"
|
1925
|
+
size="medium"
|
1846
1926
|
>
|
1847
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1848
1927
|
</kendo-dropdownlist>
|
1849
1928
|
</fieldset>
|
1850
1929
|
</form>
|
1851
1930
|
</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:
|
1931
|
+
`, 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
1932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneFormatTabComponent, decorators: [{
|
1854
1933
|
type: Component,
|
1855
1934
|
args: [{
|
@@ -1870,7 +1949,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1870
1949
|
rounded="medium"
|
1871
1950
|
size="medium"
|
1872
1951
|
>
|
1873
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1874
1952
|
</kendo-dropdownlist>
|
1875
1953
|
</fieldset>
|
1876
1954
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -1922,8 +2000,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1922
2000
|
[data]="stateService.state.columns"
|
1923
2001
|
[value]="stateService.state.yField"
|
1924
2002
|
(valueChange)="updateState(valueAxisY, $event)"
|
2003
|
+
fillMode="outline"
|
2004
|
+
rounded="medium"
|
2005
|
+
size="medium"
|
1925
2006
|
>
|
1926
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1927
2007
|
</kendo-dropdownlist>
|
1928
2008
|
</fieldset>
|
1929
2009
|
</form>
|
@@ -2031,9 +2111,6 @@ class ChartWizardPropertyPaneChartTabComponent {
|
|
2031
2111
|
this.chartLineStacked100Icon = chartLineStacked100Icon;
|
2032
2112
|
this.chartScatterIcon = chartScatterIcon;
|
2033
2113
|
}
|
2034
|
-
isExpanded(type) {
|
2035
|
-
return this.stateService.state.seriesType === type;
|
2036
|
-
}
|
2037
2114
|
ngAfterViewChecked() {
|
2038
2115
|
this.localization.changes.subscribe(() => {
|
2039
2116
|
this.detectChanges();
|
@@ -2048,7 +2125,7 @@ class ChartWizardPropertyPaneChartTabComponent {
|
|
2048
2125
|
}
|
2049
2126
|
ChartWizardPropertyPaneChartTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneChartTabComponent, deps: [{ token: StateService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
2050
2127
|
ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneChartTabComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-chart-tab", ngImport: i0, template: `
|
2051
|
-
<kendo-expansionpanel title="Bar Chart" [expanded]="
|
2128
|
+
<kendo-expansionpanel title="Bar Chart" [expanded]="true">
|
2052
2129
|
<div class="k-chart-types-wrapper">
|
2053
2130
|
<kendo-chartwizard-series-type-button
|
2054
2131
|
title="Bar"
|
@@ -2073,7 +2150,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2073
2150
|
</kendo-chartwizard-series-type-button>
|
2074
2151
|
</div>
|
2075
2152
|
</kendo-expansionpanel>
|
2076
|
-
<kendo-expansionpanel title="Pie Chart" [expanded]="
|
2153
|
+
<kendo-expansionpanel title="Pie Chart" [expanded]="true">
|
2077
2154
|
<div class="k-chart-types-wrapper">
|
2078
2155
|
<kendo-chartwizard-series-type-button
|
2079
2156
|
title="Pie"
|
@@ -2084,7 +2161,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2084
2161
|
</kendo-chartwizard-series-type-button>
|
2085
2162
|
</div>
|
2086
2163
|
</kendo-expansionpanel>
|
2087
|
-
<kendo-expansionpanel title="Column Chart" [expanded]="
|
2164
|
+
<kendo-expansionpanel title="Column Chart" [expanded]="true">
|
2088
2165
|
<div class="k-chart-types-wrapper">
|
2089
2166
|
<kendo-chartwizard-series-type-button
|
2090
2167
|
title="Column"
|
@@ -2109,7 +2186,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2109
2186
|
</kendo-chartwizard-series-type-button>
|
2110
2187
|
</div>
|
2111
2188
|
</kendo-expansionpanel>
|
2112
|
-
<kendo-expansionpanel title="Line Chart" [expanded]="
|
2189
|
+
<kendo-expansionpanel title="Line Chart" [expanded]="true">
|
2113
2190
|
<div class="k-chart-types-wrapper">
|
2114
2191
|
<kendo-chartwizard-series-type-button
|
2115
2192
|
title="Line"
|
@@ -2134,7 +2211,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2134
2211
|
</kendo-chartwizard-series-type-button>
|
2135
2212
|
</div>
|
2136
2213
|
</kendo-expansionpanel>
|
2137
|
-
<kendo-expansionpanel title="Scatter Chart" [expanded]="
|
2214
|
+
<kendo-expansionpanel title="Scatter Chart" [expanded]="true">
|
2138
2215
|
<div class="k-chart-types-wrapper">
|
2139
2216
|
<kendo-chartwizard-series-type-button
|
2140
2217
|
title="Scatter"
|
@@ -2152,7 +2229,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2152
2229
|
selector: 'kendo-chartwizard-property-pane-chart-tab',
|
2153
2230
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
2154
2231
|
template: `
|
2155
|
-
<kendo-expansionpanel title="Bar Chart" [expanded]="
|
2232
|
+
<kendo-expansionpanel title="Bar Chart" [expanded]="true">
|
2156
2233
|
<div class="k-chart-types-wrapper">
|
2157
2234
|
<kendo-chartwizard-series-type-button
|
2158
2235
|
title="Bar"
|
@@ -2177,7 +2254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2177
2254
|
</kendo-chartwizard-series-type-button>
|
2178
2255
|
</div>
|
2179
2256
|
</kendo-expansionpanel>
|
2180
|
-
<kendo-expansionpanel title="Pie Chart" [expanded]="
|
2257
|
+
<kendo-expansionpanel title="Pie Chart" [expanded]="true">
|
2181
2258
|
<div class="k-chart-types-wrapper">
|
2182
2259
|
<kendo-chartwizard-series-type-button
|
2183
2260
|
title="Pie"
|
@@ -2188,7 +2265,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2188
2265
|
</kendo-chartwizard-series-type-button>
|
2189
2266
|
</div>
|
2190
2267
|
</kendo-expansionpanel>
|
2191
|
-
<kendo-expansionpanel title="Column Chart" [expanded]="
|
2268
|
+
<kendo-expansionpanel title="Column Chart" [expanded]="true">
|
2192
2269
|
<div class="k-chart-types-wrapper">
|
2193
2270
|
<kendo-chartwizard-series-type-button
|
2194
2271
|
title="Column"
|
@@ -2213,7 +2290,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2213
2290
|
</kendo-chartwizard-series-type-button>
|
2214
2291
|
</div>
|
2215
2292
|
</kendo-expansionpanel>
|
2216
|
-
<kendo-expansionpanel title="Line Chart" [expanded]="
|
2293
|
+
<kendo-expansionpanel title="Line Chart" [expanded]="true">
|
2217
2294
|
<div class="k-chart-types-wrapper">
|
2218
2295
|
<kendo-chartwizard-series-type-button
|
2219
2296
|
title="Line"
|
@@ -2238,7 +2315,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2238
2315
|
</kendo-chartwizard-series-type-button>
|
2239
2316
|
</div>
|
2240
2317
|
</kendo-expansionpanel>
|
2241
|
-
<kendo-expansionpanel title="Scatter Chart" [expanded]="
|
2318
|
+
<kendo-expansionpanel title="Scatter Chart" [expanded]="true">
|
2242
2319
|
<div class="k-chart-types-wrapper">
|
2243
2320
|
<kendo-chartwizard-series-type-button
|
2244
2321
|
title="Scatter"
|
@@ -2480,7 +2557,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2480
2557
|
color: axis.title?.color
|
2481
2558
|
}"
|
2482
2559
|
[labels]="{
|
2483
|
-
rotation:
|
2560
|
+
rotation: axis.labels?.rotation,
|
2484
2561
|
font: axis.labels?.font,
|
2485
2562
|
color: axis.labels?.color
|
2486
2563
|
}"
|
@@ -2496,9 +2573,10 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2496
2573
|
color: axis.title?.color
|
2497
2574
|
}"
|
2498
2575
|
[labels]="{
|
2499
|
-
rotation:
|
2576
|
+
rotation: axis.labels?.rotation,
|
2500
2577
|
font: axis.labels?.font,
|
2501
|
-
color: axis.labels?.color
|
2578
|
+
color: axis.labels?.color,
|
2579
|
+
format: axis.labels?.format
|
2502
2580
|
}"
|
2503
2581
|
>
|
2504
2582
|
</kendo-chart-value-axis-item>
|
@@ -2515,8 +2593,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2515
2593
|
[name]="series.name"
|
2516
2594
|
[color]="series.color"
|
2517
2595
|
[labels]="{ visible: series.labels?.visible }"
|
2518
|
-
[
|
2519
|
-
[yField]="series.yField"
|
2596
|
+
[width]="series.width"
|
2520
2597
|
>
|
2521
2598
|
</kendo-chart-series-item>
|
2522
2599
|
</kendo-chart-series>
|
@@ -2530,7 +2607,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2530
2607
|
color: axis.title?.color
|
2531
2608
|
}"
|
2532
2609
|
[labels]="{
|
2533
|
-
rotation:
|
2610
|
+
rotation: axis.labels?.rotation,
|
2534
2611
|
font: axis.labels?.font,
|
2535
2612
|
color: axis.labels?.color
|
2536
2613
|
}"
|
@@ -2547,7 +2624,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2547
2624
|
color: axis.title?.color
|
2548
2625
|
}"
|
2549
2626
|
[labels]="{
|
2550
|
-
rotation:
|
2627
|
+
rotation: axis.labels?.rotation,
|
2551
2628
|
font: axis.labels?.font,
|
2552
2629
|
color: axis.labels?.color
|
2553
2630
|
}"
|
@@ -2656,7 +2733,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2656
2733
|
color: axis.title?.color
|
2657
2734
|
}"
|
2658
2735
|
[labels]="{
|
2659
|
-
rotation:
|
2736
|
+
rotation: axis.labels?.rotation,
|
2660
2737
|
font: axis.labels?.font,
|
2661
2738
|
color: axis.labels?.color
|
2662
2739
|
}"
|
@@ -2672,9 +2749,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2672
2749
|
color: axis.title?.color
|
2673
2750
|
}"
|
2674
2751
|
[labels]="{
|
2675
|
-
rotation:
|
2752
|
+
rotation: axis.labels?.rotation,
|
2676
2753
|
font: axis.labels?.font,
|
2677
|
-
color: axis.labels?.color
|
2754
|
+
color: axis.labels?.color,
|
2755
|
+
format: axis.labels?.format
|
2678
2756
|
}"
|
2679
2757
|
>
|
2680
2758
|
</kendo-chart-value-axis-item>
|
@@ -2691,8 +2769,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2691
2769
|
[name]="series.name"
|
2692
2770
|
[color]="series.color"
|
2693
2771
|
[labels]="{ visible: series.labels?.visible }"
|
2694
|
-
[
|
2695
|
-
[yField]="series.yField"
|
2772
|
+
[width]="series.width"
|
2696
2773
|
>
|
2697
2774
|
</kendo-chart-series-item>
|
2698
2775
|
</kendo-chart-series>
|
@@ -2706,7 +2783,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2706
2783
|
color: axis.title?.color
|
2707
2784
|
}"
|
2708
2785
|
[labels]="{
|
2709
|
-
rotation:
|
2786
|
+
rotation: axis.labels?.rotation,
|
2710
2787
|
font: axis.labels?.font,
|
2711
2788
|
color: axis.labels?.color
|
2712
2789
|
}"
|
@@ -2723,7 +2800,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2723
2800
|
color: axis.title?.color
|
2724
2801
|
}"
|
2725
2802
|
[labels]="{
|
2726
|
-
rotation:
|
2803
|
+
rotation: axis.labels?.rotation,
|
2727
2804
|
font: axis.labels?.font,
|
2728
2805
|
color: axis.labels?.color
|
2729
2806
|
}"
|