From 4a4a0ad83e70732c854540462770cdd32bc3d93c Mon Sep 17 00:00:00 2001 From: tfsbuild Date: Mon, 15 Jan 2024 13:50:39 -0500 Subject: [PATCH] Adding changes from build igniteui-xplat-examples-output+PRs_2024.1.15.2 --- .../axis-range/src/app.component.html | 8 ++++---- .../axis-range/src/app.component.ts | 19 +++++++++++++++++-- .../src/app.component.html | 4 ++-- .../src/app.component.html | 4 ++-- .../src/app.component.html | 4 ++-- .../src/app.component.html | 4 ++-- 6 files changed, 29 insertions(+), 14 deletions(-) diff --git a/samples/charts/category-chart/axis-range/src/app.component.html b/samples/charts/category-chart/axis-range/src/app.component.html index ae60a06c7..34c268c3f 100644 --- a/samples/charts/category-chart/axis-range/src/app.component.html +++ b/samples/charts/category-chart/axis-range/src/app.component.html @@ -9,7 +9,7 @@ name="propertyEditorPanel1" #propertyEditorPanel1> + (changed)="this.editorChangeUpdateYAxisMinimumValue($event)"> + (changed)="this.editorChangeUpdateYAxisMaximumValue($event)"> diff --git a/samples/charts/category-chart/axis-range/src/app.component.ts b/samples/charts/category-chart/axis-range/src/app.component.ts index b4a0e8ea8..be58fb3b2 100644 --- a/samples/charts/category-chart/axis-range/src/app.component.ts +++ b/samples/charts/category-chart/axis-range/src/app.component.ts @@ -1,8 +1,11 @@ import { AfterViewInit, Component, ViewChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core'; import { ComponentRenderer, PropertyEditorPanelDescriptionModule, LegendDescriptionModule, CategoryChartDescriptionModule } from 'igniteui-angular-core'; import { CountryRenewableElectricityItem, CountryRenewableElectricity } from './CountryRenewableElectricity'; -import { IgxLegendComponent, IgxCategoryChartComponent } from 'igniteui-angular-charts'; -import { IgxPropertyEditorPanelComponent, IgxPropertyEditorPropertyDescriptionComponent } from 'igniteui-angular-layouts'; +import { IgxPropertyEditorPropertyDescriptionChangedEventArgs, IgxPropertyEditorPropertyDescriptionComponent } from 'igniteui-angular-layouts'; +import { IgxCategoryChartComponent, MarkerType, MarkerType_$type } from 'igniteui-angular-charts'; +import { EnumUtil } from 'igniteui-angular-core'; +import { IgxLegendComponent } from 'igniteui-angular-charts'; +import { IgxPropertyEditorPanelComponent } from 'igniteui-angular-layouts'; import { defineAllComponents } from 'igniteui-webcomponents'; @@ -57,5 +60,17 @@ export class AppComponent implements AfterViewInit { } + public editorChangeUpdateYAxisMinimumValue({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void { + + var yAxisMinimumVal = args.newValue; + this.chart.yAxisMinimumValue = parseInt(yAxisMinimumVal); + } + + public editorChangeUpdateYAxisMaximumValue({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void { + + var yAxisMaximumVal = args.newValue; + this.chart.yAxisMaximumValue = parseInt(yAxisMaximumVal); + } + } diff --git a/samples/charts/category-chart/chart-highlight-filter/src/app.component.html b/samples/charts/category-chart/chart-highlight-filter/src/app.component.html index 969b3f6c5..4dc5ba354 100644 --- a/samples/charts/category-chart/chart-highlight-filter/src/app.component.html +++ b/samples/charts/category-chart/chart-highlight-filter/src/app.component.html @@ -13,7 +13,7 @@ name="HighlightedValuesDisplayModeEditor" #highlightedValuesDisplayModeEditor label="Highlight Display Mode: " - primitiveValue="Overlay"> + primitiveValue="Hidden"> @@ -25,7 +25,7 @@ [dataSource]="salesData" initialGroups="MonthName" initialHighlightFilter="Country ne 'UK'" - highlightedValuesDisplayMode="Overlay"> + highlightedValuesDisplayMode="Hidden"> diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/src/app.component.html b/samples/charts/data-chart/chart-highlight-filter-datasource/src/app.component.html index 1409f7c06..7faafa2af 100644 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/src/app.component.html +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/src/app.component.html @@ -13,7 +13,7 @@ name="HighlightedValuesDisplayModeEditor" #highlightedValuesDisplayModeEditor label="Highlight Display Mode: " - primitiveValue="Overlay"> + primitiveValue="Hidden"> @@ -21,7 +21,7 @@ + primitiveValue="Hidden"> @@ -23,7 +23,7 @@ computedPlotAreaMarginMode="Series" name="chart" #chart - highlightedValuesDisplayMode="Overlay"> + highlightedValuesDisplayMode="Hidden"> + primitiveValue="Hidden"> @@ -21,7 +21,7 @@