Files
twenty/packages/twenty-front/src/modules/page-layout/widgets/graph/constants/GraphDefaultDateGranularity.constant.ts
T
Raphaël Bosi 875dc1a6b8 Connect the bar chart to the group by resolver (#14885)
Closes https://github.com/twentyhq/core-team-issues/issues/1535

Video QA:


https://github.com/user-attachments/assets/153fa3f1-08d9-4952-9456-635c602e1f57



https://github.com/user-attachments/assets/d3111afb-4c84-4f57-8a56-5cf666748c86

There are still some formatting and design issues (the labels which are
on top of each other and the values which should be formatted) that will
be fixed in a future PR

---------

Co-authored-by: ehconitin <nitinkoche03@gmail.com>
2025-10-09 14:54:33 +02:00

7 lines
295 B
TypeScript

import { ObjectRecordGroupByDateGranularity } from 'twenty-shared/types';
// Default date granularity for grouping date fields in graphs
// TODO: This will be configurable in the graph editor in the future
export const GRAPH_DEFAULT_DATE_GRANULARITY =
ObjectRecordGroupByDateGranularity.DAY;