DashboardWidgetChart
A chart widget (bar or line) with axis and series configuration
Champs
| Champ | Type | Description |
|---|---|---|
id | ID! | — |
technicalCode | String! | Unique technical identifier (e.g. distributor_aum, advisor_commissions) |
label | String! | Display label (default locale) |
localizedLabel | [LocalizedString]! | Translated labels for all locales |
type | DashboardWidgetType! | Discriminator type (chart, tile, filter, filter_date) |
configJson | String | JSON-encoded configuration (legacy, prefer typed fields on concrete types) |
sortIndex | Int! | Display order within the dashboard |
displayed | Boolean! | Whether the widget is visible on the dashboard |
width | DashboardWidgetWidth! | Layout width within the 4-column dashboard grid |
dashboard | Dashboard! | Parent dashboard this widget belongs to |
dataAlgorithm | Algorithm | Algorithm providing the SQL data query for this widget |
displayedAlgorithm | Algorithm | Algorithm controlling widget visibility (evaluated at runtime) |
createdAt | DateTime! | — |
updatedAt | DateTime! | — |
chartType | DashboardWidgetChartType! | Chart rendering type (bar or line) |
xColumn | String! | SQL column name mapped to the X axis |
xFormat | String! | Display format for X axis values (e.g. month_fr) |
yColumn | String! | SQL column name mapped to the Y axis |
yFormat | String! | Display format for Y axis values (e.g. currency_eur, integer) |
seriesColumn | String | SQL column name used to split data into stacked series |
stackColumn | String | SQL column name for grouped stacked bars (side-by-side column groups) |
groupByColumn | String | SQL column name for advisor-level filtering |
itemsColors | String | JSON-encoded map of series names to hex colors |