Magidoc

UpdateDashboardWidgetInput
Input Object

Input for updating an existing dashboard widget. Replaces the flat argument list on updateDashboardWidget.

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

_id

ID !
Non-null

Widget ID to update

buttonLabel

Label for button widgets

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

containerId

ID of the container to move the widget to

contentTextAlignment

Alignment of content text

contentTextColorPrimary

Primary color for content text

contentTextColorSecondary

Secondary color for content text

contentTextSize

Size of content text

displayGoalsBy

Display mode for goals

displayGroupsAs

How to display grouped data

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

hideHeader

Whether to hide the widget header

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

portfolioViewId

ID of the portfolio view

projectBudgetCategoryIds

Budget category IDs for project budget widgets

projectBudgetDateRange

[Date !]

Date range for project budget widgets

projectDetailsFields

Fields to show in project details

projectId

ID of associated project

projectTreeLevelsToShow

[Int !]

Which levels of project tree to display

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

slateJson

Rich text content as Slate JSON

sort

Sort order for widget data

timeUnitsType

Time unit for temporal data

title

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

The type of dashboard widget

url

URL for embedded content widgets

workspaceId

ID of workspace this widget belongs to

Usages

#

References

#

  • Argument input of field updateDashboardWidgetV2 from type Mutation