Skip to content

Commit e81b100

Browse files
azure-pipelines[bot]tfsbuild
andauthored
Adding changes from build igniteui-xplat-examples-output+PRs_2024.1.15.2 (#113)
Co-authored-by: tfsbuild <tfsbuild@infragistics.com>
1 parent 5e62a9b commit e81b100

File tree

6 files changed

+29
-14
lines changed

6 files changed

+29
-14
lines changed

samples/charts/category-chart/axis-range/src/app.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99
name="propertyEditorPanel1"
1010
#propertyEditorPanel1>
1111
<igx-property-editor-property-description
12-
propertyPath="YAxisMinimumValue"
12+
propertyPath="YAxisMinimumValueHandler"
1313
name="YAxisMinimumValue"
1414
#yAxisMinimumValue
1515
label="Y Axis Minimum Value"
1616
shouldOverrideDefaultEditor="true"
1717
valueType="EnumValue"
1818
dropDownNames="0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100"
1919
dropDownValues="0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100"
20-
primitiveValue="0">
20+
(changed)="this.editorChangeUpdateYAxisMinimumValue($event)">
2121
</igx-property-editor-property-description>
2222
<igx-property-editor-property-description
23-
propertyPath="YAxisMaximumValue"
23+
propertyPath="YAxisMaximumValueHandler"
2424
name="YAxisMaximumValue"
2525
#yAxisMaximumValue
2626
label="Y Axis Maximum Value"
2727
shouldOverrideDefaultEditor="true"
2828
valueType="EnumValue"
2929
dropDownNames="100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200"
3030
dropDownValues="100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200"
31-
primitiveValue="150">
31+
(changed)="this.editorChangeUpdateYAxisMaximumValue($event)">
3232
</igx-property-editor-property-description>
3333
</igx-property-editor-panel>
3434
</div>

samples/charts/category-chart/axis-range/src/app.component.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { AfterViewInit, Component, ViewChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
22
import { ComponentRenderer, PropertyEditorPanelDescriptionModule, LegendDescriptionModule, CategoryChartDescriptionModule } from 'igniteui-angular-core';
33
import { CountryRenewableElectricityItem, CountryRenewableElectricity } from './CountryRenewableElectricity';
4-
import { IgxLegendComponent, IgxCategoryChartComponent } from 'igniteui-angular-charts';
5-
import { IgxPropertyEditorPanelComponent, IgxPropertyEditorPropertyDescriptionComponent } from 'igniteui-angular-layouts';
4+
import { IgxPropertyEditorPropertyDescriptionChangedEventArgs, IgxPropertyEditorPropertyDescriptionComponent } from 'igniteui-angular-layouts';
5+
import { IgxCategoryChartComponent, MarkerType, MarkerType_$type } from 'igniteui-angular-charts';
6+
import { EnumUtil } from 'igniteui-angular-core';
7+
import { IgxLegendComponent } from 'igniteui-angular-charts';
8+
import { IgxPropertyEditorPanelComponent } from 'igniteui-angular-layouts';
69

710
import { defineAllComponents } from 'igniteui-webcomponents';
811

@@ -57,5 +60,17 @@ export class AppComponent implements AfterViewInit
5760
{
5861
}
5962

63+
public editorChangeUpdateYAxisMinimumValue({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void {
64+
65+
var yAxisMinimumVal = args.newValue;
66+
this.chart.yAxisMinimumValue = parseInt(yAxisMinimumVal);
67+
}
68+
69+
public editorChangeUpdateYAxisMaximumValue({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void {
70+
71+
var yAxisMaximumVal = args.newValue;
72+
this.chart.yAxisMaximumValue = parseInt(yAxisMaximumVal);
73+
}
74+
6075
}
6176

samples/charts/category-chart/chart-highlight-filter/src/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
name="HighlightedValuesDisplayModeEditor"
1414
#highlightedValuesDisplayModeEditor
1515
label="Highlight Display Mode: "
16-
primitiveValue="Overlay">
16+
primitiveValue="Hidden">
1717
</igx-property-editor-property-description>
1818
</igx-property-editor-panel>
1919
</div>
@@ -25,7 +25,7 @@
2525
[dataSource]="salesData"
2626
initialGroups="MonthName"
2727
initialHighlightFilter="Country ne 'UK'"
28-
highlightedValuesDisplayMode="Overlay">
28+
highlightedValuesDisplayMode="Hidden">
2929
</igx-category-chart>
3030
</div>
3131
</div>

samples/charts/data-chart/chart-highlight-filter-datasource/src/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
name="HighlightedValuesDisplayModeEditor"
1414
#highlightedValuesDisplayModeEditor
1515
label="Highlight Display Mode: "
16-
primitiveValue="Overlay">
16+
primitiveValue="Hidden">
1717
</igx-property-editor-property-description>
1818
</igx-property-editor-panel>
1919
</div>
2020
<div class="container fill">
2121
<igx-data-chart
2222
shouldAutoExpandMarginForInitialLabels="true"
2323
computedPlotAreaMarginMode="Series"
24-
highlightedValuesDisplayMode="Overlay"
24+
highlightedValuesDisplayMode="Hidden"
2525
name="chart"
2626
#chart>
2727
<igx-category-x-axis

samples/charts/data-chart/chart-highlight-filter-multiple-series/src/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
name="HighlightedValuesDisplayModeEditor"
1414
#highlightedValuesDisplayModeEditor
1515
label="Highlight Display Mode: "
16-
primitiveValue="Overlay">
16+
primitiveValue="Hidden">
1717
</igx-property-editor-property-description>
1818
</igx-property-editor-panel>
1919
</div>
@@ -23,7 +23,7 @@
2323
computedPlotAreaMarginMode="Series"
2424
name="chart"
2525
#chart
26-
highlightedValuesDisplayMode="Overlay">
26+
highlightedValuesDisplayMode="Hidden">
2727
<igx-category-x-axis
2828
name="xAxis"
2929
#xAxis

samples/charts/data-chart/chart-highlight-filter/src/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
name="HighlightedValuesDisplayModeEditor"
1414
#highlightedValuesDisplayModeEditor
1515
label="Highlight Display Mode: "
16-
primitiveValue="Overlay">
16+
primitiveValue="Hidden">
1717
</igx-property-editor-property-description>
1818
</igx-property-editor-panel>
1919
</div>
2020
<div class="container fill">
2121
<igx-data-chart
2222
shouldAutoExpandMarginForInitialLabels="true"
2323
computedPlotAreaMarginMode="Series"
24-
highlightedValuesDisplayMode="Overlay"
24+
highlightedValuesDisplayMode="Hidden"
2525
name="chart"
2626
#chart>
2727
<igx-category-x-axis

0 commit comments

Comments
 (0)