Feature/improve performance of chart calculation (#1271)
* Improve performance chart calculation Co-Authored-By: gizmodus <11334553+gizmodus@users.noreply.github.com> * Update changelog Co-Authored-By: gizmodus <11334553+gizmodus@users.noreply.github.com> * Improve chart tooltip of benchmark comparator * Update changelog Co-authored-by: gizmodus <11334553+gizmodus@users.noreply.github.com>
This commit is contained in:
@@ -23,11 +23,7 @@ import {
|
||||
getTextColor,
|
||||
parseDate
|
||||
} from '@ghostfolio/common/helper';
|
||||
import {
|
||||
LineChartItem,
|
||||
UniqueAsset,
|
||||
User
|
||||
} from '@ghostfolio/common/interfaces';
|
||||
import { LineChartItem, User } from '@ghostfolio/common/interfaces';
|
||||
import { DateRange } from '@ghostfolio/common/types';
|
||||
import {
|
||||
Chart,
|
||||
@@ -215,7 +211,7 @@ export class BenchmarkComparatorComponent implements OnChanges, OnDestroy {
|
||||
locale: this.locale,
|
||||
unit: '%'
|
||||
}),
|
||||
mode: 'index',
|
||||
mode: 'x',
|
||||
position: <unknown>'top',
|
||||
xAlign: 'center',
|
||||
yAlign: 'bottom'
|
||||
|
Reference in New Issue
Block a user