Magidoc

CreateDashboardWidgetInput
Input Object

Input for creating a new dashboard widget. Replaces the flat argument list on createDashboardWidget.

Fields

#

XAxis

Field to use for X-axis

XAxisCustomFieldId

Custom field ID for X-axis

XAxisTitle

Title for X-axis

YAxis

Field to use for Y-axis

YAxisCustomFieldId

Custom field ID for Y-axis

YAxisGroupBy

Field to group Y-axis values by

YAxisTitle

Title for Y-axis

chartType

Type of chart to display

chartValueColors

Color configuration for chart values

chartValuesState

Used to store the state of the chart values (colors, order, etc.)

colorThemeId

Color theme ID

completedDateRange

Date range filter for completed actions

containerId

ID of the container (dashboard or notebook) this widget belongs to

containerType

Type of container this widget belongs to

contentTextAlignment

Alignment of content text

contentTextColorPrimary

Primary color for content text

contentTextColorSecondary

Secondary color for content text

contentTextSize

Size of content text

createdDateRange

Date range filter for created actions

dateRange

General date range filter

displayGroupsAs

How to display grouped data

dueDatesRange

Date range filter for due dates

fileIds

[ID !]

Array of file IDs associated with this widget

goalId

ID of associated goal

groupByCustomFieldId

Custom field ID for grouping

groupOthers

Configuration for grouping "other" values

ignoreContainerFilter

If true, widget ignores container-level filters

isHidden

Whether widget is hidden

isProjectTreeLevelActive

Whether project tree level is active

legendPosition

Position of the chart legend

noteId

ID of associated note

overdueFilter

Filter for overdue actions

projectBudgetCategoryIds

Budget category IDs for project budget widgets

projectBudgetDateRange

[Date !]

Date range for project budget widgets

projectDateRange

Date range filter for project dates

projectDetailsFields

Fields to show in project details

projectId

ID of associated project

projectStatusDateRange

Date range filter for project status dates

projectTreeLevelsToShow

[Int !]

Which levels of project tree to display

recurringFilter

Filter for recurring actions

reportOn

What type of data to report on

sectionHeaderLinePosition

Position of section header line

sectionHeaderText

Text for section header

sectionHeaderTextAlignment

Alignment of section header text

segmentColorOverrides

Color overrides for chart segments

showColumnTotals

Whether to show column totals

showFlattenedData

Whether to show pivot table in a data mode (flattened)

showLegend

Whether to show chart legend

showLinkedToProject

Whether to show links to related projects

showRowTotals

Whether to show row totals

showTitles

Whether to show titles in the widget

showValueLabels

Whether to show data point values

sort

Sort order for widget data

timeUnitsType

Time unit for temporal data

title

Non-null

Title text to display for the widget

titleColor

Hex color code for the widget title

titleSize

Size of the title text

truncateLongNumbers

Whether to truncate long numbers

type

Non-null

The type of dashboard widget to create

url

URL for embedded content widgets

workspaceId

ID of workspace this widget belongs to

Usages

#

References

#

  • Argument input of field createDashboardWidgetV2 from type Mutation