Skip to content

Commit

Permalink
refactor(templates): update charts imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofdiamond5 committed Dec 7, 2023
1 parent fbc9358 commit b8f36c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Component } from '@angular/core';
import { CategoryChartType, IgxCategoryChartCoreModule } from 'igniteui-angular-charts';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { CategoryChartType, IgxCategoryChartModule } from 'igniteui-angular-charts';
import { FormsModule } from '@angular/forms';

@Component({
selector: 'app-<%=filePrefix%>',
templateUrl: './<%=filePrefix%>.component.html',
styleUrls: ['./<%=filePrefix%>.component.scss'],
standalone: true,
imports: [ReactiveFormsModule, FormsModule, IgxCategoryChartCoreModule]
imports: [FormsModule, IgxCategoryChartModule]
})
export class <%=ClassName%>Component {
public chartType = CategoryChartType.Auto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Component } from '@angular/core';
import { AMZNData, Stock } from './data';
import { IgxFinancialChartCoreModule } from 'igniteui-angular-charts';
import { IgxFinancialChartModule } from 'igniteui-angular-charts';

@Component({
selector: 'app-<%=filePrefix%>',
templateUrl: './<%=filePrefix%>.component.html',
styleUrls: ['./<%=filePrefix%>.component.scss'],
standalone: true,
imports: [IgxFinancialChartCoreModule]
imports: [IgxFinancialChartModule]
})
export class <%=ClassName%>Component {
public data: Stock[] = AMZNData;
Expand Down

0 comments on commit b8f36c3

Please sign in to comment.