|
|
@ -21,6 +21,7 @@ import type { |
|
|
GroupBy, |
|
|
GroupBy, |
|
|
ToggleOption |
|
|
ToggleOption |
|
|
} from '@ghostfolio/common/types'; |
|
|
} from '@ghostfolio/common/types'; |
|
|
|
|
|
import { PerformanceCalculationType } from '@ghostfolio/common/types/performance-calculation-type.type'; |
|
|
import { translate } from '@ghostfolio/ui/i18n'; |
|
|
import { translate } from '@ghostfolio/ui/i18n'; |
|
|
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|
|
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
@ -99,6 +100,7 @@ export class GfAnalysisPageComponent implements OnInit { |
|
|
{ label: $localize`Yearly`, value: 'year' } |
|
|
{ label: $localize`Yearly`, value: 'year' } |
|
|
]; |
|
|
]; |
|
|
protected performance: PortfolioPerformance; |
|
|
protected performance: PortfolioPerformance; |
|
|
|
|
|
protected readonly PerformanceCalculationType = PerformanceCalculationType; |
|
|
protected performanceDataItems: HistoricalDataItem[]; |
|
|
protected performanceDataItems: HistoricalDataItem[]; |
|
|
protected performanceDataItemsInPercentage: HistoricalDataItem[]; |
|
|
protected performanceDataItemsInPercentage: HistoricalDataItem[]; |
|
|
protected readonly portfolioEvolutionDataLabel = $localize`Investment`; |
|
|
protected readonly portfolioEvolutionDataLabel = $localize`Investment`; |
|
|
|