diff --git a/samples/charts/category-chart/data-aggregations/src/app.component.html b/samples/charts/category-chart/data-aggregations/src/app.component.html
index d713c7f69..4a421c959 100644
--- a/samples/charts/category-chart/data-aggregations/src/app.component.html
+++ b/samples/charts/category-chart/data-aggregations/src/app.component.html
@@ -9,7 +9,7 @@
name="propertyEditorPanel1"
#propertyEditorPanel1>
+ primitiveValue="Country"
+ (changed)="this.editorChangeUpdateInitialGroups($event)">
+ primitiveValue="Sum(Sales) as Sales"
+ (changed)="this.editorChangeUpdateInitialSummaries($event)">
+ primitiveValue="Sales Desc"
+ (changed)="this.editorChangeUpdateGroupSorts($event)">
diff --git a/samples/charts/category-chart/data-aggregations/src/app.component.ts b/samples/charts/category-chart/data-aggregations/src/app.component.ts
index c0c93e81b..683af4877 100644
--- a/samples/charts/category-chart/data-aggregations/src/app.component.ts
+++ b/samples/charts/category-chart/data-aggregations/src/app.component.ts
@@ -1,8 +1,10 @@
import { AfterViewInit, Component, ViewChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
import { ComponentRenderer, PropertyEditorPanelDescriptionModule, LegendDescriptionModule, CategoryChartDescriptionModule } from 'igniteui-angular-core';
import { SalesData } from './SalesData';
-import { IgxPropertyEditorPanelComponent, IgxPropertyEditorPropertyDescriptionComponent } from 'igniteui-angular-layouts';
-import { IgxCategoryChartComponent } from 'igniteui-angular-charts';
+import { IgxPropertyEditorPropertyDescriptionChangedEventArgs, IgxPropertyEditorPropertyDescriptionComponent } from 'igniteui-angular-layouts';
+import { IgxCategoryChartComponent, MarkerType, MarkerType_$type } from 'igniteui-angular-charts';
+import { EnumUtil } from 'igniteui-angular-core';
+import { IgxPropertyEditorPanelComponent } from 'igniteui-angular-layouts';
import { defineAllComponents } from 'igniteui-webcomponents';
@@ -57,5 +59,23 @@ export class AppComponent implements AfterViewInit
{
}
+ public editorChangeUpdateInitialGroups({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void {
+
+ var intialGroupVal = args.newValue.toString();
+ chart.initialGroups = intialGroupVal;
+ }
+
+ public editorChangeUpdateInitialSummaries({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void {
+
+ var intialSummaryVal = args.newValue.toString();
+ chart.initialSummaries = intialSummaryVal;
+ }
+
+ public editorChangeUpdateGroupSorts({ sender, args }: { sender: any, args: IgxPropertyEditorPropertyDescriptionChangedEventArgs }): void {
+
+ var groupSortsVal = args.newValue.toString();
+ chart.groupSorts = groupSortsVal;
+ }
+
}