|
|
@ -11,8 +11,16 @@ |
|
|
|
[daysInMarket]="daysInMarket" |
|
|
|
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart" |
|
|
|
[locale]="user?.settings?.locale" |
|
|
|
[performanceDataItems]="timeWeightedPerformance === 'O' ? [] :performanceDataItemsInPercentage" |
|
|
|
[timeWeightedPerformanceDataItems]="timeWeightedPerformance === 'N' ? [] :performanceDataItemsTimeWeightedInPercentage" |
|
|
|
[performanceDataItems]=" |
|
|
|
timeWeightedPerformance === 'O' |
|
|
|
? [] |
|
|
|
: performanceDataItemsInPercentage |
|
|
|
" |
|
|
|
[timeWeightedPerformanceDataItems]=" |
|
|
|
timeWeightedPerformance === 'N' |
|
|
|
? [] |
|
|
|
: performanceDataItemsTimeWeightedInPercentage |
|
|
|
" |
|
|
|
[user]="user" |
|
|
|
(benchmarkChanged)="onChangeBenchmark($event)" |
|
|
|
></gf-benchmark-comparator> |
|
|
@ -24,7 +32,9 @@ |
|
|
|
<span i18n>Include time-weighted performance </span> |
|
|
|
<gf-toggle |
|
|
|
[defaultValue]="timeWeightedPerformance" |
|
|
|
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart" |
|
|
|
[isLoading]=" |
|
|
|
isLoadingBenchmarkComparator || isLoadingInvestmentChart |
|
|
|
" |
|
|
|
[options]="timeWeightedPerformanceOptions" |
|
|
|
(change)="onTimeWeightedPerformanceChanged($event.value)" |
|
|
|
></gf-toggle> |
|
|
|