576019e465
## Description 3 steps depending on the widget width. From bigger to tighter space: - Fully shown horizontal text - Rotated text - Rotated text with skipped ticks to avoid overlapping Also created common files for all constants for bar and pie charts. Since a lot of them are shared, they can be inherited from a common file. ## Video QA https://github.com/user-attachments/assets/fd58d412-1a8b-4bd6-a420-4c03767e98d5
7 lines
295 B
TypeScript
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;
|