@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();
|
@@ -220,7 +223,7 @@ const categoryValueChartState = (data, seriesType, options) => {
|
|
220
223
|
type: seriesType,
|
221
224
|
data: valuesResult,
|
222
225
|
stack: false,
|
223
|
-
labels: { visible:
|
226
|
+
labels: { visible: false },
|
224
227
|
...(seriesType === scatterType ? scatterSeries : {})
|
225
228
|
});
|
226
229
|
});
|
@@ -230,10 +233,10 @@ const categoryValueChartState = (data, seriesType, options) => {
|
|
230
233
|
state.initialSeries = structuredClone(state.series);
|
231
234
|
}
|
232
235
|
if (categories.length) {
|
233
|
-
state.categoryAxis = [{ categories, labels: { visible: true } }];
|
236
|
+
state.categoryAxis = [{ categories, labels: { visible: true, rotation: 'auto' } }];
|
234
237
|
state.categoryField = state.columns[catIndex];
|
235
238
|
}
|
236
|
-
state.legend = { visible: true };
|
239
|
+
state.legend = { visible: true, position: 'bottom' };
|
237
240
|
state.title = { text: null };
|
238
241
|
state.subtitle = { text: null };
|
239
242
|
return state;
|
@@ -293,6 +296,15 @@ const pieChartState = (data, seriesType, options) => {
|
|
293
296
|
state.initialSeries = structuredClone(state.series);
|
294
297
|
return state;
|
295
298
|
};
|
299
|
+
const hasValue = (value) => value !== undefined && value !== null;
|
300
|
+
/**
|
301
|
+
* @hidden
|
302
|
+
*/
|
303
|
+
const createInitialState = (data, seriesType, defaultState) => {
|
304
|
+
const state = createState(data, defaultState?.seriesType || seriesType);
|
305
|
+
return typeof defaultState?.stack !== 'undefined' ?
|
306
|
+
updateState(state, ActionTypes.stacked, defaultState.stack) : state;
|
307
|
+
};
|
296
308
|
/**
|
297
309
|
* @hidden
|
298
310
|
*/
|
@@ -362,7 +374,7 @@ const mergeStates = (state, newState) => {
|
|
362
374
|
newState.series[i].labels = state.series[i].labels;
|
363
375
|
}
|
364
376
|
}
|
365
|
-
if (state.series.every(s => s.labels?.visible)) {
|
377
|
+
if (state.series.every(s => s.labels?.visible) && isCategorical(newState.seriesType) && isCategorical(state.seriesType)) {
|
366
378
|
newState.series.forEach(s => {
|
367
379
|
s.labels = s.labels || {};
|
368
380
|
s.labels.visible = true;
|
@@ -492,9 +504,11 @@ const updateState = (currentState, action, value) => {
|
|
492
504
|
case ActionTypes.categoryAxisLabelsColor:
|
493
505
|
state.categoryAxis = state.categoryAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, color: value } }));
|
494
506
|
return state;
|
495
|
-
case ActionTypes.categoryAxisLabelsRotation:
|
496
|
-
|
507
|
+
case ActionTypes.categoryAxisLabelsRotation: {
|
508
|
+
const rotation = hasValue(value) ? value : 'auto';
|
509
|
+
state.categoryAxis = state.categoryAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, rotation } }));
|
497
510
|
return state;
|
511
|
+
}
|
498
512
|
case ActionTypes.categoryAxisReverseOrder:
|
499
513
|
state.categoryAxis = state.categoryAxis?.map(axis => ({ ...axis, reverse: value }));
|
500
514
|
return state;
|
@@ -530,14 +544,37 @@ const updateState = (currentState, action, value) => {
|
|
530
544
|
case ActionTypes.valueAxisLabelsColor:
|
531
545
|
state.valueAxis = state.valueAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, color: value } }));
|
532
546
|
return state;
|
533
|
-
case ActionTypes.valueAxisLabelsRotation:
|
534
|
-
|
547
|
+
case ActionTypes.valueAxisLabelsRotation: {
|
548
|
+
const rotation = hasValue(value) ? value : 'auto';
|
549
|
+
state.valueAxis = state.valueAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, rotation } }));
|
535
550
|
return state;
|
551
|
+
}
|
536
552
|
default:
|
537
553
|
return state;
|
538
554
|
}
|
539
555
|
};
|
540
556
|
|
557
|
+
/**
|
558
|
+
* @hidden
|
559
|
+
*/
|
560
|
+
const defaultAllSeriesItem = { name: 'All Series' };
|
561
|
+
/**
|
562
|
+
* @hidden
|
563
|
+
*/
|
564
|
+
const defaultFormat = {
|
565
|
+
value: '',
|
566
|
+
text: 'Text'
|
567
|
+
};
|
568
|
+
/**
|
569
|
+
* @hidden
|
570
|
+
*/
|
571
|
+
const labelFormats = [
|
572
|
+
defaultFormat,
|
573
|
+
{ value: 'n0', text: 'Number' },
|
574
|
+
{ value: 'c0', text: 'Currency' },
|
575
|
+
{ value: 'p0', text: 'Percent' }
|
576
|
+
];
|
577
|
+
|
541
578
|
/**
|
542
579
|
* @hidden
|
543
580
|
*/
|
@@ -553,7 +590,7 @@ class StateService {
|
|
553
590
|
};
|
554
591
|
this.seriesType = 'bar';
|
555
592
|
this.currentTitle = 'Chart Title';
|
556
|
-
this.currentSeries =
|
593
|
+
this.currentSeries = defaultAllSeriesItem;
|
557
594
|
this.data = [];
|
558
595
|
this.deletedSeries = [];
|
559
596
|
this.direction = 'ltr';
|
@@ -577,6 +614,7 @@ class ChartWizardPropertyPaneFormFieldComponent {
|
|
577
614
|
this.colSpan = 1;
|
578
615
|
this.hasLabel = true;
|
579
616
|
this.isLabelInsideFormFieldWrap = false;
|
617
|
+
this.disabled = false;
|
580
618
|
this.valueChange = new EventEmitter();
|
581
619
|
this.formField = true;
|
582
620
|
}
|
@@ -604,7 +642,7 @@ class ChartWizardPropertyPaneFormFieldComponent {
|
|
604
642
|
}
|
605
643
|
}
|
606
644
|
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 });
|
607
|
-
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: `
|
645
|
+
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: `
|
608
646
|
<kendo-label *ngIf="hasLabel && !isLabelInsideFormFieldWrap" class="k-form-label" [text]="text"></kendo-label>
|
609
647
|
<div class="k-form-field-wrap">
|
610
648
|
<kendo-label
|
@@ -625,6 +663,7 @@ ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
625
663
|
fillMode="outline"
|
626
664
|
rounded="medium"
|
627
665
|
[value]="value"
|
666
|
+
[disabled]="disabled"
|
628
667
|
(valueChange)="valueChange.emit($event)"
|
629
668
|
></kendo-colorpicker>
|
630
669
|
<kendo-dropdownlist
|
@@ -694,6 +733,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
694
733
|
fillMode="outline"
|
695
734
|
rounded="medium"
|
696
735
|
[value]="value"
|
736
|
+
[disabled]="disabled"
|
697
737
|
(valueChange)="valueChange.emit($event)"
|
698
738
|
></kendo-colorpicker>
|
699
739
|
<kendo-dropdownlist
|
@@ -771,6 +811,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
771
811
|
type: Input
|
772
812
|
}], value: [{
|
773
813
|
type: Input
|
814
|
+
}], disabled: [{
|
815
|
+
type: Input
|
774
816
|
}], valueChange: [{
|
775
817
|
type: Output
|
776
818
|
}], formField: [{
|
@@ -848,10 +890,13 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
848
890
|
this.valueAxisTitleFontSize = ActionTypes.valueAxisTitleFontSize;
|
849
891
|
this.valueAxisTitleColor = ActionTypes.valueAxisTitleColor;
|
850
892
|
this.valueAxisLabelsFontName = ActionTypes.valueAxisLabelsFontName;
|
893
|
+
this.valueAxisLabelsFormat = ActionTypes.valueAxisLabelsFormat;
|
851
894
|
this.valueAxisLabelsFontSize = ActionTypes.valueAxisLabelsFontSize;
|
852
895
|
this.valueAxisLabelsColor = ActionTypes.valueAxisLabelsColor;
|
853
896
|
this.valueAxisLabelsRotation = ActionTypes.valueAxisLabelsRotation;
|
854
897
|
this.parseFont = parseFont;
|
898
|
+
this.labelFormats = labelFormats;
|
899
|
+
this.defaultAllSeriesItem = defaultAllSeriesItem;
|
855
900
|
this.fontNames = fontNames;
|
856
901
|
this.fontSizes = fontSizes;
|
857
902
|
this.legendPositions = positions;
|
@@ -889,6 +934,15 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
889
934
|
get chartTitleTypeFontSizeAction() {
|
890
935
|
return this.stateService.currentTitle === 'Chart Title' ? this.titleFontSize : this.subtitleFontSize;
|
891
936
|
}
|
937
|
+
get seriesData() {
|
938
|
+
return [defaultAllSeriesItem, ...this.stateService.state.series];
|
939
|
+
}
|
940
|
+
get showLabels() {
|
941
|
+
return this.stateService.currentSeries.name !== defaultAllSeriesItem.name ? this.stateService.state.series.find(s => s.name === this.stateService.currentSeries.name)?.labels?.visible : this.stateService.state.series.every(s => s.labels?.visible);
|
942
|
+
}
|
943
|
+
get labelFormatValue() {
|
944
|
+
return labelFormats.find(f => f.value === this.stateService.state.valueAxis[0]?.labels?.format)?.value || defaultFormat.value;
|
945
|
+
}
|
892
946
|
ngAfterViewChecked() {
|
893
947
|
this.localization.changes.subscribe(() => {
|
894
948
|
this.cdr.detectChanges();
|
@@ -898,6 +952,10 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
898
952
|
this.localization.changes.unsubscribe();
|
899
953
|
}
|
900
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
|
+
}
|
901
959
|
this.stateService.state = updateState(this.stateService.state, action, value);
|
902
960
|
}
|
903
961
|
changeCurrentTitle(value) {
|
@@ -909,29 +967,26 @@ class ChartWizardPropertyPaneDataTabComponent {
|
|
909
967
|
this.updateState(this.seriesLabel, this.stateService.currentSeries);
|
910
968
|
}
|
911
969
|
updateCurrentSeries(value) {
|
912
|
-
|
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
|
+
}
|
913
976
|
}
|
914
977
|
updateSeriesColor(value) {
|
915
978
|
this.updateCurrentSeries(this.stateService.currentSeries);
|
916
979
|
this.stateService.currentSeries.color = value;
|
917
980
|
this.updateState(this.seriesColor, this.stateService.currentSeries);
|
918
981
|
}
|
919
|
-
onExpandedChange(panel, expanded) {
|
920
|
-
expanded
|
921
|
-
? (this.stateService.currentFormatExpansionPanel = panel)
|
922
|
-
: (this.stateService.currentFormatExpansionPanel = null);
|
923
|
-
}
|
924
|
-
isExpanded(panel) {
|
925
|
-
return this.stateService.currentFormatExpansionPanel === panel;
|
926
|
-
}
|
927
982
|
}
|
928
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 });
|
929
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: `
|
930
985
|
<section>
|
931
986
|
<kendo-expansionpanel
|
987
|
+
[style.max-width.px]="576"
|
932
988
|
title="Chart Area"
|
933
|
-
[expanded]="
|
934
|
-
(expandedChange)="onExpandedChange('Chart Area', $event)"
|
989
|
+
[expanded]="true"
|
935
990
|
[attr.dir]="stateService.direction"
|
936
991
|
>
|
937
992
|
<form class="k-form k-form-md">
|
@@ -983,9 +1038,9 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
983
1038
|
</section>
|
984
1039
|
<section>
|
985
1040
|
<kendo-expansionpanel
|
1041
|
+
[style.max-width.px]="576"
|
986
1042
|
title="Title"
|
987
|
-
[expanded]="
|
988
|
-
(expandedChange)="onExpandedChange('Title', $event)"
|
1043
|
+
[expanded]="true"
|
989
1044
|
>
|
990
1045
|
<form class="k-form k-form-md">
|
991
1046
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1038,9 +1093,9 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1038
1093
|
</section>
|
1039
1094
|
<section>
|
1040
1095
|
<kendo-expansionpanel
|
1096
|
+
[style.max-width.px]="576"
|
1041
1097
|
title="Legend"
|
1042
|
-
[expanded]="
|
1043
|
-
(expandedChange)="onExpandedChange('Legend', $event)"
|
1098
|
+
[expanded]="true"
|
1044
1099
|
>
|
1045
1100
|
<form class="k-form k-form-md">
|
1046
1101
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1095,9 +1150,9 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1095
1150
|
</section>
|
1096
1151
|
<section>
|
1097
1152
|
<kendo-expansionpanel
|
1153
|
+
[style.max-width.px]="576"
|
1098
1154
|
title="Series"
|
1099
|
-
[expanded]="
|
1100
|
-
(expandedChange)="onExpandedChange('Series', $event)"
|
1155
|
+
[expanded]="true"
|
1101
1156
|
>
|
1102
1157
|
<form class="k-form k-form-md">
|
1103
1158
|
<div class="k-form-field">
|
@@ -1105,7 +1160,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1105
1160
|
<div class="k-form-field-wrap">
|
1106
1161
|
<kendo-dropdownlist
|
1107
1162
|
#seriesDropDown
|
1108
|
-
[data]="
|
1163
|
+
[data]="seriesData"
|
1109
1164
|
textField="name"
|
1110
1165
|
valueField="name"
|
1111
1166
|
fillMode="outline"
|
@@ -1121,12 +1176,13 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1121
1176
|
text="Color"
|
1122
1177
|
[value]="stateService.currentSeries?.color"
|
1123
1178
|
inputType="colorPicker"
|
1179
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
1124
1180
|
(valueChange)="updateSeriesColor($event)"
|
1125
1181
|
>
|
1126
1182
|
</kendo-chartwizard-property-pane-form-field>
|
1127
1183
|
<kendo-chartwizard-property-pane-form-field
|
1128
1184
|
text="Show Labels"
|
1129
|
-
[value]="
|
1185
|
+
[value]="showLabels"
|
1130
1186
|
[isLabelInsideFormFieldWrap]="true"
|
1131
1187
|
inputType="checkbox"
|
1132
1188
|
(valueChange)="toggleSeriesLabels($event)"
|
@@ -1135,11 +1191,11 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1135
1191
|
</form>
|
1136
1192
|
</kendo-expansionpanel>
|
1137
1193
|
</section>
|
1138
|
-
<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">
|
1139
1195
|
<kendo-expansionpanel
|
1140
|
-
|
1141
|
-
[
|
1142
|
-
|
1196
|
+
[style.max-width.px]="576"
|
1197
|
+
[title]="stateService.seriesType === 'scatter' ? 'X Axis' : 'Category axis'"
|
1198
|
+
[expanded]="true"
|
1143
1199
|
>
|
1144
1200
|
<form class="k-form k-form-md">
|
1145
1201
|
<fieldset class="k-form-fieldset">
|
@@ -1150,7 +1206,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1150
1206
|
[hasLabel]="false"
|
1151
1207
|
[colSpan]="2"
|
1152
1208
|
placeholder="Axis Title"
|
1153
|
-
[value]="stateService.state.categoryAxis[0]?.title?.text"
|
1209
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
1154
1210
|
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
1155
1211
|
>
|
1156
1212
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1233,11 +1289,11 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1233
1289
|
</form>
|
1234
1290
|
</kendo-expansionpanel>
|
1235
1291
|
</section>
|
1236
|
-
<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">
|
1237
1293
|
<kendo-expansionpanel
|
1238
|
-
|
1239
|
-
[
|
1240
|
-
|
1294
|
+
[style.max-width.px]="576"
|
1295
|
+
[title]="stateService.seriesType === 'scatter' ? 'Y Axis' : 'Value axis'"
|
1296
|
+
[expanded]="true"
|
1241
1297
|
>
|
1242
1298
|
<form class="k-form k-form-md">
|
1243
1299
|
<fieldset class="k-form-fieldset">
|
@@ -1248,7 +1304,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1248
1304
|
[hasLabel]="false"
|
1249
1305
|
[colSpan]="2"
|
1250
1306
|
placeholder="Axis Title"
|
1251
|
-
[value]="stateService.state.valueAxis[0]?.title?.text"
|
1307
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
1252
1308
|
(valueChange)="updateState(valueAxisTitleText, $event)"
|
1253
1309
|
>
|
1254
1310
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1283,6 +1339,15 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1283
1339
|
<fieldset class="k-form-fieldset">
|
1284
1340
|
<legend class="k-form-legend">Labels</legend>
|
1285
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>
|
1286
1351
|
<kendo-chartwizard-property-pane-form-field
|
1287
1352
|
text="Font"
|
1288
1353
|
inputType="comboBox"
|
@@ -1321,7 +1386,7 @@ ChartWizardPropertyPaneDataTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
1321
1386
|
</form>
|
1322
1387
|
</kendo-expansionpanel>
|
1323
1388
|
</section>
|
1324
|
-
`, 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 });
|
1325
1390
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneDataTabComponent, decorators: [{
|
1326
1391
|
type: Component,
|
1327
1392
|
args: [{
|
@@ -1330,9 +1395,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1330
1395
|
template: `
|
1331
1396
|
<section>
|
1332
1397
|
<kendo-expansionpanel
|
1398
|
+
[style.max-width.px]="576"
|
1333
1399
|
title="Chart Area"
|
1334
|
-
[expanded]="
|
1335
|
-
(expandedChange)="onExpandedChange('Chart Area', $event)"
|
1400
|
+
[expanded]="true"
|
1336
1401
|
[attr.dir]="stateService.direction"
|
1337
1402
|
>
|
1338
1403
|
<form class="k-form k-form-md">
|
@@ -1384,9 +1449,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1384
1449
|
</section>
|
1385
1450
|
<section>
|
1386
1451
|
<kendo-expansionpanel
|
1452
|
+
[style.max-width.px]="576"
|
1387
1453
|
title="Title"
|
1388
|
-
[expanded]="
|
1389
|
-
(expandedChange)="onExpandedChange('Title', $event)"
|
1454
|
+
[expanded]="true"
|
1390
1455
|
>
|
1391
1456
|
<form class="k-form k-form-md">
|
1392
1457
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1439,9 +1504,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1439
1504
|
</section>
|
1440
1505
|
<section>
|
1441
1506
|
<kendo-expansionpanel
|
1507
|
+
[style.max-width.px]="576"
|
1442
1508
|
title="Legend"
|
1443
|
-
[expanded]="
|
1444
|
-
(expandedChange)="onExpandedChange('Legend', $event)"
|
1509
|
+
[expanded]="true"
|
1445
1510
|
>
|
1446
1511
|
<form class="k-form k-form-md">
|
1447
1512
|
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
@@ -1496,9 +1561,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1496
1561
|
</section>
|
1497
1562
|
<section>
|
1498
1563
|
<kendo-expansionpanel
|
1564
|
+
[style.max-width.px]="576"
|
1499
1565
|
title="Series"
|
1500
|
-
[expanded]="
|
1501
|
-
(expandedChange)="onExpandedChange('Series', $event)"
|
1566
|
+
[expanded]="true"
|
1502
1567
|
>
|
1503
1568
|
<form class="k-form k-form-md">
|
1504
1569
|
<div class="k-form-field">
|
@@ -1506,7 +1571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1506
1571
|
<div class="k-form-field-wrap">
|
1507
1572
|
<kendo-dropdownlist
|
1508
1573
|
#seriesDropDown
|
1509
|
-
[data]="
|
1574
|
+
[data]="seriesData"
|
1510
1575
|
textField="name"
|
1511
1576
|
valueField="name"
|
1512
1577
|
fillMode="outline"
|
@@ -1522,12 +1587,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1522
1587
|
text="Color"
|
1523
1588
|
[value]="stateService.currentSeries?.color"
|
1524
1589
|
inputType="colorPicker"
|
1590
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
1525
1591
|
(valueChange)="updateSeriesColor($event)"
|
1526
1592
|
>
|
1527
1593
|
</kendo-chartwizard-property-pane-form-field>
|
1528
1594
|
<kendo-chartwizard-property-pane-form-field
|
1529
1595
|
text="Show Labels"
|
1530
|
-
[value]="
|
1596
|
+
[value]="showLabels"
|
1531
1597
|
[isLabelInsideFormFieldWrap]="true"
|
1532
1598
|
inputType="checkbox"
|
1533
1599
|
(valueChange)="toggleSeriesLabels($event)"
|
@@ -1536,11 +1602,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1536
1602
|
</form>
|
1537
1603
|
</kendo-expansionpanel>
|
1538
1604
|
</section>
|
1539
|
-
<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">
|
1540
1606
|
<kendo-expansionpanel
|
1541
|
-
|
1542
|
-
[
|
1543
|
-
|
1607
|
+
[style.max-width.px]="576"
|
1608
|
+
[title]="stateService.seriesType === 'scatter' ? 'X Axis' : 'Category axis'"
|
1609
|
+
[expanded]="true"
|
1544
1610
|
>
|
1545
1611
|
<form class="k-form k-form-md">
|
1546
1612
|
<fieldset class="k-form-fieldset">
|
@@ -1551,7 +1617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1551
1617
|
[hasLabel]="false"
|
1552
1618
|
[colSpan]="2"
|
1553
1619
|
placeholder="Axis Title"
|
1554
|
-
[value]="stateService.state.categoryAxis[0]?.title?.text"
|
1620
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
1555
1621
|
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
1556
1622
|
>
|
1557
1623
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1634,11 +1700,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1634
1700
|
</form>
|
1635
1701
|
</kendo-expansionpanel>
|
1636
1702
|
</section>
|
1637
|
-
<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">
|
1638
1704
|
<kendo-expansionpanel
|
1639
|
-
|
1640
|
-
[
|
1641
|
-
|
1705
|
+
[style.max-width.px]="576"
|
1706
|
+
[title]="stateService.seriesType === 'scatter' ? 'Y Axis' : 'Value axis'"
|
1707
|
+
[expanded]="true"
|
1642
1708
|
>
|
1643
1709
|
<form class="k-form k-form-md">
|
1644
1710
|
<fieldset class="k-form-fieldset">
|
@@ -1649,7 +1715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1649
1715
|
[hasLabel]="false"
|
1650
1716
|
[colSpan]="2"
|
1651
1717
|
placeholder="Axis Title"
|
1652
|
-
[value]="stateService.state.valueAxis[0]?.title?.text"
|
1718
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
1653
1719
|
(valueChange)="updateState(valueAxisTitleText, $event)"
|
1654
1720
|
>
|
1655
1721
|
</kendo-chartwizard-property-pane-form-field>
|
@@ -1684,6 +1750,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1684
1750
|
<fieldset class="k-form-fieldset">
|
1685
1751
|
<legend class="k-form-legend">Labels</legend>
|
1686
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>
|
1687
1762
|
<kendo-chartwizard-property-pane-form-field
|
1688
1763
|
text="Font"
|
1689
1764
|
inputType="comboBox"
|
@@ -1729,7 +1804,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1729
1804
|
ChartWizardPropertyPaneFormFieldComponent,
|
1730
1805
|
LabelComponent,
|
1731
1806
|
SwitchComponent,
|
1732
|
-
DropDownListComponent
|
1807
|
+
DropDownListComponent,
|
1808
|
+
NgIf
|
1733
1809
|
]
|
1734
1810
|
}]
|
1735
1811
|
}], ctorParameters: function () { return [{ type: StateService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }]; } });
|
@@ -1793,7 +1869,6 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
1793
1869
|
rounded="medium"
|
1794
1870
|
size="medium"
|
1795
1871
|
>
|
1796
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1797
1872
|
</kendo-dropdownlist>
|
1798
1873
|
</fieldset>
|
1799
1874
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -1845,13 +1920,15 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
1845
1920
|
[data]="stateService.state.columns"
|
1846
1921
|
[value]="stateService.state.yField"
|
1847
1922
|
(valueChange)="updateState(valueAxisY, $event)"
|
1923
|
+
fillMode="outline"
|
1924
|
+
rounded="medium"
|
1925
|
+
size="medium"
|
1848
1926
|
>
|
1849
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1850
1927
|
</kendo-dropdownlist>
|
1851
1928
|
</fieldset>
|
1852
1929
|
</form>
|
1853
1930
|
</kendo-expansionpanel>
|
1854
|
-
`, 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 });
|
1855
1932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneFormatTabComponent, decorators: [{
|
1856
1933
|
type: Component,
|
1857
1934
|
args: [{
|
@@ -1872,7 +1949,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1872
1949
|
rounded="medium"
|
1873
1950
|
size="medium"
|
1874
1951
|
>
|
1875
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1876
1952
|
</kendo-dropdownlist>
|
1877
1953
|
</fieldset>
|
1878
1954
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -1924,8 +2000,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
1924
2000
|
[data]="stateService.state.columns"
|
1925
2001
|
[value]="stateService.state.yField"
|
1926
2002
|
(valueChange)="updateState(valueAxisY, $event)"
|
2003
|
+
fillMode="outline"
|
2004
|
+
rounded="medium"
|
2005
|
+
size="medium"
|
1927
2006
|
>
|
1928
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
1929
2007
|
</kendo-dropdownlist>
|
1930
2008
|
</fieldset>
|
1931
2009
|
</form>
|
@@ -2032,9 +2110,6 @@ class ChartWizardPropertyPaneChartTabComponent {
|
|
2032
2110
|
this.chartLineStacked100Icon = chartLineStacked100Icon;
|
2033
2111
|
this.chartScatterIcon = chartScatterIcon;
|
2034
2112
|
}
|
2035
|
-
isExpanded(type) {
|
2036
|
-
return this.stateService.state.seriesType === type;
|
2037
|
-
}
|
2038
2113
|
ngAfterViewChecked() {
|
2039
2114
|
this.localization.changes.subscribe(() => {
|
2040
2115
|
this.detectChanges();
|
@@ -2049,7 +2124,7 @@ class ChartWizardPropertyPaneChartTabComponent {
|
|
2049
2124
|
}
|
2050
2125
|
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 });
|
2051
2126
|
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: `
|
2052
|
-
<kendo-expansionpanel title="Bar Chart" [expanded]="
|
2127
|
+
<kendo-expansionpanel title="Bar Chart" [expanded]="true">
|
2053
2128
|
<div class="k-chart-types-wrapper">
|
2054
2129
|
<kendo-chartwizard-series-type-button
|
2055
2130
|
title="Bar"
|
@@ -2074,7 +2149,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2074
2149
|
</kendo-chartwizard-series-type-button>
|
2075
2150
|
</div>
|
2076
2151
|
</kendo-expansionpanel>
|
2077
|
-
<kendo-expansionpanel title="Pie Chart" [expanded]="
|
2152
|
+
<kendo-expansionpanel title="Pie Chart" [expanded]="true">
|
2078
2153
|
<div class="k-chart-types-wrapper">
|
2079
2154
|
<kendo-chartwizard-series-type-button
|
2080
2155
|
title="Pie"
|
@@ -2085,7 +2160,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2085
2160
|
</kendo-chartwizard-series-type-button>
|
2086
2161
|
</div>
|
2087
2162
|
</kendo-expansionpanel>
|
2088
|
-
<kendo-expansionpanel title="Column Chart" [expanded]="
|
2163
|
+
<kendo-expansionpanel title="Column Chart" [expanded]="true">
|
2089
2164
|
<div class="k-chart-types-wrapper">
|
2090
2165
|
<kendo-chartwizard-series-type-button
|
2091
2166
|
title="Column"
|
@@ -2110,7 +2185,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2110
2185
|
</kendo-chartwizard-series-type-button>
|
2111
2186
|
</div>
|
2112
2187
|
</kendo-expansionpanel>
|
2113
|
-
<kendo-expansionpanel title="Line Chart" [expanded]="
|
2188
|
+
<kendo-expansionpanel title="Line Chart" [expanded]="true">
|
2114
2189
|
<div class="k-chart-types-wrapper">
|
2115
2190
|
<kendo-chartwizard-series-type-button
|
2116
2191
|
title="Line"
|
@@ -2135,7 +2210,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
2135
2210
|
</kendo-chartwizard-series-type-button>
|
2136
2211
|
</div>
|
2137
2212
|
</kendo-expansionpanel>
|
2138
|
-
<kendo-expansionpanel title="Scatter Chart" [expanded]="
|
2213
|
+
<kendo-expansionpanel title="Scatter Chart" [expanded]="true">
|
2139
2214
|
<div class="k-chart-types-wrapper">
|
2140
2215
|
<kendo-chartwizard-series-type-button
|
2141
2216
|
title="Scatter"
|
@@ -2153,7 +2228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2153
2228
|
selector: 'kendo-chartwizard-property-pane-chart-tab',
|
2154
2229
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
2155
2230
|
template: `
|
2156
|
-
<kendo-expansionpanel title="Bar Chart" [expanded]="
|
2231
|
+
<kendo-expansionpanel title="Bar Chart" [expanded]="true">
|
2157
2232
|
<div class="k-chart-types-wrapper">
|
2158
2233
|
<kendo-chartwizard-series-type-button
|
2159
2234
|
title="Bar"
|
@@ -2178,7 +2253,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2178
2253
|
</kendo-chartwizard-series-type-button>
|
2179
2254
|
</div>
|
2180
2255
|
</kendo-expansionpanel>
|
2181
|
-
<kendo-expansionpanel title="Pie Chart" [expanded]="
|
2256
|
+
<kendo-expansionpanel title="Pie Chart" [expanded]="true">
|
2182
2257
|
<div class="k-chart-types-wrapper">
|
2183
2258
|
<kendo-chartwizard-series-type-button
|
2184
2259
|
title="Pie"
|
@@ -2189,7 +2264,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2189
2264
|
</kendo-chartwizard-series-type-button>
|
2190
2265
|
</div>
|
2191
2266
|
</kendo-expansionpanel>
|
2192
|
-
<kendo-expansionpanel title="Column Chart" [expanded]="
|
2267
|
+
<kendo-expansionpanel title="Column Chart" [expanded]="true">
|
2193
2268
|
<div class="k-chart-types-wrapper">
|
2194
2269
|
<kendo-chartwizard-series-type-button
|
2195
2270
|
title="Column"
|
@@ -2214,7 +2289,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2214
2289
|
</kendo-chartwizard-series-type-button>
|
2215
2290
|
</div>
|
2216
2291
|
</kendo-expansionpanel>
|
2217
|
-
<kendo-expansionpanel title="Line Chart" [expanded]="
|
2292
|
+
<kendo-expansionpanel title="Line Chart" [expanded]="true">
|
2218
2293
|
<div class="k-chart-types-wrapper">
|
2219
2294
|
<kendo-chartwizard-series-type-button
|
2220
2295
|
title="Line"
|
@@ -2239,7 +2314,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2239
2314
|
</kendo-chartwizard-series-type-button>
|
2240
2315
|
</div>
|
2241
2316
|
</kendo-expansionpanel>
|
2242
|
-
<kendo-expansionpanel title="Scatter Chart" [expanded]="
|
2317
|
+
<kendo-expansionpanel title="Scatter Chart" [expanded]="true">
|
2243
2318
|
<div class="k-chart-types-wrapper">
|
2244
2319
|
<kendo-chartwizard-series-type-button
|
2245
2320
|
title="Scatter"
|
@@ -2476,7 +2551,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2476
2551
|
color: axis.title?.color
|
2477
2552
|
}"
|
2478
2553
|
[labels]="{
|
2479
|
-
rotation:
|
2554
|
+
rotation: axis.labels?.rotation,
|
2480
2555
|
font: axis.labels?.font,
|
2481
2556
|
color: axis.labels?.color
|
2482
2557
|
}"
|
@@ -2492,9 +2567,10 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2492
2567
|
color: axis.title?.color
|
2493
2568
|
}"
|
2494
2569
|
[labels]="{
|
2495
|
-
rotation:
|
2570
|
+
rotation: axis.labels?.rotation,
|
2496
2571
|
font: axis.labels?.font,
|
2497
|
-
color: axis.labels?.color
|
2572
|
+
color: axis.labels?.color,
|
2573
|
+
format: axis.labels?.format
|
2498
2574
|
}"
|
2499
2575
|
>
|
2500
2576
|
</kendo-chart-value-axis-item>
|
@@ -2511,8 +2587,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2511
2587
|
[name]="series.name"
|
2512
2588
|
[color]="series.color"
|
2513
2589
|
[labels]="{ visible: series.labels?.visible }"
|
2514
|
-
[
|
2515
|
-
[yField]="series.yField"
|
2590
|
+
[width]="series.width"
|
2516
2591
|
>
|
2517
2592
|
</kendo-chart-series-item>
|
2518
2593
|
</kendo-chart-series>
|
@@ -2526,7 +2601,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2526
2601
|
color: axis.title?.color
|
2527
2602
|
}"
|
2528
2603
|
[labels]="{
|
2529
|
-
rotation:
|
2604
|
+
rotation: axis.labels?.rotation,
|
2530
2605
|
font: axis.labels?.font,
|
2531
2606
|
color: axis.labels?.color
|
2532
2607
|
}"
|
@@ -2543,7 +2618,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
2543
2618
|
color: axis.title?.color
|
2544
2619
|
}"
|
2545
2620
|
[labels]="{
|
2546
|
-
rotation:
|
2621
|
+
rotation: axis.labels?.rotation,
|
2547
2622
|
font: axis.labels?.font,
|
2548
2623
|
color: axis.labels?.color
|
2549
2624
|
}"
|
@@ -2652,7 +2727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2652
2727
|
color: axis.title?.color
|
2653
2728
|
}"
|
2654
2729
|
[labels]="{
|
2655
|
-
rotation:
|
2730
|
+
rotation: axis.labels?.rotation,
|
2656
2731
|
font: axis.labels?.font,
|
2657
2732
|
color: axis.labels?.color
|
2658
2733
|
}"
|
@@ -2668,9 +2743,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2668
2743
|
color: axis.title?.color
|
2669
2744
|
}"
|
2670
2745
|
[labels]="{
|
2671
|
-
rotation:
|
2746
|
+
rotation: axis.labels?.rotation,
|
2672
2747
|
font: axis.labels?.font,
|
2673
|
-
color: axis.labels?.color
|
2748
|
+
color: axis.labels?.color,
|
2749
|
+
format: axis.labels?.format
|
2674
2750
|
}"
|
2675
2751
|
>
|
2676
2752
|
</kendo-chart-value-axis-item>
|
@@ -2687,8 +2763,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2687
2763
|
[name]="series.name"
|
2688
2764
|
[color]="series.color"
|
2689
2765
|
[labels]="{ visible: series.labels?.visible }"
|
2690
|
-
[
|
2691
|
-
[yField]="series.yField"
|
2766
|
+
[width]="series.width"
|
2692
2767
|
>
|
2693
2768
|
</kendo-chart-series-item>
|
2694
2769
|
</kendo-chart-series>
|
@@ -2702,7 +2777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2702
2777
|
color: axis.title?.color
|
2703
2778
|
}"
|
2704
2779
|
[labels]="{
|
2705
|
-
rotation:
|
2780
|
+
rotation: axis.labels?.rotation,
|
2706
2781
|
font: axis.labels?.font,
|
2707
2782
|
color: axis.labels?.color
|
2708
2783
|
}"
|
@@ -2719,7 +2794,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
2719
2794
|
color: axis.title?.color
|
2720
2795
|
}"
|
2721
2796
|
[labels]="{
|
2722
|
-
rotation:
|
2797
|
+
rotation: axis.labels?.rotation,
|
2723
2798
|
font: axis.labels?.font,
|
2724
2799
|
color: axis.labels?.color
|
2725
2800
|
}"
|