Skip to content

The open alternative to Salesforce, designed for AI.

938 B
Raw Blame
import { ChartFieldSelectionForAggregateOperationDropdownContent } from '@/side-panel/pages/page-layout/components/dropdown-content/ChartFieldSelectionForAggregateOperationDropdownContent';
import { CHART_CONFIGURATION_SETTING_LABELS } from '@/side-panel/pages/page-layout/constants/settings/ChartConfigurationSettingLabels';
import { CHART_CONFIGURATION_SETTING_IDS } from '@/side-panel/pages/page-layout/types/ChartConfigurationSettingIds';
import { type ChartSettingsItem } from '@/side-panel/pages/page-layout/types/ChartSettingsGroup';
import { IconAxisY } from 'twenty-ui/icon';

export const DATA_DISPLAY_Y_SETTING: ChartSettingsItem = {
  isBoolean: false,
  Icon: IconAxisY,
  label: CHART_CONFIGURATION_SETTING_LABELS.DATA_ON_DISPLAY_Y,
  id: CHART_CONFIGURATION_SETTING_IDS.DATA_ON_DISPLAY_Y,
  dependsOn: [CHART_CONFIGURATION_SETTING_IDS.SOURCE],
  DropdownContent: ChartFieldSelectionForAggregateOperationDropdownContent,
};