@progress/kendo-angular-chart-wizard 21.1.1-develop.2 → 21.2.0-develop.10
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/esm2022/chart-wizard.component.mjs +655 -636
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/property-pane/data-tab.component.mjs +149 -145
- package/esm2022/property-pane/form-field.component.mjs +123 -105
- package/esm2022/property-pane/format-tab.component.mjs +798 -792
- package/fesm2022/progress-kendo-angular-chart-wizard.mjs +1727 -1677
- package/package.json +17 -17
|
@@ -11,7 +11,6 @@ import { LabelComponent } from '@progress/kendo-angular-label';
|
|
|
11
11
|
import { SwitchComponent } from '@progress/kendo-angular-inputs';
|
|
12
12
|
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
13
13
|
import { defaultAllSeriesItem, defaultFormat, labelFormats } from '../common/models';
|
|
14
|
-
import { NgIf } from '@angular/common';
|
|
15
14
|
import { ChartWizardLocalizationService } from '../localization/chartwizard-localization.service';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
16
|
import * as i1 from "../state.service";
|
|
@@ -181,419 +180,423 @@ export class ChartWizardPropertyPaneFormatTabComponent {
|
|
|
181
180
|
return this.localization.get(key);
|
|
182
181
|
}
|
|
183
182
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardPropertyPaneFormatTabComponent, deps: [{ token: i1.StateService }, { token: i2.ChartWizardLocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
184
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
183
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ChartWizardPropertyPaneFormatTabComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-format-tab", ngImport: i0, template: `
|
|
185
184
|
<section>
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
185
|
+
<kendo-expansionpanel
|
|
186
|
+
[style.max-width.px]="576"
|
|
187
|
+
[title]="messageFor('formatChartArea')"
|
|
188
|
+
[expanded]="true"
|
|
189
|
+
[attr.dir]="stateService.direction"
|
|
191
190
|
>
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
191
|
+
<form class="k-form k-form-md">
|
|
192
|
+
<fieldset class="k-form-fieldset">
|
|
193
|
+
<legend class="k-form-legend">{{ messageFor('formatChartAreaMargins') }}</legend>
|
|
194
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
195
|
+
<kendo-chartwizard-property-pane-form-field
|
|
196
|
+
[text]="messageFor('formatChartAreaMarginsLeft')"
|
|
197
|
+
inputType="numeric"
|
|
198
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
199
|
+
[value]="$any(stateService.state.area.margin).left"
|
|
200
|
+
(valueChange)="updateState(areaMarginLeft, $event)"
|
|
201
|
+
>
|
|
202
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
203
|
+
<kendo-chartwizard-property-pane-form-field
|
|
204
|
+
[text]="messageFor('formatChartAreaMarginsRight')"
|
|
205
|
+
inputType="numeric"
|
|
206
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
207
|
+
[value]="$any(stateService.state.area.margin).right"
|
|
208
|
+
(valueChange)="updateState(areaMarginRight, $event)"
|
|
209
|
+
>
|
|
210
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
211
|
+
<kendo-chartwizard-property-pane-form-field
|
|
212
|
+
[text]="messageFor('formatChartAreaMarginsTop')"
|
|
213
|
+
inputType="numeric"
|
|
214
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
215
|
+
[value]="$any(stateService.state.area.margin).top"
|
|
216
|
+
(valueChange)="updateState(areaMarginTop, $event)"
|
|
217
|
+
>
|
|
218
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
219
|
+
<kendo-chartwizard-property-pane-form-field
|
|
220
|
+
[text]="messageFor('formatChartAreaMarginsBottom')"
|
|
221
|
+
inputType="numeric"
|
|
222
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
223
|
+
[value]="$any(stateService.state.area.margin).bottom"
|
|
224
|
+
(valueChange)="updateState(areaMarginBottom, $event)"
|
|
225
|
+
>
|
|
226
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
227
|
+
</div>
|
|
228
|
+
</fieldset>
|
|
229
|
+
<fieldset class="k-form-fieldset">
|
|
230
|
+
<legend class="k-form-legend">{{ messageFor('formatChartAreaBackground') }}</legend>
|
|
231
|
+
<kendo-chartwizard-property-pane-form-field
|
|
232
|
+
[text]="messageFor('formatChartAreaBackgroundColor')"
|
|
233
|
+
inputType="colorPicker"
|
|
234
|
+
[value]="stateService.state.area?.background"
|
|
235
|
+
(valueChange)="updateState(areaBackground, $event)"
|
|
236
|
+
>
|
|
237
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
238
|
+
</fieldset>
|
|
239
|
+
</form>
|
|
240
|
+
</kendo-expansionpanel>
|
|
242
241
|
</section>
|
|
243
242
|
<section>
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
243
|
+
<kendo-expansionpanel
|
|
244
|
+
[style.max-width.px]="576"
|
|
245
|
+
[title]="messageFor('formatTitle')"
|
|
246
|
+
[expanded]="true"
|
|
248
247
|
>
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
248
|
+
<form class="k-form k-form-md">
|
|
249
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
250
|
+
<kendo-chartwizard-property-pane-form-field
|
|
251
|
+
[text]="messageFor('formatTitleApplyTo')"
|
|
252
|
+
inputType="dropDownList"
|
|
253
|
+
[data]="chartTitles"
|
|
254
|
+
[colSpan]="2"
|
|
255
|
+
[value]="stateService.currentTitle"
|
|
256
|
+
(valueChange)="changeCurrentTitle($event)"
|
|
257
|
+
>
|
|
258
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
259
|
+
<kendo-chartwizard-property-pane-form-field
|
|
260
|
+
[text]="messageFor('formatTitleLabel')"
|
|
261
|
+
inputType="text"
|
|
262
|
+
[colSpan]="2"
|
|
263
|
+
[value]="chartTitleTypeText"
|
|
264
|
+
(valueChange)="updateState(chartTitleTypeAction, $event)"
|
|
265
|
+
>
|
|
266
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
267
|
+
<kendo-chartwizard-property-pane-form-field
|
|
268
|
+
[text]="messageFor('formatTitleFont')"
|
|
269
|
+
inputType="comboBox"
|
|
270
|
+
[data]="fontNames"
|
|
271
|
+
[colSpan]="2"
|
|
272
|
+
[value]="chartTitleTypeFont"
|
|
273
|
+
[placeholder]="messageFor('formatTitleFontPlaceholder')"
|
|
274
|
+
(valueChange)="updateState(chartTitleTypeFontAction, $event)"
|
|
275
|
+
>
|
|
276
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
277
|
+
<kendo-chartwizard-property-pane-form-field
|
|
278
|
+
[text]="messageFor('formatTitleSize')"
|
|
279
|
+
inputType="comboBox"
|
|
280
|
+
[placeholder]="messageFor('formatTitleSizePlaceholder')"
|
|
281
|
+
[data]="fontSizes"
|
|
282
|
+
[value]="chartTitleTypeFontSize"
|
|
283
|
+
(valueChange)="updateState(chartTitleTypeFontSizeAction, $event)"
|
|
284
|
+
>
|
|
285
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
286
|
+
<kendo-chartwizard-property-pane-form-field
|
|
287
|
+
[text]="messageFor('formatTitleColor')"
|
|
288
|
+
inputType="colorPicker"
|
|
289
|
+
[value]="chartTitleTypeColor"
|
|
290
|
+
(valueChange)="updateState(chartTitleTypeColorAction, $event)"
|
|
291
|
+
>
|
|
292
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
293
|
+
</div>
|
|
294
|
+
</form>
|
|
295
|
+
</kendo-expansionpanel>
|
|
297
296
|
</section>
|
|
298
297
|
<section>
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
298
|
+
<kendo-expansionpanel
|
|
299
|
+
[style.max-width.px]="576"
|
|
300
|
+
[title]="messageFor('formatLegend')"
|
|
301
|
+
[expanded]="true"
|
|
303
302
|
>
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
303
|
+
<form class="k-form k-form-md">
|
|
304
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
305
|
+
<kendo-label [for]="toggleLegend" [text]="messageFor('formatLegendShowLegend')"></kendo-label>
|
|
306
|
+
<kendo-switch
|
|
307
|
+
#toggleLegend
|
|
308
|
+
onLabel="On"
|
|
309
|
+
offLabel="Off"
|
|
310
|
+
thumbRounded="full"
|
|
311
|
+
size="medium"
|
|
312
|
+
[checked]="stateService.state.legend?.visible"
|
|
313
|
+
(valueChange)="updateState(legendVisible, $event)"
|
|
314
|
+
></kendo-switch>
|
|
315
|
+
<kendo-chartwizard-property-pane-form-field
|
|
316
|
+
[text]="messageFor('formatLegendFont')"
|
|
317
|
+
inputType="comboBox"
|
|
318
|
+
[data]="fontNames"
|
|
319
|
+
[colSpan]="2"
|
|
320
|
+
[placeholder]="messageFor('formatLegendFontPlaceholder')"
|
|
321
|
+
[value]="parseFont(stateService.state.legend?.labels?.font).name"
|
|
322
|
+
(valueChange)="updateState(legendFontName, $event)"
|
|
323
|
+
>
|
|
324
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
325
|
+
<kendo-chartwizard-property-pane-form-field
|
|
326
|
+
[text]="messageFor('formatLegendSize')"
|
|
327
|
+
inputType="comboBox"
|
|
328
|
+
[data]="fontSizes"
|
|
329
|
+
[placeholder]="messageFor('formatLegendSizePlaceholder')"
|
|
330
|
+
[value]="parseFont(stateService.state.legend?.labels?.font).size"
|
|
331
|
+
(valueChange)="updateState(legendFontSize, $event)"
|
|
332
|
+
>
|
|
333
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
334
|
+
<kendo-chartwizard-property-pane-form-field
|
|
335
|
+
[text]="messageFor('formatLegendColor')"
|
|
336
|
+
inputType="colorPicker"
|
|
337
|
+
[value]="stateService.state.legend?.labels?.color"
|
|
338
|
+
(valueChange)="updateState(legendColor, $event)"
|
|
339
|
+
>
|
|
340
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
341
|
+
<kendo-chartwizard-property-pane-form-field
|
|
342
|
+
[text]="messageFor('formatLegendPosition')"
|
|
343
|
+
inputType="dropDownList"
|
|
344
|
+
[colSpan]="2"
|
|
345
|
+
[data]="legendPositions"
|
|
346
|
+
[value]="stateService.state.legend?.position"
|
|
347
|
+
(valueChange)="updateState(legendPosition, $event)"
|
|
348
|
+
>
|
|
349
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
350
|
+
</div>
|
|
351
|
+
</form>
|
|
352
|
+
</kendo-expansionpanel>
|
|
354
353
|
</section>
|
|
355
354
|
<section>
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
355
|
+
<kendo-expansionpanel
|
|
356
|
+
[style.max-width.px]="576"
|
|
357
|
+
[title]="messageFor('formatSeries')"
|
|
358
|
+
[expanded]="true"
|
|
360
359
|
>
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
360
|
+
<form class="k-form k-form-md">
|
|
361
|
+
<div class="k-form-field">
|
|
362
|
+
<kendo-label [for]="seriesDropDown" class="k-form-label" [text]="messageFor('formatSeriesApplyTo')"></kendo-label>
|
|
363
|
+
<div class="k-form-field-wrap">
|
|
364
|
+
<kendo-dropdownlist
|
|
365
|
+
#seriesDropDown
|
|
366
|
+
[data]="seriesData"
|
|
367
|
+
textField="text"
|
|
368
|
+
valueField="name"
|
|
369
|
+
fillMode="outline"
|
|
370
|
+
rounded="medium"
|
|
371
|
+
size="medium"
|
|
372
|
+
[value]="stateService.currentSeries"
|
|
373
|
+
(valueChange)="updateCurrentSeries($event)"
|
|
374
|
+
></kendo-dropdownlist>
|
|
375
|
+
</div>
|
|
376
|
+
</div>
|
|
377
|
+
|
|
378
|
+
<kendo-chartwizard-property-pane-form-field
|
|
379
|
+
[text]="messageFor('formatSeriesColor')"
|
|
380
|
+
[value]="stateService.currentSeries?.color"
|
|
381
|
+
inputType="colorPicker"
|
|
382
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
|
383
|
+
(valueChange)="updateSeriesColor($event)"
|
|
384
|
+
>
|
|
385
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
386
|
+
<kendo-chartwizard-property-pane-form-field
|
|
387
|
+
[text]="messageFor('formatSeriesShowLabels')"
|
|
388
|
+
[value]="showLabels"
|
|
389
|
+
[isLabelInsideFormFieldWrap]="true"
|
|
390
|
+
[colSpan]="2"
|
|
391
|
+
inputType="checkbox"
|
|
392
|
+
(valueChange)="toggleSeriesLabels($event)"
|
|
393
|
+
>
|
|
394
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
395
|
+
</form>
|
|
396
|
+
</kendo-expansionpanel>
|
|
397
|
+
</section>
|
|
398
|
+
@if (stateService.state.seriesType !== 'pie') {
|
|
399
|
+
<section class="k-row-start-1 k-row-end-3 k-col-start-3">
|
|
400
|
+
<kendo-expansionpanel
|
|
401
|
+
[style.max-width.px]="576"
|
|
402
|
+
[title]="stateService.state.seriesType === 'scatter' ? messageFor('formatXAxis') : messageFor('formatCategoryAxis')"
|
|
403
|
+
[expanded]="true"
|
|
404
|
+
>
|
|
405
|
+
<form class="k-form k-form-md">
|
|
406
|
+
<fieldset class="k-form-fieldset">
|
|
407
|
+
<legend class="k-form-legend">{{ messageFor('formatCategoryAxisTitle') }}</legend>
|
|
408
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
379
409
|
<kendo-chartwizard-property-pane-form-field
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
410
|
+
inputType="text"
|
|
411
|
+
[hasLabel]="false"
|
|
412
|
+
[colSpan]="2"
|
|
413
|
+
[placeholder]="messageFor('formatCategoryAxisTitlePlaceholder')"
|
|
414
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
|
415
|
+
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
|
416
|
+
>
|
|
386
417
|
</kendo-chartwizard-property-pane-form-field>
|
|
387
418
|
<kendo-chartwizard-property-pane-form-field
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
419
|
+
[text]="messageFor('formatCategoryAxisTitleFont')"
|
|
420
|
+
inputType="comboBox"
|
|
421
|
+
[data]="fontNames"
|
|
422
|
+
[colSpan]="2"
|
|
423
|
+
[placeholder]="messageFor('formatCategoryAxisTitleFontPlaceholder')"
|
|
424
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.title?.font).name"
|
|
425
|
+
(valueChange)="updateState(categoryAxisTitleFontName, $event)"
|
|
426
|
+
>
|
|
395
427
|
</kendo-chartwizard-property-pane-form-field>
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
[value]="parseFont(stateService.state.categoryAxis[0]?.labels?.font).size"
|
|
465
|
-
(valueChange)="updateState(categoryAxisLabelsFontSize, $event)"
|
|
466
|
-
>
|
|
467
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
468
|
-
<kendo-chartwizard-property-pane-form-field
|
|
469
|
-
[text]="messageFor('formatCategoryAxisLabelsColor')"
|
|
470
|
-
inputType="colorPicker"
|
|
471
|
-
[value]="stateService.state.categoryAxis[0]?.labels?.color"
|
|
472
|
-
(valueChange)="updateState(categoryAxisLabelsColor, $event)"
|
|
473
|
-
>
|
|
474
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
475
|
-
<kendo-chartwizard-property-pane-form-field
|
|
476
|
-
[text]="messageFor('formatCategoryAxisLabelsRotation')"
|
|
477
|
-
inputType="dropDownList"
|
|
478
|
-
[data]="labelsCategoryAxisRotation"
|
|
479
|
-
[value]="stateService.state.categoryAxis[0]?.labels?.rotation"
|
|
480
|
-
(valueChange)="updateState(categoryAxisLabelsRotation, $event)"
|
|
481
|
-
>
|
|
482
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
483
|
-
<span></span>
|
|
484
|
-
<kendo-chartwizard-property-pane-form-field
|
|
485
|
-
[text]="messageFor('formatCategoryAxisLabelsReverseOrder')"
|
|
486
|
-
[isLabelInsideFormFieldWrap]="true"
|
|
487
|
-
inputType="checkbox"
|
|
488
|
-
[colSpan]="2"
|
|
489
|
-
[value]="stateService.state.categoryAxis[0]?.reverse"
|
|
490
|
-
(valueChange)="updateState(categoryAxisReverseOrder, $event)"
|
|
491
|
-
>
|
|
492
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
493
|
-
</div>
|
|
494
|
-
</fieldset>
|
|
495
|
-
</form>
|
|
428
|
+
<kendo-chartwizard-property-pane-form-field
|
|
429
|
+
[text]="messageFor('formatCategoryAxisTitleSize')"
|
|
430
|
+
inputType="comboBox"
|
|
431
|
+
[placeholder]="messageFor('formatCategoryAxisTitleSizePlaceholder')"
|
|
432
|
+
[data]="fontSizes"
|
|
433
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.title?.font).size"
|
|
434
|
+
(valueChange)="updateState(categoryAxisTitleFontSize, $event)"
|
|
435
|
+
>
|
|
436
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
437
|
+
<kendo-chartwizard-property-pane-form-field
|
|
438
|
+
[text]="messageFor('formatCategoryAxisTitleColor')"
|
|
439
|
+
inputType="colorPicker"
|
|
440
|
+
[value]="stateService.state.categoryAxis[0]?.title?.color"
|
|
441
|
+
(valueChange)="updateState(categoryAxisTitleColor, $event)"
|
|
442
|
+
>
|
|
443
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
444
|
+
</div>
|
|
445
|
+
</fieldset>
|
|
446
|
+
<fieldset class="k-form-fieldset">
|
|
447
|
+
<legend class="k-form-legend">{{ messageFor('formatCategoryAxisLabels') }}</legend>
|
|
448
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
449
|
+
<kendo-chartwizard-property-pane-form-field
|
|
450
|
+
[text]="messageFor('formatCategoryAxisLabelsFont')"
|
|
451
|
+
inputType="comboBox"
|
|
452
|
+
[data]="fontNames"
|
|
453
|
+
[colSpan]="2"
|
|
454
|
+
[placeholder]="messageFor('formatCategoryAxisLabelsFontPlaceholder')"
|
|
455
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.labels?.font).name"
|
|
456
|
+
(valueChange)="updateState(categoryAxisLabelsFontName, $event)"
|
|
457
|
+
>
|
|
458
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
459
|
+
<kendo-chartwizard-property-pane-form-field
|
|
460
|
+
[text]="messageFor('formatCategoryAxisLabelsSize')"
|
|
461
|
+
inputType="comboBox"
|
|
462
|
+
[data]="fontSizes"
|
|
463
|
+
[placeholder]="messageFor('formatCategoryAxisLabelsSizePlaceholder')"
|
|
464
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.labels?.font).size"
|
|
465
|
+
(valueChange)="updateState(categoryAxisLabelsFontSize, $event)"
|
|
466
|
+
>
|
|
467
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
468
|
+
<kendo-chartwizard-property-pane-form-field
|
|
469
|
+
[text]="messageFor('formatCategoryAxisLabelsColor')"
|
|
470
|
+
inputType="colorPicker"
|
|
471
|
+
[value]="stateService.state.categoryAxis[0]?.labels?.color"
|
|
472
|
+
(valueChange)="updateState(categoryAxisLabelsColor, $event)"
|
|
473
|
+
>
|
|
474
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
475
|
+
<kendo-chartwizard-property-pane-form-field
|
|
476
|
+
[text]="messageFor('formatCategoryAxisLabelsRotation')"
|
|
477
|
+
inputType="dropDownList"
|
|
478
|
+
[data]="labelsCategoryAxisRotation"
|
|
479
|
+
[value]="stateService.state.categoryAxis[0]?.labels?.rotation"
|
|
480
|
+
(valueChange)="updateState(categoryAxisLabelsRotation, $event)"
|
|
481
|
+
>
|
|
482
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
483
|
+
<span></span>
|
|
484
|
+
<kendo-chartwizard-property-pane-form-field
|
|
485
|
+
[text]="messageFor('formatCategoryAxisLabelsReverseOrder')"
|
|
486
|
+
[isLabelInsideFormFieldWrap]="true"
|
|
487
|
+
inputType="checkbox"
|
|
488
|
+
[colSpan]="2"
|
|
489
|
+
[value]="stateService.state.categoryAxis[0]?.reverse"
|
|
490
|
+
(valueChange)="updateState(categoryAxisReverseOrder, $event)"
|
|
491
|
+
>
|
|
492
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
493
|
+
</div>
|
|
494
|
+
</fieldset>
|
|
495
|
+
</form>
|
|
496
496
|
</kendo-expansionpanel>
|
|
497
|
-
|
|
498
|
-
|
|
497
|
+
</section>
|
|
498
|
+
}
|
|
499
|
+
@if (stateService.state.seriesType !== 'pie') {
|
|
500
|
+
<section class="k-row-start-1 k-row-end-3 k-col-start-4">
|
|
499
501
|
<kendo-expansionpanel
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
502
|
+
[style.max-width.px]="576"
|
|
503
|
+
[title]="stateService.state.seriesType === 'scatter' ? messageFor('formatYAxis') : messageFor('formatValueAxis')"
|
|
504
|
+
[expanded]="true"
|
|
505
|
+
>
|
|
506
|
+
<form class="k-form k-form-md">
|
|
507
|
+
<fieldset class="k-form-fieldset">
|
|
508
|
+
<legend class="k-form-legend">{{ messageFor('formatValueAxisTitle') }}</legend>
|
|
509
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
510
|
+
<kendo-chartwizard-property-pane-form-field
|
|
511
|
+
inputType="text"
|
|
512
|
+
[hasLabel]="false"
|
|
513
|
+
[colSpan]="2"
|
|
514
|
+
[placeholder]="messageFor('formatValueAxisTitlePlaceholder')"
|
|
515
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
|
516
|
+
(valueChange)="updateState(valueAxisTitleText, $event)"
|
|
517
|
+
>
|
|
518
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
519
|
+
<kendo-chartwizard-property-pane-form-field
|
|
520
|
+
[text]="messageFor('formatValueAxisTitleFont')"
|
|
521
|
+
inputType="comboBox"
|
|
522
|
+
[colSpan]="2"
|
|
523
|
+
[data]="fontNames"
|
|
524
|
+
[placeholder]="messageFor('formatValueAxisTitleFontPlaceholder')"
|
|
525
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.title?.font).name"
|
|
526
|
+
(valueChange)="updateState(valueAxisTitleFontName, $event)"
|
|
527
|
+
>
|
|
528
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
529
|
+
<kendo-chartwizard-property-pane-form-field
|
|
530
|
+
[text]="messageFor('formatValueAxisTitleSize')"
|
|
531
|
+
inputType="comboBox"
|
|
532
|
+
[placeholder]="messageFor('formatValueAxisTitleSizePlaceholder')"
|
|
533
|
+
[data]="fontSizes"
|
|
534
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.title?.font).size"
|
|
535
|
+
(valueChange)="updateState(valueAxisTitleFontSize, $event)"
|
|
536
|
+
>
|
|
537
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
538
|
+
<kendo-chartwizard-property-pane-form-field
|
|
539
|
+
[text]="messageFor('formatValueAxisTitleColor')"
|
|
540
|
+
inputType="colorPicker"
|
|
541
|
+
[value]="stateService.state.valueAxis[0]?.title?.color"
|
|
542
|
+
(valueChange)="updateState(valueAxisTitleColor, $event)"
|
|
543
|
+
>
|
|
544
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
545
|
+
</div>
|
|
546
|
+
</fieldset>
|
|
547
|
+
<fieldset class="k-form-fieldset">
|
|
548
|
+
<legend class="k-form-legend">{{ messageFor('formatValueAxisLabels') }}</legend>
|
|
549
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
550
|
+
<kendo-chartwizard-property-pane-form-field
|
|
551
|
+
[text]="messageFor('formatValueAxisLabelsFormat')"
|
|
552
|
+
[colSpan]="2"
|
|
553
|
+
inputType="dropDownList"
|
|
554
|
+
[data]="labelFormats"
|
|
555
|
+
[value]="labelFormatValue"
|
|
556
|
+
(valueChange)="updateState(valueAxisLabelsFormat, $event)"
|
|
557
|
+
>
|
|
558
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
559
|
+
<kendo-chartwizard-property-pane-form-field
|
|
560
|
+
[text]="messageFor('formatValueAxisLabelsFont')"
|
|
561
|
+
inputType="comboBox"
|
|
562
|
+
[data]="fontNames"
|
|
563
|
+
[colSpan]="2"
|
|
564
|
+
[placeholder]="messageFor('formatValueAxisLabelsFontPlaceholder')"
|
|
565
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.labels?.font).name"
|
|
566
|
+
(valueChange)="updateState(valueAxisLabelsFontName, $event)"
|
|
567
|
+
>
|
|
568
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
569
|
+
<kendo-chartwizard-property-pane-form-field
|
|
570
|
+
[text]="messageFor('formatValueAxisLabelsSize')"
|
|
571
|
+
inputType="comboBox"
|
|
572
|
+
[data]="fontSizes"
|
|
573
|
+
[placeholder]="messageFor('formatValueAxisLabelsSizePlaceholder')"
|
|
574
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.labels?.font).size"
|
|
575
|
+
(valueChange)="updateState(valueAxisLabelsFontSize, $event)"
|
|
576
|
+
>
|
|
577
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
578
|
+
<kendo-chartwizard-property-pane-form-field
|
|
579
|
+
[text]="messageFor('formatValueAxisLabelsColor')"
|
|
580
|
+
inputType="colorPicker"
|
|
581
|
+
[value]="stateService.state.valueAxis[0]?.labels?.color"
|
|
582
|
+
(valueChange)="updateState(valueAxisLabelsColor, $event)"
|
|
583
|
+
>
|
|
584
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
585
|
+
<kendo-chartwizard-property-pane-form-field
|
|
586
|
+
[text]="messageFor('formatValueAxisLabelsRotation')"
|
|
587
|
+
inputType="dropDownList"
|
|
588
|
+
[data]="labelsValueAxisRotation"
|
|
589
|
+
[value]="stateService.state.valueAxis[0]?.labels?.rotation"
|
|
590
|
+
(valueChange)="updateState(valueAxisLabelsRotation, $event)"
|
|
591
|
+
>
|
|
592
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
593
|
+
</div>
|
|
594
|
+
</fieldset>
|
|
595
|
+
</form>
|
|
594
596
|
</kendo-expansionpanel>
|
|
595
|
-
|
|
596
|
-
|
|
597
|
+
</section>
|
|
598
|
+
}
|
|
599
|
+
`, 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", "adaptiveTitle", "adaptiveSubtitle", "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 });
|
|
597
600
|
}
|
|
598
601
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardPropertyPaneFormatTabComponent, decorators: [{
|
|
599
602
|
type: Component,
|
|
@@ -602,425 +605,428 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
602
605
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
603
606
|
template: `
|
|
604
607
|
<section>
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
608
|
+
<kendo-expansionpanel
|
|
609
|
+
[style.max-width.px]="576"
|
|
610
|
+
[title]="messageFor('formatChartArea')"
|
|
611
|
+
[expanded]="true"
|
|
612
|
+
[attr.dir]="stateService.direction"
|
|
610
613
|
>
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
614
|
+
<form class="k-form k-form-md">
|
|
615
|
+
<fieldset class="k-form-fieldset">
|
|
616
|
+
<legend class="k-form-legend">{{ messageFor('formatChartAreaMargins') }}</legend>
|
|
617
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
618
|
+
<kendo-chartwizard-property-pane-form-field
|
|
619
|
+
[text]="messageFor('formatChartAreaMarginsLeft')"
|
|
620
|
+
inputType="numeric"
|
|
621
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
622
|
+
[value]="$any(stateService.state.area.margin).left"
|
|
623
|
+
(valueChange)="updateState(areaMarginLeft, $event)"
|
|
624
|
+
>
|
|
625
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
626
|
+
<kendo-chartwizard-property-pane-form-field
|
|
627
|
+
[text]="messageFor('formatChartAreaMarginsRight')"
|
|
628
|
+
inputType="numeric"
|
|
629
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
630
|
+
[value]="$any(stateService.state.area.margin).right"
|
|
631
|
+
(valueChange)="updateState(areaMarginRight, $event)"
|
|
632
|
+
>
|
|
633
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
634
|
+
<kendo-chartwizard-property-pane-form-field
|
|
635
|
+
[text]="messageFor('formatChartAreaMarginsTop')"
|
|
636
|
+
inputType="numeric"
|
|
637
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
638
|
+
[value]="$any(stateService.state.area.margin).top"
|
|
639
|
+
(valueChange)="updateState(areaMarginTop, $event)"
|
|
640
|
+
>
|
|
641
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
642
|
+
<kendo-chartwizard-property-pane-form-field
|
|
643
|
+
[text]="messageFor('formatChartAreaMarginsBottom')"
|
|
644
|
+
inputType="numeric"
|
|
645
|
+
[placeholder]="messageFor('formatChartAreaMarginsAuto')"
|
|
646
|
+
[value]="$any(stateService.state.area.margin).bottom"
|
|
647
|
+
(valueChange)="updateState(areaMarginBottom, $event)"
|
|
648
|
+
>
|
|
649
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
650
|
+
</div>
|
|
651
|
+
</fieldset>
|
|
652
|
+
<fieldset class="k-form-fieldset">
|
|
653
|
+
<legend class="k-form-legend">{{ messageFor('formatChartAreaBackground') }}</legend>
|
|
654
|
+
<kendo-chartwizard-property-pane-form-field
|
|
655
|
+
[text]="messageFor('formatChartAreaBackgroundColor')"
|
|
656
|
+
inputType="colorPicker"
|
|
657
|
+
[value]="stateService.state.area?.background"
|
|
658
|
+
(valueChange)="updateState(areaBackground, $event)"
|
|
659
|
+
>
|
|
660
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
661
|
+
</fieldset>
|
|
662
|
+
</form>
|
|
663
|
+
</kendo-expansionpanel>
|
|
661
664
|
</section>
|
|
662
665
|
<section>
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
666
|
+
<kendo-expansionpanel
|
|
667
|
+
[style.max-width.px]="576"
|
|
668
|
+
[title]="messageFor('formatTitle')"
|
|
669
|
+
[expanded]="true"
|
|
667
670
|
>
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
671
|
+
<form class="k-form k-form-md">
|
|
672
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
673
|
+
<kendo-chartwizard-property-pane-form-field
|
|
674
|
+
[text]="messageFor('formatTitleApplyTo')"
|
|
675
|
+
inputType="dropDownList"
|
|
676
|
+
[data]="chartTitles"
|
|
677
|
+
[colSpan]="2"
|
|
678
|
+
[value]="stateService.currentTitle"
|
|
679
|
+
(valueChange)="changeCurrentTitle($event)"
|
|
680
|
+
>
|
|
681
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
682
|
+
<kendo-chartwizard-property-pane-form-field
|
|
683
|
+
[text]="messageFor('formatTitleLabel')"
|
|
684
|
+
inputType="text"
|
|
685
|
+
[colSpan]="2"
|
|
686
|
+
[value]="chartTitleTypeText"
|
|
687
|
+
(valueChange)="updateState(chartTitleTypeAction, $event)"
|
|
688
|
+
>
|
|
689
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
690
|
+
<kendo-chartwizard-property-pane-form-field
|
|
691
|
+
[text]="messageFor('formatTitleFont')"
|
|
692
|
+
inputType="comboBox"
|
|
693
|
+
[data]="fontNames"
|
|
694
|
+
[colSpan]="2"
|
|
695
|
+
[value]="chartTitleTypeFont"
|
|
696
|
+
[placeholder]="messageFor('formatTitleFontPlaceholder')"
|
|
697
|
+
(valueChange)="updateState(chartTitleTypeFontAction, $event)"
|
|
698
|
+
>
|
|
699
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
700
|
+
<kendo-chartwizard-property-pane-form-field
|
|
701
|
+
[text]="messageFor('formatTitleSize')"
|
|
702
|
+
inputType="comboBox"
|
|
703
|
+
[placeholder]="messageFor('formatTitleSizePlaceholder')"
|
|
704
|
+
[data]="fontSizes"
|
|
705
|
+
[value]="chartTitleTypeFontSize"
|
|
706
|
+
(valueChange)="updateState(chartTitleTypeFontSizeAction, $event)"
|
|
707
|
+
>
|
|
708
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
709
|
+
<kendo-chartwizard-property-pane-form-field
|
|
710
|
+
[text]="messageFor('formatTitleColor')"
|
|
711
|
+
inputType="colorPicker"
|
|
712
|
+
[value]="chartTitleTypeColor"
|
|
713
|
+
(valueChange)="updateState(chartTitleTypeColorAction, $event)"
|
|
714
|
+
>
|
|
715
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
716
|
+
</div>
|
|
717
|
+
</form>
|
|
718
|
+
</kendo-expansionpanel>
|
|
716
719
|
</section>
|
|
717
720
|
<section>
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
721
|
+
<kendo-expansionpanel
|
|
722
|
+
[style.max-width.px]="576"
|
|
723
|
+
[title]="messageFor('formatLegend')"
|
|
724
|
+
[expanded]="true"
|
|
722
725
|
>
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
726
|
+
<form class="k-form k-form-md">
|
|
727
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
728
|
+
<kendo-label [for]="toggleLegend" [text]="messageFor('formatLegendShowLegend')"></kendo-label>
|
|
729
|
+
<kendo-switch
|
|
730
|
+
#toggleLegend
|
|
731
|
+
onLabel="On"
|
|
732
|
+
offLabel="Off"
|
|
733
|
+
thumbRounded="full"
|
|
734
|
+
size="medium"
|
|
735
|
+
[checked]="stateService.state.legend?.visible"
|
|
736
|
+
(valueChange)="updateState(legendVisible, $event)"
|
|
737
|
+
></kendo-switch>
|
|
738
|
+
<kendo-chartwizard-property-pane-form-field
|
|
739
|
+
[text]="messageFor('formatLegendFont')"
|
|
740
|
+
inputType="comboBox"
|
|
741
|
+
[data]="fontNames"
|
|
742
|
+
[colSpan]="2"
|
|
743
|
+
[placeholder]="messageFor('formatLegendFontPlaceholder')"
|
|
744
|
+
[value]="parseFont(stateService.state.legend?.labels?.font).name"
|
|
745
|
+
(valueChange)="updateState(legendFontName, $event)"
|
|
746
|
+
>
|
|
747
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
748
|
+
<kendo-chartwizard-property-pane-form-field
|
|
749
|
+
[text]="messageFor('formatLegendSize')"
|
|
750
|
+
inputType="comboBox"
|
|
751
|
+
[data]="fontSizes"
|
|
752
|
+
[placeholder]="messageFor('formatLegendSizePlaceholder')"
|
|
753
|
+
[value]="parseFont(stateService.state.legend?.labels?.font).size"
|
|
754
|
+
(valueChange)="updateState(legendFontSize, $event)"
|
|
755
|
+
>
|
|
756
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
757
|
+
<kendo-chartwizard-property-pane-form-field
|
|
758
|
+
[text]="messageFor('formatLegendColor')"
|
|
759
|
+
inputType="colorPicker"
|
|
760
|
+
[value]="stateService.state.legend?.labels?.color"
|
|
761
|
+
(valueChange)="updateState(legendColor, $event)"
|
|
762
|
+
>
|
|
763
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
764
|
+
<kendo-chartwizard-property-pane-form-field
|
|
765
|
+
[text]="messageFor('formatLegendPosition')"
|
|
766
|
+
inputType="dropDownList"
|
|
767
|
+
[colSpan]="2"
|
|
768
|
+
[data]="legendPositions"
|
|
769
|
+
[value]="stateService.state.legend?.position"
|
|
770
|
+
(valueChange)="updateState(legendPosition, $event)"
|
|
771
|
+
>
|
|
772
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
773
|
+
</div>
|
|
774
|
+
</form>
|
|
775
|
+
</kendo-expansionpanel>
|
|
773
776
|
</section>
|
|
774
777
|
<section>
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
778
|
+
<kendo-expansionpanel
|
|
779
|
+
[style.max-width.px]="576"
|
|
780
|
+
[title]="messageFor('formatSeries')"
|
|
781
|
+
[expanded]="true"
|
|
779
782
|
>
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
783
|
+
<form class="k-form k-form-md">
|
|
784
|
+
<div class="k-form-field">
|
|
785
|
+
<kendo-label [for]="seriesDropDown" class="k-form-label" [text]="messageFor('formatSeriesApplyTo')"></kendo-label>
|
|
786
|
+
<div class="k-form-field-wrap">
|
|
787
|
+
<kendo-dropdownlist
|
|
788
|
+
#seriesDropDown
|
|
789
|
+
[data]="seriesData"
|
|
790
|
+
textField="text"
|
|
791
|
+
valueField="name"
|
|
792
|
+
fillMode="outline"
|
|
793
|
+
rounded="medium"
|
|
794
|
+
size="medium"
|
|
795
|
+
[value]="stateService.currentSeries"
|
|
796
|
+
(valueChange)="updateCurrentSeries($event)"
|
|
797
|
+
></kendo-dropdownlist>
|
|
798
|
+
</div>
|
|
799
|
+
</div>
|
|
800
|
+
|
|
801
|
+
<kendo-chartwizard-property-pane-form-field
|
|
802
|
+
[text]="messageFor('formatSeriesColor')"
|
|
803
|
+
[value]="stateService.currentSeries?.color"
|
|
804
|
+
inputType="colorPicker"
|
|
805
|
+
[disabled]="stateService.currentSeries.name === defaultAllSeriesItem.name"
|
|
806
|
+
(valueChange)="updateSeriesColor($event)"
|
|
807
|
+
>
|
|
808
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
809
|
+
<kendo-chartwizard-property-pane-form-field
|
|
810
|
+
[text]="messageFor('formatSeriesShowLabels')"
|
|
811
|
+
[value]="showLabels"
|
|
812
|
+
[isLabelInsideFormFieldWrap]="true"
|
|
813
|
+
[colSpan]="2"
|
|
814
|
+
inputType="checkbox"
|
|
815
|
+
(valueChange)="toggleSeriesLabels($event)"
|
|
816
|
+
>
|
|
817
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
818
|
+
</form>
|
|
819
|
+
</kendo-expansionpanel>
|
|
820
|
+
</section>
|
|
821
|
+
@if (stateService.state.seriesType !== 'pie') {
|
|
822
|
+
<section class="k-row-start-1 k-row-end-3 k-col-start-3">
|
|
823
|
+
<kendo-expansionpanel
|
|
824
|
+
[style.max-width.px]="576"
|
|
825
|
+
[title]="stateService.state.seriesType === 'scatter' ? messageFor('formatXAxis') : messageFor('formatCategoryAxis')"
|
|
826
|
+
[expanded]="true"
|
|
827
|
+
>
|
|
828
|
+
<form class="k-form k-form-md">
|
|
829
|
+
<fieldset class="k-form-fieldset">
|
|
830
|
+
<legend class="k-form-legend">{{ messageFor('formatCategoryAxisTitle') }}</legend>
|
|
831
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
798
832
|
<kendo-chartwizard-property-pane-form-field
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
833
|
+
inputType="text"
|
|
834
|
+
[hasLabel]="false"
|
|
835
|
+
[colSpan]="2"
|
|
836
|
+
[placeholder]="messageFor('formatCategoryAxisTitlePlaceholder')"
|
|
837
|
+
[value]="stateService.state.categoryAxis[0]?.title?.text || null"
|
|
838
|
+
(valueChange)="updateState(categoryAxisTitleText, $event)"
|
|
839
|
+
>
|
|
805
840
|
</kendo-chartwizard-property-pane-form-field>
|
|
806
841
|
<kendo-chartwizard-property-pane-form-field
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
842
|
+
[text]="messageFor('formatCategoryAxisTitleFont')"
|
|
843
|
+
inputType="comboBox"
|
|
844
|
+
[data]="fontNames"
|
|
845
|
+
[colSpan]="2"
|
|
846
|
+
[placeholder]="messageFor('formatCategoryAxisTitleFontPlaceholder')"
|
|
847
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.title?.font).name"
|
|
848
|
+
(valueChange)="updateState(categoryAxisTitleFontName, $event)"
|
|
849
|
+
>
|
|
814
850
|
</kendo-chartwizard-property-pane-form-field>
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
[value]="parseFont(stateService.state.categoryAxis[0]?.labels?.font).size"
|
|
884
|
-
(valueChange)="updateState(categoryAxisLabelsFontSize, $event)"
|
|
885
|
-
>
|
|
886
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
887
|
-
<kendo-chartwizard-property-pane-form-field
|
|
888
|
-
[text]="messageFor('formatCategoryAxisLabelsColor')"
|
|
889
|
-
inputType="colorPicker"
|
|
890
|
-
[value]="stateService.state.categoryAxis[0]?.labels?.color"
|
|
891
|
-
(valueChange)="updateState(categoryAxisLabelsColor, $event)"
|
|
892
|
-
>
|
|
893
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
894
|
-
<kendo-chartwizard-property-pane-form-field
|
|
895
|
-
[text]="messageFor('formatCategoryAxisLabelsRotation')"
|
|
896
|
-
inputType="dropDownList"
|
|
897
|
-
[data]="labelsCategoryAxisRotation"
|
|
898
|
-
[value]="stateService.state.categoryAxis[0]?.labels?.rotation"
|
|
899
|
-
(valueChange)="updateState(categoryAxisLabelsRotation, $event)"
|
|
900
|
-
>
|
|
901
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
902
|
-
<span></span>
|
|
903
|
-
<kendo-chartwizard-property-pane-form-field
|
|
904
|
-
[text]="messageFor('formatCategoryAxisLabelsReverseOrder')"
|
|
905
|
-
[isLabelInsideFormFieldWrap]="true"
|
|
906
|
-
inputType="checkbox"
|
|
907
|
-
[colSpan]="2"
|
|
908
|
-
[value]="stateService.state.categoryAxis[0]?.reverse"
|
|
909
|
-
(valueChange)="updateState(categoryAxisReverseOrder, $event)"
|
|
910
|
-
>
|
|
911
|
-
</kendo-chartwizard-property-pane-form-field>
|
|
912
|
-
</div>
|
|
913
|
-
</fieldset>
|
|
914
|
-
</form>
|
|
851
|
+
<kendo-chartwizard-property-pane-form-field
|
|
852
|
+
[text]="messageFor('formatCategoryAxisTitleSize')"
|
|
853
|
+
inputType="comboBox"
|
|
854
|
+
[placeholder]="messageFor('formatCategoryAxisTitleSizePlaceholder')"
|
|
855
|
+
[data]="fontSizes"
|
|
856
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.title?.font).size"
|
|
857
|
+
(valueChange)="updateState(categoryAxisTitleFontSize, $event)"
|
|
858
|
+
>
|
|
859
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
860
|
+
<kendo-chartwizard-property-pane-form-field
|
|
861
|
+
[text]="messageFor('formatCategoryAxisTitleColor')"
|
|
862
|
+
inputType="colorPicker"
|
|
863
|
+
[value]="stateService.state.categoryAxis[0]?.title?.color"
|
|
864
|
+
(valueChange)="updateState(categoryAxisTitleColor, $event)"
|
|
865
|
+
>
|
|
866
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
867
|
+
</div>
|
|
868
|
+
</fieldset>
|
|
869
|
+
<fieldset class="k-form-fieldset">
|
|
870
|
+
<legend class="k-form-legend">{{ messageFor('formatCategoryAxisLabels') }}</legend>
|
|
871
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
872
|
+
<kendo-chartwizard-property-pane-form-field
|
|
873
|
+
[text]="messageFor('formatCategoryAxisLabelsFont')"
|
|
874
|
+
inputType="comboBox"
|
|
875
|
+
[data]="fontNames"
|
|
876
|
+
[colSpan]="2"
|
|
877
|
+
[placeholder]="messageFor('formatCategoryAxisLabelsFontPlaceholder')"
|
|
878
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.labels?.font).name"
|
|
879
|
+
(valueChange)="updateState(categoryAxisLabelsFontName, $event)"
|
|
880
|
+
>
|
|
881
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
882
|
+
<kendo-chartwizard-property-pane-form-field
|
|
883
|
+
[text]="messageFor('formatCategoryAxisLabelsSize')"
|
|
884
|
+
inputType="comboBox"
|
|
885
|
+
[data]="fontSizes"
|
|
886
|
+
[placeholder]="messageFor('formatCategoryAxisLabelsSizePlaceholder')"
|
|
887
|
+
[value]="parseFont(stateService.state.categoryAxis[0]?.labels?.font).size"
|
|
888
|
+
(valueChange)="updateState(categoryAxisLabelsFontSize, $event)"
|
|
889
|
+
>
|
|
890
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
891
|
+
<kendo-chartwizard-property-pane-form-field
|
|
892
|
+
[text]="messageFor('formatCategoryAxisLabelsColor')"
|
|
893
|
+
inputType="colorPicker"
|
|
894
|
+
[value]="stateService.state.categoryAxis[0]?.labels?.color"
|
|
895
|
+
(valueChange)="updateState(categoryAxisLabelsColor, $event)"
|
|
896
|
+
>
|
|
897
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
898
|
+
<kendo-chartwizard-property-pane-form-field
|
|
899
|
+
[text]="messageFor('formatCategoryAxisLabelsRotation')"
|
|
900
|
+
inputType="dropDownList"
|
|
901
|
+
[data]="labelsCategoryAxisRotation"
|
|
902
|
+
[value]="stateService.state.categoryAxis[0]?.labels?.rotation"
|
|
903
|
+
(valueChange)="updateState(categoryAxisLabelsRotation, $event)"
|
|
904
|
+
>
|
|
905
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
906
|
+
<span></span>
|
|
907
|
+
<kendo-chartwizard-property-pane-form-field
|
|
908
|
+
[text]="messageFor('formatCategoryAxisLabelsReverseOrder')"
|
|
909
|
+
[isLabelInsideFormFieldWrap]="true"
|
|
910
|
+
inputType="checkbox"
|
|
911
|
+
[colSpan]="2"
|
|
912
|
+
[value]="stateService.state.categoryAxis[0]?.reverse"
|
|
913
|
+
(valueChange)="updateState(categoryAxisReverseOrder, $event)"
|
|
914
|
+
>
|
|
915
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
916
|
+
</div>
|
|
917
|
+
</fieldset>
|
|
918
|
+
</form>
|
|
915
919
|
</kendo-expansionpanel>
|
|
916
|
-
|
|
917
|
-
|
|
920
|
+
</section>
|
|
921
|
+
}
|
|
922
|
+
@if (stateService.state.seriesType !== 'pie') {
|
|
923
|
+
<section class="k-row-start-1 k-row-end-3 k-col-start-4">
|
|
918
924
|
<kendo-expansionpanel
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
925
|
+
[style.max-width.px]="576"
|
|
926
|
+
[title]="stateService.state.seriesType === 'scatter' ? messageFor('formatYAxis') : messageFor('formatValueAxis')"
|
|
927
|
+
[expanded]="true"
|
|
928
|
+
>
|
|
929
|
+
<form class="k-form k-form-md">
|
|
930
|
+
<fieldset class="k-form-fieldset">
|
|
931
|
+
<legend class="k-form-legend">{{ messageFor('formatValueAxisTitle') }}</legend>
|
|
932
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
933
|
+
<kendo-chartwizard-property-pane-form-field
|
|
934
|
+
inputType="text"
|
|
935
|
+
[hasLabel]="false"
|
|
936
|
+
[colSpan]="2"
|
|
937
|
+
[placeholder]="messageFor('formatValueAxisTitlePlaceholder')"
|
|
938
|
+
[value]="stateService.state.valueAxis[0]?.title?.text || null"
|
|
939
|
+
(valueChange)="updateState(valueAxisTitleText, $event)"
|
|
940
|
+
>
|
|
941
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
942
|
+
<kendo-chartwizard-property-pane-form-field
|
|
943
|
+
[text]="messageFor('formatValueAxisTitleFont')"
|
|
944
|
+
inputType="comboBox"
|
|
945
|
+
[colSpan]="2"
|
|
946
|
+
[data]="fontNames"
|
|
947
|
+
[placeholder]="messageFor('formatValueAxisTitleFontPlaceholder')"
|
|
948
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.title?.font).name"
|
|
949
|
+
(valueChange)="updateState(valueAxisTitleFontName, $event)"
|
|
950
|
+
>
|
|
951
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
952
|
+
<kendo-chartwizard-property-pane-form-field
|
|
953
|
+
[text]="messageFor('formatValueAxisTitleSize')"
|
|
954
|
+
inputType="comboBox"
|
|
955
|
+
[placeholder]="messageFor('formatValueAxisTitleSizePlaceholder')"
|
|
956
|
+
[data]="fontSizes"
|
|
957
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.title?.font).size"
|
|
958
|
+
(valueChange)="updateState(valueAxisTitleFontSize, $event)"
|
|
959
|
+
>
|
|
960
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
961
|
+
<kendo-chartwizard-property-pane-form-field
|
|
962
|
+
[text]="messageFor('formatValueAxisTitleColor')"
|
|
963
|
+
inputType="colorPicker"
|
|
964
|
+
[value]="stateService.state.valueAxis[0]?.title?.color"
|
|
965
|
+
(valueChange)="updateState(valueAxisTitleColor, $event)"
|
|
966
|
+
>
|
|
967
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
968
|
+
</div>
|
|
969
|
+
</fieldset>
|
|
970
|
+
<fieldset class="k-form-fieldset">
|
|
971
|
+
<legend class="k-form-legend">{{ messageFor('formatValueAxisLabels') }}</legend>
|
|
972
|
+
<div class="k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4">
|
|
973
|
+
<kendo-chartwizard-property-pane-form-field
|
|
974
|
+
[text]="messageFor('formatValueAxisLabelsFormat')"
|
|
975
|
+
[colSpan]="2"
|
|
976
|
+
inputType="dropDownList"
|
|
977
|
+
[data]="labelFormats"
|
|
978
|
+
[value]="labelFormatValue"
|
|
979
|
+
(valueChange)="updateState(valueAxisLabelsFormat, $event)"
|
|
980
|
+
>
|
|
981
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
982
|
+
<kendo-chartwizard-property-pane-form-field
|
|
983
|
+
[text]="messageFor('formatValueAxisLabelsFont')"
|
|
984
|
+
inputType="comboBox"
|
|
985
|
+
[data]="fontNames"
|
|
986
|
+
[colSpan]="2"
|
|
987
|
+
[placeholder]="messageFor('formatValueAxisLabelsFontPlaceholder')"
|
|
988
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.labels?.font).name"
|
|
989
|
+
(valueChange)="updateState(valueAxisLabelsFontName, $event)"
|
|
990
|
+
>
|
|
991
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
992
|
+
<kendo-chartwizard-property-pane-form-field
|
|
993
|
+
[text]="messageFor('formatValueAxisLabelsSize')"
|
|
994
|
+
inputType="comboBox"
|
|
995
|
+
[data]="fontSizes"
|
|
996
|
+
[placeholder]="messageFor('formatValueAxisLabelsSizePlaceholder')"
|
|
997
|
+
[value]="parseFont(stateService.state.valueAxis[0]?.labels?.font).size"
|
|
998
|
+
(valueChange)="updateState(valueAxisLabelsFontSize, $event)"
|
|
999
|
+
>
|
|
1000
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
1001
|
+
<kendo-chartwizard-property-pane-form-field
|
|
1002
|
+
[text]="messageFor('formatValueAxisLabelsColor')"
|
|
1003
|
+
inputType="colorPicker"
|
|
1004
|
+
[value]="stateService.state.valueAxis[0]?.labels?.color"
|
|
1005
|
+
(valueChange)="updateState(valueAxisLabelsColor, $event)"
|
|
1006
|
+
>
|
|
1007
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
1008
|
+
<kendo-chartwizard-property-pane-form-field
|
|
1009
|
+
[text]="messageFor('formatValueAxisLabelsRotation')"
|
|
1010
|
+
inputType="dropDownList"
|
|
1011
|
+
[data]="labelsValueAxisRotation"
|
|
1012
|
+
[value]="stateService.state.valueAxis[0]?.labels?.rotation"
|
|
1013
|
+
(valueChange)="updateState(valueAxisLabelsRotation, $event)"
|
|
1014
|
+
>
|
|
1015
|
+
</kendo-chartwizard-property-pane-form-field>
|
|
1016
|
+
</div>
|
|
1017
|
+
</fieldset>
|
|
1018
|
+
</form>
|
|
1013
1019
|
</kendo-expansionpanel>
|
|
1014
|
-
|
|
1015
|
-
|
|
1020
|
+
</section>
|
|
1021
|
+
}
|
|
1022
|
+
`,
|
|
1016
1023
|
standalone: true,
|
|
1017
1024
|
imports: [
|
|
1018
1025
|
ExpansionPanelComponent,
|
|
1019
1026
|
ChartWizardPropertyPaneFormFieldComponent,
|
|
1020
1027
|
LabelComponent,
|
|
1021
1028
|
SwitchComponent,
|
|
1022
|
-
DropDownListComponent
|
|
1023
|
-
NgIf
|
|
1029
|
+
DropDownListComponent
|
|
1024
1030
|
]
|
|
1025
1031
|
}]
|
|
1026
1032
|
}], ctorParameters: () => [{ type: i1.StateService }, { type: i2.ChartWizardLocalizationService }, { type: i0.ChangeDetectorRef }] });
|