connect line chart to backend (#15657)
https://github.com/user-attachments/assets/b797c5a8-32a8-4d3e-9fb1-7541d107a19f optimizations: before: https://github.com/user-attachments/assets/bf45a3f1-5f89-40c1-9ce4-c2d912b77d63 after: https://github.com/user-attachments/assets/61bfd603-7b63-4695-8ae8-68fe7d3bfea0
This commit is contained in:
+1
@@ -15,6 +15,7 @@ export const CHART_CONFIGURATION_SETTING_LABELS = {
|
||||
EACH_SLICE_REPRESENTS: msg`Each slice represents`,
|
||||
AXIS_NAME: msg`Axis name`,
|
||||
STACKED_BARS: msg`Stacked bars`,
|
||||
STACKED_LINES: msg`Stacked lines`,
|
||||
OMIT_NULL_VALUES: msg`Omit zero values`,
|
||||
MIN_RANGE: msg`Min range`,
|
||||
MAX_RANGE: msg`Max range`,
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import { CHART_CONFIGURATION_SETTING_LABELS } from '@/command-menu/pages/page-layout/constants/settings/ChartConfigurationSettingLabels';
|
||||
import { CHART_CONFIGURATION_SETTING_IDS } from '@/command-menu/pages/page-layout/types/ChartConfigurationSettingIds';
|
||||
import { type ChartSettingsItem } from '@/command-menu/pages/page-layout/types/ChartSettingsGroup';
|
||||
import { IconStack2 } from 'twenty-ui/display';
|
||||
|
||||
export const STACKED_LINES_SETTING: ChartSettingsItem = {
|
||||
isBoolean: true,
|
||||
Icon: IconStack2,
|
||||
label: CHART_CONFIGURATION_SETTING_LABELS.STACKED_LINES,
|
||||
id: CHART_CONFIGURATION_SETTING_IDS.STACKED_LINES,
|
||||
dependsOn: [CHART_CONFIGURATION_SETTING_IDS.GROUP_BY],
|
||||
};
|
||||
Reference in New Issue
Block a user