Browse Source
Task/widen input types in investment chart component (#7966)
Widen input types
pull/7972/head
Kenrick Tandrian
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
4 deletions
-
apps/client/src/app/components/investment-chart/investment-chart.component.ts
|
|
|
@ -56,13 +56,13 @@ export class GfInvestmentChartComponent implements OnChanges, OnDestroy { |
|
|
|
@Input() public benchmarkDataItems: InvestmentItem[] = []; |
|
|
|
@Input() public benchmarkDataLabel = ''; |
|
|
|
@Input() public colorScheme: ColorScheme; |
|
|
|
@Input() public currency: string; |
|
|
|
@Input() public currency?: string; |
|
|
|
@Input() public groupBy: GroupBy; |
|
|
|
@Input() public historicalDataItems: LineChartItem[] = []; |
|
|
|
@Input() public isInPercentage = false; |
|
|
|
@Input() public isInPercentage?: boolean = false; |
|
|
|
@Input() public isLoading = false; |
|
|
|
@Input() public locale = getLocale(); |
|
|
|
@Input() public savingsRate = 0; |
|
|
|
@Input() public locale?: string = getLocale(); |
|
|
|
@Input() public savingsRate?: number = 0; |
|
|
|
|
|
|
|
private readonly chartCanvas = |
|
|
|
viewChild.required<ElementRef<HTMLCanvasElement>>('chartCanvas'); |
|
|
|
|