Extend investment timeline by month (#1066)
* Extend investment timeline grouped by month * Update changelog
This commit is contained in:
@@ -43,7 +43,7 @@ export function getTooltipPositionerMapTop(
|
||||
chart: Chart,
|
||||
position: TooltipPosition
|
||||
) {
|
||||
if (!position) {
|
||||
if (!position || !chart?.chartArea) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
|
1
libs/common/src/lib/types/group-by.type.ts
Normal file
1
libs/common/src/lib/types/group-by.type.ts
Normal file
@@ -0,0 +1 @@
|
||||
export type GroupBy = 'month';
|
@@ -2,7 +2,8 @@ import type { AccessWithGranteeUser } from './access-with-grantee-user.type';
|
||||
import { AccountWithValue } from './account-with-value.type';
|
||||
import type { DateRange } from './date-range.type';
|
||||
import type { Granularity } from './granularity.type';
|
||||
import { MarketState } from './market-state-type';
|
||||
import { GroupBy } from './group-by.type';
|
||||
import { MarketState } from './market-state.type';
|
||||
import { Market } from './market.type';
|
||||
import type { OrderWithAccount } from './order-with-account.type';
|
||||
import type { RequestWithUser } from './request-with-user.type';
|
||||
@@ -13,6 +14,7 @@ export type {
|
||||
AccountWithValue,
|
||||
DateRange,
|
||||
Granularity,
|
||||
GroupBy,
|
||||
Market,
|
||||
MarketState,
|
||||
OrderWithAccount,
|
||||
|
Reference in New Issue
Block a user