Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 23 additions & 18 deletions samples/charts/category-chart/annotations-all/src/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,22 @@ defineAllComponents();
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("crosshairsDisplayModeEditor", { static: true } )
private crosshairsDisplayModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("highlightingModeEditor", { static: true } )
private highlightingModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("calloutsVisibleEditor", { static: true } )
private calloutsVisibleEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("finalValueAnnotationsEditor", { static: true } )
private finalValueAnnotationsEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent

export class AppComponent implements AfterViewInit
{

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("crosshairsDisplayModeEditor", { static: true } )
private crosshairsDisplayModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("highlightingModeEditor", { static: true } )
private highlightingModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("calloutsVisibleEditor", { static: true } )
private calloutsVisibleEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("finalValueAnnotationsEditor", { static: true } )
private finalValueAnnotationsEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
public get temperatureAnnotatedData(): TemperatureAnnotatedData {
if (this._temperatureAnnotatedData == null)
Expand All @@ -53,5 +50,13 @@ export class AppComponent {
return this._componentRenderer;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ defineAllComponents();
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("calloutsVisibleEditor", { static: true } )
private calloutsVisibleEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
export class AppComponent implements AfterViewInit
{

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("calloutsVisibleEditor", { static: true } )
private calloutsVisibleEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
public get temperatureAnnotatedData(): TemperatureAnnotatedData {
if (this._temperatureAnnotatedData == null)
Expand All @@ -47,5 +44,13 @@ export class AppComponent {
return this._componentRenderer;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,18 @@ defineAllComponents();
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("crosshairsDisplayModeEditor", { static: true } )
private crosshairsDisplayModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("crosshairsSnapToDataEditor", { static: true } )
private crosshairsSnapToDataEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent

export class AppComponent implements AfterViewInit
{

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("crosshairsDisplayModeEditor", { static: true } )
private crosshairsDisplayModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("crosshairsSnapToDataEditor", { static: true } )
private crosshairsSnapToDataEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
public get temperatureAnnotatedData(): TemperatureAnnotatedData {
if (this._temperatureAnnotatedData == null)
Expand All @@ -49,5 +46,13 @@ export class AppComponent {
return this._componentRenderer;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ defineAllComponents();
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("calloutsVisibleEditor", { static: true } )
private calloutsVisibleEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
export class AppComponent implements AfterViewInit
{

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("calloutsVisibleEditor", { static: true } )
private calloutsVisibleEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
public get temperatureAnnotatedData(): TemperatureAnnotatedData {
if (this._temperatureAnnotatedData == null)
Expand All @@ -47,5 +44,13 @@ export class AppComponent {
return this._componentRenderer;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ defineAllComponents();
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("finalValueAnnotationsEditor", { static: true } )
private finalValueAnnotationsEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
export class AppComponent implements AfterViewInit
{

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("finalValueAnnotationsEditor", { static: true } )
private finalValueAnnotationsEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
public get temperatureAnnotatedData(): TemperatureAnnotatedData {
if (this._temperatureAnnotatedData == null)
Expand All @@ -47,5 +44,13 @@ export class AppComponent {
return this._componentRenderer;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,18 @@ defineAllComponents();
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("highlightingModeEditor", { static: true } )
private highlightingModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("highlightingBehaviorEditor", { static: true } )
private highlightingBehaviorEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent

export class AppComponent implements AfterViewInit
{

@ViewChild("propertyEditor", { static: true } )
private propertyEditor: IgxPropertyEditorPanelComponent
@ViewChild("highlightingModeEditor", { static: true } )
private highlightingModeEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("highlightingBehaviorEditor", { static: true } )
private highlightingBehaviorEditor: IgxPropertyEditorPropertyDescriptionComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _temperatureAnnotatedData: TemperatureAnnotatedData = null;
public get temperatureAnnotatedData(): TemperatureAnnotatedData {
if (this._temperatureAnnotatedData == null)
Expand All @@ -49,5 +46,13 @@ export class AppComponent {
return this._componentRenderer;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ import { IgxLegendComponent, IgxCategoryChartComponent } from 'igniteui-angular-
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("legend", { static: true } )
private legend: IgxLegendComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
export class AppComponent implements AfterViewInit
{

@ViewChild("legend", { static: true } )
private legend: IgxLegendComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _countryRenewableElectricity: CountryRenewableElectricity = null;
public get countryRenewableElectricity(): CountryRenewableElectricity {
if (this._countryRenewableElectricity == null)
Expand All @@ -28,5 +25,13 @@ export class AppComponent {
return this._countryRenewableElectricity;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ import { IgxCategoryChartComponent } from 'igniteui-angular-charts';
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
export class AppComponent implements AfterViewInit
{

@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _countryRenewableElectricity: CountryRenewableElectricity = null;
public get countryRenewableElectricity(): CountryRenewableElectricity {
if (this._countryRenewableElectricity == null)
Expand All @@ -26,5 +23,13 @@ export class AppComponent {
return this._countryRenewableElectricity;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ import { IgxLegendComponent, IgxCategoryChartComponent } from 'igniteui-angular-
templateUrl: "./app.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AppComponent {

public constructor(private _detector: ChangeDetectorRef) {

}

@ViewChild("legend", { static: true } )
private legend: IgxLegendComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
export class AppComponent implements AfterViewInit
{

@ViewChild("legend", { static: true } )
private legend: IgxLegendComponent
@ViewChild("chart", { static: true } )
private chart: IgxCategoryChartComponent
private _countryRenewableElectricity: CountryRenewableElectricity = null;
public get countryRenewableElectricity(): CountryRenewableElectricity {
if (this._countryRenewableElectricity == null)
Expand All @@ -28,5 +25,13 @@ export class AppComponent {
return this._countryRenewableElectricity;
}

public constructor(private _detector: ChangeDetectorRef)
{
}

public ngAfterViewInit(): void
{
}

}

Loading